filesystem vs ref-tools-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | ref-tools-mcp by ref-tools | |
|---|---|---|
| Stars | ★ 85,748 | ★ 1,104 |
| 30天用量 | — | — |
| 综合分 | 77 | 54 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具搜索 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
ref-tools-mcp · 概述
Ref MCP 提供高效的 API 文档搜索工具,减少上下文损耗并降低成本。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
ref-tools-mcp · 使用场景
- AI 编码代理搜索 API 文档而不压垮上下文窗口
- 开发团队为多个服务维护最新参考文档
- 通过最小化获取文档时的令牌使用来降低成本
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 中安装。
ref-tools-mcp · 安装
安装选项
流式 HTTP(推荐)
在 Cursor 配置中添加:
"Ref": {
"type": "http",
"url": "https://api.ref.tools/mcp?apiKey=YOUR_API_KEY"
}stdio(传统)
在 Cursor 配置中添加:
"Ref": {
"command": "npx",
"args": ["ref-tools-mcp@latest"],
"env": {
"REF_API_KEY": <注册以获取 API 密钥>
}
}Claude Desktop
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"ref-tools": {
"command": "npx",
"args": ["ref-tools-mcp@latest"]
}
}
}