Filesystem MCP Server (@sylphlab/filesystem-mcp)
@sylphlab
Filesystem MCP Server (@sylphlab/filesystem-mcp) について
📁 Secure, efficient MCP filesystem server - token-saving batch operations with project root confinement
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"filesystem-mcp": {
"command": "npx",
"args": [
"@sylphx/filesystem-mcp"
],
"name": "Filesystem (npx)"
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Filesystem MCP Server (@sylphlab/filesystem-mcp)?
The Filesystem MCP Server provides secure, token‑optimized filesystem operations for AI agents via the Model Context Protocol (MCP). It enables agents like Claude and Cline to read, write, edit, search, and manage project files in batch, confined to a project root directory.
How to use Filesystem MCP Server (@sylphlab/filesystem-mcp)?
Install via npx, bunx, Docker, or local build, then configure it in your MCP host (e.g., Cline, VSCode) using the provided JSON snippets. The server uses its current working directory as the security boundary. Once configured, agents can invoke tools such as read_content, write_content, edit_file, and others.
Key features of Filesystem MCP Server (@sylphlab/filesystem-mcp)
- Project root confinement prevents path traversal
- Batch processing (10+ files per request) reduces token usage
- Direct API calls eliminate shell spawning overhead
- Zod schema validation for all tool arguments
- 14 tools: file, directory, management, and permission operations
- Per‑item success/failure reporting in batch results
Use cases of Filesystem MCP Server (@sylphlab/filesystem-mcp)
- AI agents reading and editing multiple project files in one request
- Code assistants refactoring across a codebase with batch search‑replace
- Automating project setup, file generation, and directory creation
- Securely managing permissions and ownership within a project root
FAQ from Filesystem MCP Server (@sylphlab/filesystem-mcp)
How does project root confinement work?
All operations are restricted to the current working directory (cwd) at launch. Path traversal attempts are prevented, so agents cannot access files outside that directory.
What batch operations are supported?
Most tools support batch processing, including read_content, write_content, edit_file, search_files, replace_content, stat_items, create_directories, delete_items, move_items, copy_items, chmod_items, and chown_items.
What are the runtime requirements?
The server runs on Node.js or Bun, uses TypeScript in strict mode, and can be installed via npm or Docker. For development, pnpm is the package manager.
How does this server compare to using shell commands?
It offers better security (root confinement), higher token efficiency (batching), lower latency (direct API vs. shell spawn), and detailed per‑item error reporting.
Where is data stored and how is it transmitted?
Data resides on the local filesystem within the project root. Communication follows the MCP standard over stdio; no external network calls are made for filesystem operations.
「ファイルとストレージ」の他のコンテンツ
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 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.
Claude Document MCP Server
alejandroBallesterosCA lightweight MCP server for processing, editing, and interacting with PDF, Word, Excel, and CSV documents.
PDF Extraction MCP Server (Claude Code Fork)
xraywuMCP server to extract contents from a PDF file
PDF Reader MCP Server (@shtse8/pdf-reader-mcp)
shtse8📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
コメント