MCP Filesystem Server

MCP Filesystem Server

philgei

File Systems
Visit Server

README

MCP Filesystem Server

DISCLAIMER: This is an unofficial port of Claude's filesystem MCP server implementation, created solely as a Proof of Concept (POC). This project is not affiliated with Anthropic and should not be used in production environments. It was created to demonstrate and explore MCP server functionality.

The original implementation and concept were demonstrated by Claude (Anthropic) during interactive sessions. This port serves educational purposes only.

Quick Start

  1. Install using UVX:
uv venv
.venv\Scripts\activate  # On Windows
uv pip install -e .

Usage with Claude Desktop

  1. Edit your claude_desktop_config.json:
{
  "mcpServers": {
    "myFiles": {
      "command": "mcp-server-filesystem",
      "args": [
        "D:/"  // Replace with your desired directory
      ]
    }
  }
}

You can add multiple directories:

{
  "mcpServers": {
    "myFiles": {
      "command": "mcp-server-filesystem",
      "args": [
        "D:/",
        "C:/Users/YourUsername/Documents",
        "~/Desktop"
      ]
    }
  }
}
  1. Restart Claude Desktop to apply changes

  2. In Claude Desktop:

    • Click the paperclip icon
    • Select the MCP menu (two electrical plugs connecting)
    • Your filesystem server will be available in the integrations

Security Note

Only directories specified in the args array will be accessible. The server enforces strict path validation to prevent access outside allowed directories.

Troubleshooting

  1. Command not found:

    • Make sure the package is installed (uv pip list)
    • Check your Python environment is activated
  2. Access denied:

    • Verify the directories in args exist
    • Ensure you have read permissions for specified directories
  3. Server not showing in Claude Desktop:

    • Check your config file syntax
    • Restart Claude Desktop after config changes

Recommended Servers

Excel MCP Server

Excel MCP Server

A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.

Featured
Local
Go
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
Crawlab MCP Server

Crawlab MCP Server

Official
Python
Edit File Lines MCP Server

Edit File Lines MCP Server

A TypeScript-based MCP server that provides tools for making precise line-based edits to text files within allowed directories.

Local
TypeScript
MCP Excel Reader

MCP Excel Reader

Provides efficient handling of large Excel files through automatic chunking and pagination, using MCP to enable seamless file reading and management features such as sheet selection and error handling.

Local
JavaScript
MD Webcrawl MCP

MD Webcrawl MCP

A Python-based MCP server that crawls websites to extract and save content as markdown files, with features for mapping website structure and links.

Local
Python
mcp-server-code-assist

mcp-server-code-assist

A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.

Local
Python
mcp-editor

mcp-editor

A TypeScript MCP server port of Anthropic's filesystem editing tools, allowing file manipulation via client-approved operations without automated writes to prevent system harm.

Local
TypeScript
Terminal Controller for MCP

Terminal Controller for MCP

An MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.

Local
Python
Obsidian MCP REST Server

Obsidian MCP REST Server

Provides a standardized interface for AI assistants to interact with Obsidian vaults through a local REST API, enabling reading, writing, searching, and managing notes.

Local
TypeScript