mcp-file-context-server vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-file-context-server by bsmi021 | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 36 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 43 | 77 |
| 官方 | — | ✓ |
| 分类 | 本地文件系统开发者工具AI / LLM 工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 10 个月前 | 本月 |
mcp-file-context-server · 概述
功能强大的 MCP 服务器,为 LLM 提供文件系统上下文,具有高级缓存和代码分析功能。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-file-context-server · 使用场景
- 在由 LLM 驱动的开发环境中进行代码审查和分析
- 理解复杂项目的文件结构和依赖关系
- 通过自动缓存更新实现实时代码监控
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-file-context-server · 安装
通过 Smithery 安装
npx -y @smithery/cli install @bsmi021/mcp-file-context-server --client claude手动安装
npm install @modelcontextprotocol/file-context-serverClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"file-context": {
"command": "npx",
"args": ["file-context-server"]
}
}
}filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。