MCP Filesystem Server
philgei
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
- Install using UVX:
uv venv
.venv\Scripts\activate # On Windows
uv pip install -e .
Usage with Claude Desktop
- 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"
]
}
}
}
-
Restart Claude Desktop to apply changes
-
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
-
Command not found:
- Make sure the package is installed (
uv pip list) - Check your Python environment is activated
- Make sure the package is installed (
-
Access denied:
- Verify the directories in
argsexist - Ensure you have read permissions for specified directories
- Verify the directories in
-
Server not showing in Claude Desktop:
- Check your config file syntax
- Restart Claude Desktop after config changes
Recommended Servers
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.
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.
Crawlab MCP Server
Project Content Server
An MCP server that provides access to project files and their contents, allowing users to retrieve file data from specified project directories with error handling and configuration options.
EverArt Forge MCP Server
An advanced MCP server for Cline that leverages EverArt's AI models to generate vector and raster images, supporting flexible storage, multiple formats, and robust image generation capabilities.
Markdown Downloader
An MCP server that enables users to download webpages as markdown files using r.jina.ai service, with features for configurable download directories and automatic date-stamped filenames.
Google Drive MCP Server
Integrates with Google Drive to enable listing, searching, and reading files, plus reading and writing to Google Sheets.
File Operations MCP Server
A Model Context Protocol server that enables enhanced file system operations including reading, writing, copying, moving files with streaming capabilities, directory management, file watching, and change tracking.
Obsidian MCP Server
Enables interaction between LLMs and Obsidian vaults through the Model Context Protocol, supporting secure file operations, content management, and advanced search capabilities.
Filesystem MCP Server
An MCP server that allows Claude AI to perform filesystem operations including reading, writing, listing, moving files, and searching directories within specified allowed paths.