Filesystem MCP Server
A server for performing filesystem operations such as reading/writing files, managing directories, and searching.
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",
"<YOUR_PROJECT_PATH>"
],
"env": {},
"url": null,
"headers": null
}
}
}
3. Replace <YOUR_PROJECT_PATH> 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.
Похожие серверы
Android Filesystem
Securely browse and read files within an Android project, with built-in validation and access controls for sensitive directories.
MCP Excel Reader
Read large Excel files with automatic chunking and pagination support.
awaBerry device as a service
awaBerry Agentic allows for secure remote access to any terminal based device for workflows allowing any Agent and Large Language Model based routine to execute commands on your devices for getting access to required data - and to also write genrated data back.
Smart Photo Journal MCP Server
Create a memory journal from your local photos in the macOS Photos library.
Readonly Filesystem MCP Server
Provides read-only access to local files and directories.
Image Compression
A high-performance microservice for compressing images. Supports JPEG, PNG, WebP, and AVIF formats with smart compression and batch processing.
FTP Access
Provides access to an FTP server for file operations.
Cursor MCP File Organizer
Organize files in your Downloads folder using Cursor IDE with customizable rules.
peekaboo-mcp
A minimal MCP server providing read-only access to the file system.
File Merger
A simple utility to combine multiple files into a single file.