Filesystem MCP Server
@lxiaolong068
关于 Filesystem MCP Server
暂无概览
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"path/to/filesystem-server/build/index.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Filesystem MCP Server?
A Model Context Protocol (MCP) server that provides file system operations, analysis, and manipulation capabilities through a standardized tool interface. It is designed for applications needing to interact with the local file system programmatically.
How to use Filesystem MCP Server?
Clone the repository, install dependencies (npm install --save @modelcontextprotocol/sdk chardet mime-types archiver extract-zip file-type), build with npm run build, then configure MCP settings in cline_mcp_settings.json with the node command pointing to the built index.js file.
Key features of Filesystem MCP Server
- Directory listing with metadata (recursive)
- File read, write, and append with encoding support
- Text analysis (line, word, character counts, encoding)
- File hashing (MD5, SHA1, SHA256, SHA512)
- Duplicate file detection
- ZIP creation and extraction
Use cases of Filesystem MCP Server
- Automating file and directory management in scripts
- Analyzing text file properties and encoding
- Detecting duplicate files in large directories
- Compressing or extracting archives programmatically
- Building MCP hosts that require file system access
FAQ from Filesystem MCP Server
What dependencies does it require?
@modelcontextprotocol/sdk, chardet, mime-types, archiver, extract-zip, file-type, crypto-js, and iconv-lite for core operations.
How is the server configured?
It is configured via MCP settings (e.g., cline_mcp_settings.json) with the command set to node and args pointing to the built index.js file.
What error codes does it use?
Standard MCP error codes: ParseError (-32700), InvalidRequest (-32600), MethodNotFound (-32601), InvalidParams (-32602), InternalError (-32603). Error responses include code, message, and optional context.
Can it handle different file encodings?
Yes — read, write, and append operations support an optional encoding parameter (default UTF-8), and encoding detection is provided via the chardet library.
What file operations are supported?
Directory operations (list, create), file operations (read, write, append), analysis (text analysis, hashing, duplicate detection), and compression (create ZIP, extract ZIP).
文件与存储 分类下的更多 MCP 服务器
mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
Mcp Google Sheets
xing5This MCP server integrates with your Google Drive and Google Sheets, to enable creating and modifying spreadsheets.
Filesystem
chrisdocManage your Hevy workouts, routines, folders, and exercise templates. Create and update sessions faster, organize plans, and search exercises to build workouts quickly. Stay synced with changes so your training log is always up to date.
S3 MCP Server
samuraikunMCP server to integrate AWS S3 and LLM
MCP File System Server
MarcusJellinghausMCP Workspace Server: A secure Model Context Protocol server providing file, git, and GitHub tools for AI assistants within a sandboxed project directory.
评论