Filesystem MCP Server
Node.js server implementing Model Context Protocol (MCP) for filesystem operations.
Features
- Read/write files
- Create/list/delete directories
- Move files/directories
- Search files
- Get file metadata
Note: The server will only allow operations within directories specified via
args.API
Resources
file://system: File system operations interface
Tools
- read_file
- read_multiple_files
- write_file
- edit_file
- create_directory
- list_directory
- move_file
- search_files
- get_file_info
- list_allowed_directories
Usage with Claude Desktop
Add this to your
claude_desktop_config.json:Note: you can provide sandboxed directories to the server by mounting them to
/projects. Adding the ro flag will make the directory readonly by the server.Docker
Note: all directories must be mounted to
/projects by default.NPX
Build
Docker build:
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Filesystem MCP Server
Node.js server implementing Model Context Protocol (MCP) for filesystem operations.
Features
- Read/write files
- Create/list/delete directories
- Move files/directories
- Search files
- Get file metadata
Note: The server will only allow operations within directories specified via
args.API
Resources
file://system: File system operations interface
Tools
- read_file
- read_multiple_files
- write_file
- edit_file
- create_directory
- list_directory
- move_file
- search_files
- get_file_info
- list_allowed_directories
Usage with Claude Desktop
Add this to your
claude_desktop_config.json:Note: you can provide sandboxed directories to the server by mounting them to
/projects. Adding the ro flag will make the directory readonly by the server.Docker
Note: all directories must be mounted to
/projects by default.NPX
Build
Docker build:
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.