CereBro
by rob1997·★ 17·Score 34
A .NET MCP client-server implementation for AI models, currently supporting OpenAI with plans for other models.
Overview
CereBro is a .NET-based MCP server that allows developers to integrate AI capabilities into their applications using the Model Context Protocol. It provides a model-agnostic wrapper, enabling the creation of tools that work across different AI models without code changes. The project is built on the official C# SDK for MCP and offers both console and Unity implementations.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose CereBro if you're building .NET applications or Unity games that need MCP integration and want a model-agnostic approach to AI tool calling.
When NOT to choose this
Avoid CereBro if you need simultaneous multi-model support or are working outside the .NET/Unity ecosystem where it would require significant adaptation.
Comparable tools
Installation
Installation
- Install CereBro via NuGet:
dotnet add package Rob1997.CereBro
dotnet add package Rob1997.CereBro.Open-AI- Create a
servers.jsonfile with MCP server configuration:
[
{
"Id": "everything-server",
"Name": "Everything",
"TransportType": "stdio",
"TransportOptions": {
"command": "npx",
"arguments": "-y @modelcontextprotocol/server-everything"
}
}
]- Add your OpenAI API key to environment variables
- Configure in 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();FAQ
- What models does CereBro support?
- Currently CereBro supports OpenAI models with planned support for Claude, Grok, DeepSeek, Gemini, and Ollama.
- Can I use multiple models simultaneously?
- No, currently CereBro doesn't support multiple models at the same time. You'll need to remove the UseOpenAI method to use another model.
Compare CereBro with
Last updated · Auto-generated from public README + GitHub signals.