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
Release files for bonito-mcp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bonito_mcp-1.0.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bonito_mcp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / bonito_mcp-1.0.0.tar.gz
| Download URL | bonito_mcp-1.0.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e942fd8d3056d1c053d5f72cffa546e5d0cdc55e8cc5025b97fca6425ef83156
|
|
BLAKE2b-256 checksum How to use checksums |
dc51ad741c5662b7c7d6aadd50e634bc107b4e43f28541e6f470869f1ae91a51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / bonito_mcp-1.0.0-py3-none-any.whl
| Download URL | bonito_mcp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ab1646d1cd220352157ff5841518aceb8aa279376f6636be0b1f5a2f16d40ad6
|
|
BLAKE2b-256 checksum How to use checksums |
5fc1a823fb53e44a2aaf1f2f04fc2532135a37bcd862264c5a0c7706175a2be8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|