filesystem-mcp
Public repository for FileSystem MCP, Fork of @modelcontextprotocol/server-filesystem
Documentation
Filesystem MCP
A Model Context Protocol (MCP) server that provides secure filesystem access to AI assistants in Code Maestro Desktop.
What it does
This MCP server allows AI assistants to:
- Read and write files
- Create and navigate directories
- Search for files
- Edit existing files with precision
- And more filesystem operations
All operations are restricted to the directories you explicitly allow.
Why This Fork?
We forked the original `@modelcontextprotocol/server-filesystem` to make it more efficient for AI assistants. The original package could return extremely large outputs that waste tokens and overwhelm language models.
Our improvements:
- Smart file reading limits - Prevents reading gigantic files in full
- Directory listing caps - Returns manageable results even in folders with thousands of files
- Depth-limited tree traversal - Avoids getting lost in deep folder structures
- Optimized search results - Returns relevant matches without flooding the output
- Skip large folders - Automatically bypasses `node_modules`, `.git`, and similar directories
These changes ensure your AI assistant gets the information it needs without drowning in unnecessary data.
Quick Start
1. Open CM Desktop and click connectors
2. Click "Add" and paste the following JSON:
{
"mcpServers": {
"Code Maestro - Filesystem MCP": {
"transport": "stdio",
"enabled": true,
"command": "npx",
"args": [
"github:codemaestroai/filesystem-mcp",
""
],
"env": {},
"url": null,
"headers": null
}
}
}3. Replace `` with the actual path to your project directory
Example paths:
- Windows: `"C:\\Users\\YourName\\Projects\\my-project"`
- macOS/Linux: `"/home/username/projects/my-project"`
You can specify multiple directories:
"args": [
"github:codemaestroai/filesystem-mcp",
"/path/to/project1",
"/path/to/project2"
]Security
- The MCP server can ONLY access directories you explicitly specify
- All file operations are logged
- Attempts to access files outside allowed directories will be rejected
Note: This is a temporary solution. We're working on native file operation support in CM Desktop.
Frequently asked questions
What is filesystem-mcp?
filesystem-mcp is Public repository for FileSystem MCP, Fork of @modelcontextprotocol/server-filesystem
How do I install filesystem-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is filesystem-mcp open source?
Yes — it is hosted on GitHub at https://github.com/codemaestroai/filesystem-mcp and has 2 stars.
Related MCP tools
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
An AI-powered task-management system you can drop into Cursor, Lovable, Windsurf, Roo, and others. Built for the Model Context Protocol to enhance AI capabiliti
Fay是一个帮助数字人(2.5d、3d、移动、pc、网页)或大语言模型(openai兼容、deepseek)连通业务系统的mcp框架。 JavaScript-based implementation. Trusted by 12000+ developers.
CTTF: MCP integration between Cursor and Figma, allowing Cursor Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
This is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP