MCP Filesystem Server
@Spark-Liang
MCP Filesystem Server について
概要はまだありません
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-filesystem-server-spark-liang": {
"command": "uv",
"args": [
"sync"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Filesystem Server?
MCP Filesystem Server is a filesystem server built on the Model Context Protocol (MCP) using Python and FastMCP. It provides secure, controlled access to the local filesystem through a set of tools and resources, making file operations available to MCP-compatible clients like Claude Desktop.
How to use MCP Filesystem Server?
Install with uv sync or pip install -e .. Run with the command mcp-filesystem-server (default stdio mode). Use --allowed-dir (or -d) to specify which directories the server can access. For HTTP or SSE modes, add http or sse and optionally set --port and --host.
Key features of MCP Filesystem Server
- Secure access control: only allowed directories are accessible
- Complete file operations: read, write, create, move, search
- 12 MCP tools for file and image handling
- File and directory resources via MCP resource protocol
- Supports stdio, HTTP, and SSE transport modes
- Full test coverage and path traversal prevention
Use cases of MCP Filesystem Server
- Integrate with Claude Desktop to read and write files in a workspace
- Build a secure file server for MCP‑aware applications
- Expose directory listings and file contents to remote clients via HTTP/SSE
- Automate file editing and searching inside restricted folders
- Provide a controlled file system interface for AI assistants
FAQ from MCP Filesystem Server
What does MCP Filesystem Server do?
It exposes local filesystem operations (read, write, create, move, search) through the MCP protocol, with strict access control to only allowed directories.
What are the runtime requirements?
Python 3.10 or higher. Installation is recommended via uv, but pip works as well.
How do I restrict which directories the server can access?
Use the --allowed-dir (or -d) option when starting the server. You can specify multiple directories. The server will refuse any operation outside these paths.
Can I run MCP Filesystem Server over HTTP or SSE?
Yes. Run mcp-filesystem-server http --port 8080 --allowed-dir /path for HTTP, or mcp-filesystem-server sse --host 0.0.0.0 --port 3000 for Server‑Sent Events.
Is MCP Filesystem Server secure?
Yes. It performs path validation to prevent directory traversal attacks, checks permissions on every operation, and provides safe error messages that do not leak system information.
よくある質問
What does MCP Filesystem Server do?
It exposes local filesystem operations (read, write, create, move, search) through the MCP protocol, with strict access control to only allowed directories.
What are the runtime requirements?
Python 3.10 or higher. Installation is recommended via `uv`, but pip works as well.
How do I restrict which directories the server can access?
Use the `--allowed-dir` (or `-d`) option when starting the server. You can specify multiple directories. The server will refuse any operation outside these paths.
Can I run MCP Filesystem Server over HTTP or SSE?
Yes. Run `mcp-filesystem-server http --port 8080 --allowed-dir /path` for HTTP, or `mcp-filesystem-server sse --host 0.0.0.0 --port 3000` for Server‑Sent Events.
Is MCP Filesystem Server secure?
Yes. It performs path validation to prevent directory traversal attacks, checks permissions on every operation, and provides safe error messages that do not leak system information.
基本情報
「ファイルとストレージ」の他のコンテンツ
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.
File Context Server
bsmi021A Model Context Protocol (MCP) server that provides file system context to Large Language Models (LLMs). This server enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.
Filesystem MCP Server (@sylphlab/filesystem-mcp)
sylphlab📁 Secure, efficient MCP filesystem server - token-saving batch operations with project root confinement
Rust MCP Filesystem
rust-mcp-stackBlazing-fast, asynchronous MCP server for seamless filesystem operations.
コメント