bifrost-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bifrost-mcpcreate a virtual key for the staging team with a $50 monthly budget"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bifrost-mcp
An MCP (Model Context Protocol) server for managing a Bifrost LLM gateway's admin API — governance (virtual keys, teams, customers, budgets), provider configuration, routing rules, model/pricing config, request-log observability, and core gateway config.
This is not the MCP-gateway feature built into Bifrost itself (routing MCP tool calls to LLMs). It's the other direction: it lets an MCP client (Claude Code, Codex, etc.) administer your Bifrost instance — create a virtual key for a new environment, set budgets, add provider API keys, and so on — without leaving your agent session.
Setup
npm install
npm run buildAuthentication
Bifrost's /api/* management endpoints accept a Bearer token that is either:
a session token from
POST /api/session/login, orbase64("admin_username:admin_password")— the same admin account you create once viaBIFROST_SETUP_TOKENwhen you first set up the instance.
Set one of these in your environment:
Variable | Description |
| Base URL of your Bifrost instance, e.g. |
| Admin credentials created in the Bifrost dashboard. |
| A pre-obtained Bearer token, if you have one, instead of the two above. |
Related MCP server: Logto MCP Server
Usage with an MCP client
Add it to your client's MCP config, e.g. .mcp.json for Claude Code:
{
"mcpServers": {
"bifrost": {
"command": "node",
"args": ["/path/to/bifrost-mcp/dist/index.js"],
"env": {
"BIFROST_URL": "https://bf.example.com",
"BIFROST_ADMIN_USERNAME": "admin",
"BIFROST_ADMIN_PASSWORD": "your-admin-password"
}
}
}
}Tools
Virtual keys — bifrost_list_virtual_keys, bifrost_get_virtual_key, bifrost_create_virtual_key,
bifrost_update_virtual_key, bifrost_delete_virtual_key, bifrost_rotate_virtual_key,
bifrost_get_virtual_key_quota
Teams — bifrost_list_teams, bifrost_get_team, bifrost_create_team, bifrost_update_team,
bifrost_delete_team
Customers — bifrost_list_customers, bifrost_get_customer, bifrost_create_customer,
bifrost_update_customer, bifrost_delete_customer
Providers — bifrost_list_providers, bifrost_get_provider, bifrost_add_provider,
bifrost_delete_provider, bifrost_list_provider_keys, bifrost_add_provider_key,
bifrost_delete_provider_key
Routing rules — bifrost_list_routing_rules, bifrost_get_routing_rule,
bifrost_create_routing_rule, bifrost_update_routing_rule, bifrost_delete_routing_rule,
bifrost_get_complexity_analyzer_config, bifrost_update_complexity_analyzer_config
Budgets & rate limits (read-only aggregate views; create/update happens on the owning
virtual key/team/customer/model-config) — bifrost_list_budgets, bifrost_list_rate_limits
Model configs (per-model budget/rate-limit overrides) — bifrost_list_model_configs,
bifrost_get_model_config, bifrost_create_model_config, bifrost_update_model_config,
bifrost_delete_model_config
Pricing overrides — bifrost_list_pricing_overrides, bifrost_create_pricing_override,
bifrost_update_pricing_override, bifrost_delete_pricing_override, bifrost_force_sync_pricing
Model catalog — bifrost_list_models, bifrost_list_base_models, bifrost_get_model_details,
bifrost_get_model_parameters
Observability — bifrost_list_request_logs, bifrost_get_request_log, bifrost_get_log_stats,
bifrost_get_log_dashboard, bifrost_get_log_histogram, bifrost_get_log_rankings
Gateway config — bifrost_get_config, bifrost_update_config, bifrost_get_proxy_config,
bifrost_update_proxy_config, bifrost_get_version, bifrost_list_notifications,
bifrost_clear_cache_entry, bifrost_clear_cache
This covers Bifrost's governance hierarchy (Customer → Team → Virtual Key → Provider Config),
provider/key management, routing rules, model/pricing config, request-log observability, and core
gateway config. Not covered, because these are Enterprise-only features not present in the
open-source build: RBAC, access-profiles, business units, audit-log export, the legacy /api/teams
/api/users /api/roles /api/access-profiles /api/audit-logs /api/business-units paths (all
superseded by /api/governance/* anyway). Also not covered: Bifrost's own MCP-gateway feature
(/api/mcp/*, /api/mcp-logs/* — routing MCP tool calls to LLMs, unrelated to administering
Bifrost itself), webhooks, plugins, circuit-breaker policies, prompt-repo, and skills. Open an issue
or PR if you need any of these.
Development
npm run dev # run directly with tsx, no build step
npm run lintLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Governed MCP gateway: one endpoint for your tools, with credential custody and audit log.
MCP Gateway: wrap any MCP server with cold-start retries, uptime SLA, and per-execution MPP billing.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Connect MCP clients to 2,000+ AI models without managing provider API keys.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server for the LiteLLM proxy, enabling agents to administer resources like keys, teams, users, models, and proxy settings through risk-graded meta-tools.6MIT
- FlicenseBqualityAmaintenanceEnables managing Logto resources (users, applications, organizations, roles) via MCP clients like Cursor or Claude Desktop.261
- AlicenseBqualityCmaintenanceMCP server for OpenRouter's management API, enabling programmatic control of credits, inference keys, guardrails, and usage analytics from MCP-compatible clients.1685MIT
- AlicenseAqualityAmaintenanceEnables MCP-capable clients to inspect and manage Keycloak realms, users, clients, roles, and groups with layered security modes, realm allowlisting, protected realms, delete gating, dry-run, and audit logging.83661MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ammahmoudi/bifrost-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server