filesystem vs subcog
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | subcog by zircote | |
|---|---|---|
| Stars | ★ 85,748 | ★ 22 |
| 30天用量 | — | — |
| 综合分 | 77 | 45 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | AI / LLM 工具开发者工具知识库 / RAG |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
subcog · 概述
AI 编程助手的持久化记忆系统,支持 MCP 集成、混合搜索和知识图谱功能。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
subcog · 使用场景
- 通过持久化记忆过去的决策和解决方案来增强 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 中安装。
subcog · 安装
Subcog 可以通过多种方式安装:
# Cargo (推荐 Rust 开发者使用)
cargo install subcog
# Homebrew (macOS/Linux)
brew install zircote/tap/subcog
# Docker
docker run --rm ghcr.io/zircote/subcog --help
# 二进制文件下载
curl -LO https://github.com/zircote/subcog/releases/latest/download/subcog-VERSION-TARGET.tar.gz
# npm/npx (备用方案)
npx @zircote/subcog --help要作为 MCP 服务器使用,添加到 Claude Desktop 的 claude_desktop_config.json:
{
"mcpServers": {
"subcog": {
"command": "subcog",
"args": ["serve"]
}
}
}