文件系统 MCP 服务器:让 AI 助手读取和编辑本地文件
用于本地文件和 NAS 存储的 MCP 服务器,以及如何把访问范围限制在你指定的文件夹。
本地文件系统
- Filesystem (official) (官方参考服务器 · 最近推送:2026-10-13)
Secure file operations with configurable access controls. - rust-mcp-filesystem (180 个 GitHub 星标 · Rust · 最近推送:2026-08-29)
Blazing-fast, asynchronous MCP server for seamless filesystem operations.
网络存储
- mcp-server-synology (228 个 GitHub 星标 · Python · 最近推送:2026-10-13)
💾 Model Context Protocol (MCP) server for Synology NAS - Enables AI assistants (Claude, Cursor, Continue) to manage files, downloads, and system operations through secure API integration. Features Docker deployment, auto-authentication, and comprehensive file system tools.
把访问限制在指定文件夹
官方 Filesystem 服务器只会在作为参数传入的目录中工作。请传入一个项目文件夹,而不是整个主目录:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}如需更多路径,追加参数即可。各客户端设置:Claude Desktop · Cursor · Windsurf
关于本列表
数据来源:公开的 GitHub 仓库,更新于 2026-10-15。星标数每天都在变化。收录并不代表经过安全审查,安装前请阅读我们的安全检查清单。