filesystem vs compass
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | compass by raystack | |
|---|---|---|
| Stars | ★ 85,748 | ★ 67 |
| 30天用量 | — | — |
| 综合分 | 77 | 46 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 知识库 / RAGAI / LLM 工具开发者工具 |
| 实现语言 | TypeScript | Go |
| 最近提交 | 本月 | 1 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
compass · 概述
Compass 是一个知识图谱上下文引擎,为 AI 代理提供 MCP 工具来搜索和组织元数据。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
compass · 使用场景
- AI 代理发现组织元数据和系统关系
- 对关键系统进行变更时的影响分析
- 围绕实体构建完整理解的上下文
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 中安装。
compass · 安装
在 macOS、Windows、Linux 或 Docker 上安装 Compass:
# macOS
brew install raystack/tap/compass
# Linux (Debian)
sudo dpkg -i compass_*.deb
# Docker
docker pull raystack/compass:latest在 .mcp.json 中配置 MCP 服务器:
{
"mcpServers": {
"compass": {
"type": "sse",
"url": "http://localhost:8080/mcp"
}
}
}使用以下命令启动服务器:
compass config init
compass server migrate
compass server start