filesystem vs CereBro
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | CereBro by rob1997 | |
|---|---|---|
| Stars | ★ 85,748 | ★ 17 |
| 30天用量 | — | — |
| 综合分 | 77 | 34 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | AI / LLM 工具开发者工具其它 |
| 实现语言 | TypeScript | C# |
| 最近提交 | 本月 | 14 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
CereBro · 概述
.NET 平台的 MCP 客户端-服务器实现,目前支持 OpenAI,计划支持更多模型。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
CereBro · 使用场景
- 将 AI 聊天功能集成到 .NET 应用程序中
- 为 Unity 游戏构建自定义 AI 工具
- 在 .NET 环境中创建模型无关的 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 中安装。
CereBro · 安装
安装
- 通过 NuGet 安装 CereBro:
dotnet add package Rob1997.CereBro
dotnet add package Rob1997.CereBro.Open-AI- 创建包含 MCP 服务器配置的
servers.json文件:
[
{
"Id": "everything-server",
"Name": "Everything",
"TransportType": "stdio",
"TransportOptions": {
"command": "npx",
"arguments": "-y @modelcontextprotocol/server-everything"
}
}
]- 将您的 OpenAI API 密钥添加到环境变量中
- 在 Program.cs 中配置:
var builder = Host.CreateApplicationBuilder(args);
builder.Services.UseOpenAI(Environment.GetEnvironmentVariable("OPEN_AI_API_KEY"), "gpt-4o-mini");
IHost cereBro = builder.BuildCereBro(new CereBroConfig{ ServersFilePath = "./servers.json" });
await cereBro.RunAsync();