filesystem vs toolhive-registry-server
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | toolhive-registry-server by stacklok | |
|---|---|---|
| Stars | ★ 85,748 | ★ 16 |
| 30天用量 | — | — |
| 综合分 | 77 | 42 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 运维基建开发者工具安全 |
| 实现语言 | TypeScript | Go |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
toolhive-registry-server · 概述
ToolHive 注册服务器用于发现、管控和组织内 MCP 服务器与技能的访问权限。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
toolhive-registry-server · 使用场景
- 在拥有多个团队的大型组织中集中管理 MCP 服务器
- 从公共注册表和内部源聚合 MCP 服务器,实现统一的访问控制
- 根据不同团队的角色和需求,提供相同的 MCP 服务器的不同视图
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 中安装。
toolhive-registry-server · 安装
安装
前提条件
- Go 1.26 或更高版本(用于从源码构建)
- Task(用于构建自动化)
- PostgreSQL 16+
从源码构建
task build运行
# 使用 Git 源运行
thv-registry-api serve --config examples/config-git.yaml
# 使用本地文件运行
thv-registry-api serve --config examples/config-file.yamlDocker
task docker-upClaude Desktop 集成
添加到 Claude Desktop 配置:
{
"mcpServers": {
"toolhive": {
"command": "thv-registry-api",
"args": ["serve", "--config", "path/to/config.yaml"]
}
}
}