About MCP Filesystem Server
An unofficial port of Claude's filesystem MCP server, intended as an educational proof of concept rather than for production. It gives clients access to configured directories and validates paths against those allowed locations.
Key features
- 01Access configured directories
- 02Configure multiple directories
- 03Validate paths against allowed locations
Use cases
- 01Demonstrate a filesystem MCP server
- 02Learn basic MCP server usage
MCP support
Exposes filesystem access to configured directories for MCP clients such as Claude Desktop. Path validation prevents access outside the allowed locations.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.