MCP File System
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.
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., "@MCP File System list files in my documents 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.
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: MCP Filesystem Server
Getting Started
Install dependencies:
npm installBuild the project:
npm run buildRun the server with allowed directories:
npm start /path/to/allowed/directory [/path/to/another/directory ...]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
Available Tools
9 toolscreate_directoryD
Inputs: path (required).
get_file_infoD
Inputs: path (required).
list_allowed_directoriesD
Inputs: no named parameters.
list_directoryD
Inputs: path (required).
move_fileD
Inputs: destination (required), source (required).
read_fileD
Inputs: path (required).
read_multiple_filesD
Inputs: paths (required).
search_filesD
Inputs: path (required), pattern (required), excludePatterns.
write_fileD
Inputs: content (required), path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose with no ambiguity. Tools like create_directory, list_directory, read_file, write_file, move_file, and search_files all target specific file system operations without overlap. Even read_file and read_multiple_files are clearly differentiated by single vs. batch operations.
All tools follow a consistent verb_noun pattern using snake_case throughout. Examples include create_directory, list_directory, read_file, write_file, move_file, search_files - this predictable naming makes the toolset easy to navigate and understand.
With 9 tools, this is well-scoped for a file system server. Each tool earns its place by covering essential operations: directory management, file reading/writing, file operations, and searching. The count is neither too sparse nor overwhelming for the domain.
The toolset provides excellent coverage of core file system operations including CRUD-like functionality (create, read, write, move) and directory operations. The only minor gap is the absence of delete operations (delete_file, delete_directory), but agents can work around this limitation for most workflows.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Browse and manage files in your Moxt AI workspace from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.22MIT
- AlicenseAqualityFmaintenanceA 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.2167MIT
- AlicenseAqualityDmaintenanceA 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.1695 npm7MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive filesystem operations (read, write, list, create, delete, move files and directories) through the Model Context Protocol with Streamable HTTP transport and built-in security through configurable root directory restrictions.8Apache 2.0