MCP server for the Bonito AI Platform – manage providers, models, agents, and gateway routing.
Project description
Bonito MCP Server
A Model Context Protocol (MCP) server that wraps the Bonito AI Platform REST API. Use it from Claude Desktop, Cursor, or any MCP-compatible client to manage your multi-provider AI infrastructure.
Features
- Provider Management – Connect and verify AWS Bedrock, Azure OpenAI, GCP Vertex AI, OpenAI, Anthropic, and Groq
- Model Management – List, sync, and activate models across providers
- Unified Gateway – Send chat completions through Bonito's OpenAI-compatible gateway
- Agent Management – Create and execute BonBon and Bonobot agents
- Knowledge Bases – Create and manage knowledge bases
- Cost & Observability – Track costs per provider and view gateway logs
Quick Start
Install from source
git clone https://github.com/ShabariRepo/bonito.git
cd bonito/mcp-server
pip install -e .
Set your API key
export BONITO_API_KEY="your-bonito-api-key"
Run (stdio – for Claude Desktop)
bonito-mcp
Run (SSE – for network clients)
bonito-mcp --transport sse --port 8080
Claude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"bonito": {
"command": "bonito-mcp",
"env": {
"BONITO_API_KEY": "your-bonito-api-key"
}
}
}
}
Docker
docker build -t bonito-mcp .
docker run -e BONITO_API_KEY="your-key" -p 8080:8080 bonito-mcp
Available Tools
| Tool | Description |
|---|---|
list_providers |
List connected AI providers |
connect_provider |
Connect a new provider |
verify_provider |
Verify provider credentials |
list_models |
List models (with filters) |
sync_models |
Sync models from providers |
activate_model |
Activate a model for the gateway |
chat_completion |
Send a chat completion request |
list_gateway_keys |
List gateway API keys |
create_gateway_key |
Create a new gateway key |
gateway_usage |
View usage statistics |
list_agents |
List agents in a project |
create_agent |
Create a BonBon or Bonobot agent |
execute_agent |
Execute an agent |
get_agent |
Get agent details |
list_knowledge_bases |
List knowledge bases |
create_knowledge_base |
Create a knowledge base |
get_costs |
Get cost breakdown by provider |
get_gateway_logs |
View gateway request logs |
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
BONITO_API_KEY |
Yes | – | Your Bonito API key |
BONITO_API_URL |
No | https://api.getbonito.com |
API base URL |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bonito_mcp-1.0.0.tar.gz.
File metadata
- Download URL: bonito_mcp-1.0.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e942fd8d3056d1c053d5f72cffa546e5d0cdc55e8cc5025b97fca6425ef83156
|
|
| MD5 |
447ed1a138e6ec0b9ab2699e2a4275ba
|
|
| BLAKE2b-256 |
dc51ad741c5662b7c7d6aadd50e634bc107b4e43f28541e6f470869f1ae91a51
|
File details
Details for the file bonito_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: bonito_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab1646d1cd220352157ff5841518aceb8aa279376f6636be0b1f5a2f16d40ad6
|
|
| MD5 |
a4c51df0587ff5d16950e6c56bf89d0f
|
|
| BLAKE2b-256 |
5fc1a823fb53e44a2aaf1f2f04fc2532135a37bcd862264c5a0c7706175a2be8
|