Filesystem MCP Server
@MCP-Mirror
关于 Filesystem MCP Server
Mirror of
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Filesystem MCP Server?
A Model Context Protocol (MCP) server implementation providing file system operations, analysis, and manipulation capabilities through a standardized tool interface. It is built on the MCP SDK and organized into layers: server layer, tool registry, operations layer, and file system interface.
How to use Filesystem MCP Server?
Clone the repository, install dependencies with npm install, build the server with npm run build, then configure MCP settings (e.g., in cline_mcp_settings.json) with the command node and the path to the built index.js. The server exposes tools for directory, file, analysis, and compression operations.
Key features of Filesystem MCP Server
- Directory listing with metadata and optional recursion
- File read, write, and append with encoding support
- Text analysis (line, word, character counts)
- File hashing (MD5, SHA1, SHA256, SHA512)
- Duplicate file detection in a directory
- ZIP creation and extraction
Use cases of Filesystem MCP Server
- Managing files and directories programmatically through an MCP client
- Analyzing text files for line/word/character counts and MIME type
- Identifying duplicate files by hash in a directory
- Creating or extracting ZIP archives from within an MCP workflow
- Hashing files to verify integrity or compare contents
FAQ from Filesystem MCP Server
What dependencies does Filesystem MCP Server require?
Core dependencies include @modelcontextprotocol/sdk, file-type, mime-types, crypto-js, archiver, extract-zip, iconv-lite, and chardet. Development dependencies include TypeScript, Jest, ESLint, Prettier, ts-node, and nodemon.
How are errors reported?
Errors use standard MCP error codes (ParseError, InvalidRequest, MethodNotFound, InvalidParams, InternalError) and include a human-readable message with additional context when available.
What file encoding is supported?
The read_file, write_file, and append_file tools accept an optional encoding parameter; the default is 'utf8'.
Can the server work with directories recursively?
Yes, the list_directory tool has a recursive boolean parameter (default false) to list contents recursively, and the create_directory tool can create parent directories (default true).
Does the server support ZIP operations?
Yes, it provides create_zip (creates a ZIP archive from a list of files) and extract_zip (extracts a ZIP archive to an output directory).
文件与存储 分类下的更多 MCP 服务器
PDF Extraction MCP Server (Claude Code Fork)
xraywuMCP server to extract contents from a PDF file
Filesystem MCP Server
cyanheadsA Model Context Protocol (MCP) server for platform-agnostic file capabilities, including advanced search/replace and directory tree traversal
MCP Filesystem Server
mark3labsGo server implementing Model Context Protocol (MCP) for filesystem operations.
Bulk Filesystem Operations MCP Server
strawgateMCP Server for reading many files at the same time
mcp-v8: V8 JavaScript MCP Server
r33drichardsMCP server that exposes a V8 JavaScript runtime as a tool for AI agents like Claude and Cursor. Supports persistent heap snapshots via S3 or local filesystem, and is ready for integration with modern AI development environments.
评论