filesystem vs mcp-center
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | mcp-center by nautilus-ops | |
|---|---|---|
| Stars | ★ 85,748 | ★ 41 |
| 30天用量 | — | — |
| 综合分 | 77 | 42 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 运维基建开发者工具可观测性 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 8 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-center · 概述
MCP Center 是一个集中式代理服务,用于管理和连接多个 MCP 服务器,提供服务发现和身份验证功能。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-center · 使用场景
- 在 Kubernetes 集群中管理多个 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 中安装。
mcp-center · 安装
安装步骤
使用 Docker
# 1. 拉取最新镜像
docker pull nautilusops/mcp-center:latest
# 2. 启动容器
docker run -d \
--name mcp-center \
-p 5432:5432 \
-e MCP_ADMIN_TOKEN=your-custom-token \
-e POSTGRES_HOST=your-postgres-host \
-e POSTGRES_PORT=your-postgres-port \
-e POSTGRES_USERNAME=your-postgres-username \
-e POSTGRES_PASSWORD=your-postgres-password \
-e POSTGRES_DATABASE=your-postgres-database \
nautilusops/mcp-center:latest从源码安装
# 克隆仓库
git clone https://github.com/nautilus-ops/mcp-center.git
cd mcp-center
# 构建项目
cargo build --release
# 设置环境变量
export MCP_ADMIN_TOKEN=your-custom-token
export POSTGRES_HOST=your-postgres-host
export POSTGRES_PORT=your-postgres-port
export POSTGRES_USERNAME=your-postgres-username
export POSTGRES_PASSWORD=your-postgres-password
export POSTGRES_DATABASE=your-postgres-database
# 运行应用程序
./target/release/mcp-center run --config bootstrap.toml