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
Related MCP server: File Operations MCP Server
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