File Manager MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@File Manager MCPfind duplicate files in the Downloads folder"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
šļø File Manager MCP
Open-Source MCP Server for Local File Management
File Manager MCP is an open-source Model Context Protocol (MCP) server that enables AI assistants such as ChatGPT, Cursor, VS Code, Windsurf, and other MCP-compatible clients to perform local filesystem operations through natural language.
Built with FastMCP and Streamable HTTP transport, the server exposes 35 filesystem tools covering file management, directory operations, search, ZIP handling, batch processing, and utility operations.
š Why File Manager MCP?
Instead of manually navigating files and folders, users can interact with their filesystem through AI.
Example
User:
Create a FastAPI project structureAI:
ā Creates folders
ā Creates README.md
ā Creates requirements.txt
ā Creates source filesUser:
Zip the project and move it to backupsAI:
ā Creates ZIP archive
ā Moves archiveEverything runs locally on the user's machine.
Related MCP server: folder-mcp
⨠Features
File Operations
Create files
Read files
Update files
Append content
Delete files
Move files
Copy files
Rename files
Directory Operations
Create directories
Delete directories
Analyze directories
Generate directory trees
Search Services
Recursive file search
Folder search
Metadata inspection
ZIP Operations
Create ZIP archives
Extract ZIP archives
List ZIP contents
Batch Operations
Batch create files
Batch delete files
Batch move files
Batch copy files
Batch rename files
Batch create directories
Batch delete directories
Utility Operations
File hashing
Duplicate detection
File comparison
Directory comparison
Large file discovery
Empty directory cleanup
Temporary file cleanup
š Project Statistics
Metric | Value |
MCP Tools | 35 |
Service Modules | 5 |
Transport | Streamable HTTP |
Framework | FastMCP |
Language | Python |
License | MIT |
šļø Architecture
User
ā
ā¼
MCP Client
(ChatGPT / Cursor / VS Code)
ā
ā¼
File Manager MCP
(FastMCP Server)
ā
āāā File Services
āāā Search Services
āāā Batch Services
āāā ZIP Services
āāā Utility Services
ā
ā¼
Local Filesystemš ļø Technology Stack
Python
FastMCP
Model Context Protocol (MCP)
Streamable HTTP Transport
pathlib
shutil
zipfile
hashlib
logging
š Quick Start
Clone Repository
git clone https://github.com/parthRana26/file-manager-mcp.git
cd file-manager-mcpInstall uv
pip install uvInstall Dependencies
uv syncStart Server
uv run main.pyServer Endpoint:
http://localhost:8000/mcpš Testing with MCP Inspector
Start MCP Inspector:
npx @modelcontextprotocol/inspectorConnect using:
Transport: Streamable HTTP
URL:
http://localhost:8000/mcpVerify that all tools appear successfully.
š Connecting MCP Clients
Use the following endpoint:
http://localhost:8000/mcpExample configuration:
{
"mcpServers": {
"file-manager-mcp": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Works with:
ChatGPT
Cursor
VS Code
Windsurf
MCP Inspector
Custom MCP Clients
š¬ Example Prompts
Create a README.md fileGenerate a FastAPI project structureFind duplicate filesCreate a ZIP archive of my projectCompare two directoriesFind files larger than 500 MBš Project Structure
file-manager-mcp/
āāā main.py
āāā requirements.txt
āāā config.py
āāā README.md
āāā services/
ā āāā file_service.py
ā āāā search_service.py
ā āāā batch_service.py
ā āāā zip_service.py
ā āāā utility_service.py
ā āāā security_service.py
āāā workspace/š Security Notes
This MCP server performs real filesystem operations.
Recommended:
Run locally
Use trusted MCP clients
Review destructive operations before approval
Use project-specific directories
šØāš» Maintainer
Parth Rana
GitHub: https://github.com/parthRana26
LinkedIn: https://linkedin.com/in/parth-rana-profile
š¤ Contributing
Contributions, issues, and feature requests are welcome.
Feel free to fork the repository and submit pull requests.
š License
Licensed under the MIT License.
See LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Securely search and manage workspace context files for AI agents and teams.
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Artifact store for AI agents ā read, write, and search files by path; share by rendered URL.
Search, fetch (with provenance), scan, and convert AI instruction files for agents.
Related MCP Servers
- FlicenseDqualityDmaintenanceEnables AI models to perform file system operations (reading, creating, and listing files) on a local file system through a standardized Model Context Protocol interface.3-
- FlicenseNot gradedqualityDmaintenanceEnables LLMs to securely read, search, and analyze local file systems through the Model Context Protocol. Provides tools for listing files, pattern-based searching, and reading file contents with built-in security validation.6-
- AlicenseAqualityCmaintenanceEnables advanced file system operations such as file read/write, directory management, search, archiving, and file watching through natural language.1610 npm2MIT
- AlicenseNot gradedqualityCmaintenanceProvides file system access and operations, enabling AI assistants to read, write, list, search, and manage files and directories through a standardized interface.1MIT