Provides filesystem operations including file reading/writing, directory management, file movement, renaming, metadata retrieval, and search capabilities within allowed directories.
Leverages Node.js filesystem APIs to enable file system operations with security controls for path validation.
Built using TypeScript to provide type-safe filesystem interactions through the MCP interface.
MCP File System
A Model Context Protocol (MCP) server that provides filesystem operations through a standardized interface.
Features
File operations (read/write)
Directory management (create/list/delete)
File movement and renaming
File metadata retrieval
File search capabilities
Access control through allowed directories
Getting Started
Install dependencies:
Build the project:
Run the server with allowed directories:
Documentation
Server Implementation Details - Learn about the server implementation and recent fixes
See the MCP SDK Documentation for more details about the protocol
Development
The server is built using:
TypeScript
MCP SDK (high-level API)
Node.js filesystem APIs
Security
The server implements path validation to ensure operations only occur within allowed directories specified at startup.
License
ISC
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
A server implementing the Model Context Protocol that provides filesystem operations (read/write, directory management, file movement) through a standardized interface with security controls for allowed directories.
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface.Last updated -4MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables enhanced file system operations including reading, writing, copying, moving files with streaming capabilities, directory management, file watching, and change tracking.Last updated -16MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that provides secure and intelligent interaction with files and filesystems, offering smart context management and token-efficient operations for working with large files and complex directory structures.Last updated -2147MIT License
- AsecurityAlicenseAqualityA secure Model Context Protocol server that provides controlled filesystem access within predefined directories, enabling AI models to perform file and directory operations with strict path validation.Last updated -1667MIT License