filesystem vs context-harness
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | context-harness by parallax-labs | |
|---|---|---|
| Stars | ★ 85,748 | ★ 36 |
| 30天用量 | — | — |
| 综合分 | 77 | 44 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具本地文件系统AI / LLM 工具效率工具 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 3 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
context-harness · 概述
本地优先的上下文摄入与检索框架,使用 SQLite、嵌入技术和 MCP 服务器,为 Cursor 和 Claude 等 AI 工具提供服务。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
context-harness · 使用场景
- 从本地文档和代码仓库构建个人知识库
- 通过 MCP 集成使 AI 助手访问公司文档
- 创建可搜索的 Git 仓库档案,支持自动同步
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 中安装。
context-harness · 安装
安装
**预构建二进制文件**(推荐):
# macOS (Apple Silicon)
curl -L https://github.com/parallax-labs/context-harness/releases/latest/download/ctx-macos-aarch64.tar.gz | tar xz
sudo mv ctx /usr/local/bin/
# Linux (x86_64)
curl -L https://github.com/parallax-labs/context-harness/releases/latest/download/ctx-linux-x86_64.tar.gz | tar xz
sudo mv ctx /usr/local/bin/**Claude Desktop MCP 配置:
添加到 claude_desktop_config.json:
{
"mcpServers": {
"context-harness": {
"url": "http://127.0.0.1:7331/mcp"
}
}
}**启动 MCP 服务器:
ctx serve mcp