Try Bifrost Enterprise free for 14 days.
Request access
[ MCP GATEWAY ]

One MCP Gateway
for Enterprise AI

A single control plane to govern, observe, and secure all your MCP traffic.

[ ENTERPRISE READY: VPC | ON-PREM | AIR-GAPPED ]
Run the gateway locally
npx -y @maximhq/bifrost

[ OVER 1,000+ TEAMS USE BIFROST ]

[ ARCHITECTURE ]

Client and server, in one gateway

Bifrost sits between your agents and your tools, speaking MCP in both directions so policy, credentials, and telemetry live in exactly one place.

MCP clients

Agents
IDE assistants
Chat clients

Bifrost MCP Gateway

Access control

Roles, virtual keys, tool scoping

Authentication

OAuth 2.0 with token refresh

Audit + telemetry

Every tool call recorded

MCP servers

Database MCP
Internal APIs
SaaS MCP servers

One URL for every client. One place to scope tools, authenticate servers, and record what ran.

MCP client

Bifrost connects out to your MCP servers over STDIO, HTTP, or SSE, and keeps their tool catalogs in sync.

MCP server

Point Claude Desktop, an IDE assistant, or your own agent at one Bifrost URL and it discovers every tool it is permitted to use.

Policy plane

Roles, virtual keys, and access profiles decide which tools each caller can see and execute, resolved in memory per request.

[ MCP GATEWAY CAPABILITIES ]

Govern and observe MCP tool calls at scale

Control tool access, authenticate MCP servers, reduce token overhead, and audit every call from one gateway

Govern MCP tool access

  • Enforce role-based tool access synced directly from Okta, Entra, or Keycloak via SSO
  • Scope tool access via virtual keys per user, team, or business unit to observe and control spend
  • Define reusable access profiles that map roles to permitted servers, tools, and actions
View docs →
ACCESS PROFILE
SYNCED · OKTA
ROLEplatform-eng↳ via SSO · Entra
github-mcp
repo.read
ALLOW
github-mcp
pulls.merge
ALLOW
postgres-mcp
query.read
ALLOW
stripe-mcp
charge.create
DENY
filesystem-mcp
fs.delete
DENY
[ ROLE → PERMITTED SERVERS · TOOLS · ACTIONS ]

MCP Authentication and OAuth 2.0 for Every Server

  • Authenticate to upstream MCP servers with OAuth 2.0(server or per-user) with automatic token refresh
  • Execute tools only on explicit approval
  • Enable Agent Mode to auto-approve only the tools you whitelist
View docs →
github-mcp
OAuth 2.0 · serverAUTH
stripe-mcp
OAuth 2.0 · per-userAUTH
postgres-mcp
OAuth 2.0 · serverAUTH
BIFROST
GATEWAY
AUTO-REFRESH
[ OAUTH 2.0 · EXPLICIT APPROVAL · AGENT-MODE WHITELIST ]

Cut MCP token costs with Code Mode

  • Replace 100+ tool definitions with four meta-tools and let the model handle orchestration
  • Save 50%+ on tokens and run 40% faster across large MCP server setups
  • Reduce round trips with on-demand schema loading and sandboxed execution
View docs →
Spend Meter
Live
OPENAI · GPT-4O$620
ANTHROPIC · CLAUDE$410
TEAM · GROWTH$780
78%
of daily cap
NEAR LIMIT

MCP Observability: Audit Every Tool Call

  • Log every tool call with tool name, server, virtual key, latency, and the parent LLM request
  • Maintain immutable, timestamped audit trail for SOC 2 Type II, HIPAA, and GDPR evidence
  • Stream logs, traces, and metrics to your stack via OpenTelemetry export
View docs →
AUDIT TRAIL
STREAMING · OTel
TIMECALL · SERVERVIRTUAL KEYLAT
07.412github-mcp · repo.readvk_eng_7f3a82ms
07.588stripe-mcp · charge.createvk_fin_2b1cdeny
08.041postgres-mcp · query.readvk_data_9c45ms
08.517slack-mcp · msg.postvk_ops_4d120ms
09.002filesystem-mcp · fs.readvk_eng_7f3a12ms
09.660jira-mcp · issue.createvk_pm_1a5e210ms
10.128github-mcp · pulls.mergevk_eng_c30f96ms
10.744bigquery-mcp · dataset.listvk_data_9c58ms
07.412github-mcp · repo.readvk_eng_7f3a82ms
07.588stripe-mcp · charge.createvk_fin_2b1cdeny
08.041postgres-mcp · query.readvk_data_9c45ms
08.517slack-mcp · msg.postvk_ops_4d120ms
09.002filesystem-mcp · fs.readvk_eng_7f3a12ms
09.660jira-mcp · issue.createvk_pm_1a5e210ms
10.128github-mcp · pulls.mergevk_eng_c30f96ms
10.744bigquery-mcp · dataset.listvk_data_9c58ms
IMMUTABLE · HASH-CHAINED
SOC 2HIPAAGDPR

Track cost and latency per tool call

  • View per-tool cost alongside LLM token spend in a single dashboard
  • Attribute spend by tool, server, virtual key, team, or customer
  • Stream traces and metrics to Grafana, Datadog, or BigQuery
View docs →
PER-TOOL METRICS
LIVE · 24h
TOTAL SPEND
$1,284
tool + LLM tokens
P95 LATENCY
142ms
per tool call
TOOL CALLS
38.4K
across 12 servers
LATENCY ms
now
SPEND ATTRIBUTED BY TEAM · CUSTOMERtool · server · vk
team-platform 42%team-growth 31%acme-corp 18%other 9%
STREAM TRACES + METRICS
GrafanaDatadogBigQuery

Create Virtual MCP Servers

  • Bundle tools from any connected server into a curated virtual MCP server
  • Attach tool groups to virtual keys to expose only permitted tools at request time
  • Point any MCP client to one URL and discover all available tools automatically
View docs →
github-mcp
24 tools
stripe-mcp
12 tools
postgres-mcp
18 tools
slack-mcp
9 tools
VIRTUAL SERVERCURATED
support-suite
repo.read← github-mcp
refund.read← stripe-mcp
query.read← postgres-mcp
msg.post← slack-mcp
vk_support_9fexposes 4 / 63
gw.bifrost.ai/v/support-suite
[ ONE URL · AUTO-DISCOVER ALL TOOLS ]

[ HOW IT WORKS ]

One MCP Gateway Between Your Agents and Every MCP Server

Scale your MCP servers with full cost and governance control.

[ REQUEST LIFECYCLE ]one tool call, traced end-to-end
01 / 14
User
Prompt origin
Client
MCP client
Bifrost
MCP Gateway
LLM
Model
Upstream
MCP server
STEP 01
UserClient
Prompt with a task that needs a tool
"Get my three most recent support tickets"
01
02
03
04
05
06
07
08
09
10
11
12
13
14
One tool call, one audit trail, all through Bifrost MCP Gateway.

[ ROLLOUT ]

From one server to an organization-wide toolkit

01

Register servers once

Add each MCP server with its transport and credentials. Bifrost handles connection health and tool discovery from there.

02

Curate virtual servers

Bundle tools from any number of backend servers into MCP Tool Groups and expose them as a single virtual MCP server.

03

Scope with virtual keys

Attach tool groups to virtual keys per user, team, or customer, so a customer-facing agent can never reach internal admin tooling.

04

Watch every call

Per-tool cost and latency land beside LLM token spend, and stream out over OpenTelemetry to the backend you already run.

[ MCP GOVERNANCE ON YOUR INFRA ]

MCP Governance That Stays Under Your Control

Deploy in your own environment with full control over keys, data, and policy

Keep keys and data in your environment

  • Store every provider credential inside the gateway, never in client code
  • Keep all request data within your own infrastructure
  • Rotate provider keys without touching a single application
Provider configuration →

Deploy anywhere, including air-gapped

  • Run fully in your VPC or air-gapped private network
  • Deploy with no external dependencies or outbound calls
  • Self-host under Apache 2.0, or run fully managed
Deployment guides →

Meet enterprise compliance standards

  • Comply with SOC 2 Type II, HIPAA, GDPR, and ISO 27001
  • Maintain audit-ready records across every request
  • Enforce one consistent policy across teams and providers
Audit logs docs →

[ FAQ ]

Frequently Asked Questions

An MCP gateway is a control layer between AI clients and MCP servers. Every tool call passes through it, so authentication, access rules, and audit logging apply in one place rather than being configured separately for each client and each server.

Without one, every agent holds its own credentials for every server, and no one can answer which tools ran, for whom, or at what cost.

A proxy forwards MCP traffic without understanding it. A gateway parses the protocol, so it can scope which tools a caller sees, attach the right credentials per upstream server, enforce approval on execution, and log each call with its tool name, latency, and cost.

An MCP server exposes a set of tools. An MCP gateway sits in front of many MCP servers and presents them to clients through one endpoint. Bifrost is both: a client to your upstream servers, and a server to your agents.

Yes. Bifrost is open source under the Apache 2.0 license. You can self-host it and read the full source on GitHub.

Bifrost authenticates to each upstream MCP server with OAuth 2.0, server-level or per-user, and refreshes tokens automatically. Credentials stay in the gateway, never in client config, so rotating a token does not require touching a single agent.

Point the client at one Bifrost URL. It discovers every tool it's permitted to use.

Bifrost supports all three MCP transport types: STDIO for local process execution, HTTP for remote MCP servers, and SSE (Server-Sent Events) for real-time streaming connections. OAuth 2.0 authentication with automatic token refresh is built in.

An MCP gateway solves the problem of runaway tool-calling that can overload internal systems or hit provider API limits. The main objective is to regulate resource consumption while maintaining a smooth developer experience.

  • Token and request budgeting: set hard limits on tool calls per team to prevent backend overloads and control costs.
  • Automated failover: reroute traffic to secondary servers or models if an MCP connection times out or fails.
  • Scale-ready architecture: built to handle thousands of tool calls concurrently without degrading performance.

Code Mode replaces traditional tool calling with AI-generated code that orchestrates multiple tools in a single round-trip. Instead of sending 100+ tool schemas in every request, Code Mode uses four meta-tools for on-demand schema loading. This cuts token usage by 50%+ and reduces LLM calls by 3-4x.

No. By default, Bifrost treats tool calls from LLMs as suggestions only. Your application must explicitly approve and trigger execution via a separate API call. This security-first design prevents unintended actions. Agent Mode with auto-execution is available but requires explicit opt-in configuration.

Put every MCP tool call behind one gateway

Control tool access, authenticate MCP servers, reduce token overhead, and audit every call from one gateway.

[ BIFROST FEATURES ]

Open Source & Enterprise

Everything you need to run AI in production, from free open source to enterprise-grade features.

01 Governance

SAML support for SSO and Role-based access control and policy enforcement for team collaboration.

02 Adaptive Load Balancing

Automatically optimizes traffic distribution across provider keys and models based on real-time performance metrics.

03 Cluster Mode

High availability deployment with automatic failover and load balancing. Peer-to-peer clustering where every instance is equal.

04 Alerts

Real-time notifications for budget limits, failures, and performance issues on Email, Slack, PagerDuty, Teams, Webhook and more.

05 Log Exports

Export and analyze request logs, traces, and telemetry data from Bifrost with enterprise-grade data export capabilities for compliance, monitoring, and analytics.

06 Audit Logs

Comprehensive logging and audit trails for compliance and debugging.

07 Vault Support

Secure API key management with HashiCorp Vault, AWS Secrets Manager, Google Secret Manager, and Azure Key Vault integration.

08 VPC Deployment

Deploy Bifrost within your private cloud infrastructure with VPC isolation, custom networking, and enhanced security controls.

09 Guardrails

Automatically detect and block unsafe model outputs with real-time policy enforcement and content moderation across all agents.

[ SHIP RELIABLE AI ]

Try Bifrost Enterprise with a 14-day Free Trial

[quick setup]

Drop-in replacement for any AI SDK

Change just one line of code. Works with OpenAI, Anthropic, Vercel AI SDK, LangChain, and more.

1import os
2from anthropic import Anthropic
3
4anthropic = Anthropic(
5 api_key=os.environ.get("ANTHROPIC_API_KEY"),
6 base_url="https://<bifrost_url>/anthropic",
7)
8
9message = anthropic.messages.create(
10 model="claude-3-5-sonnet-20241022",
11 max_tokens=1024,
12 messages=[
13 {"role": "user", "content": "Hello, Claude"}
14 ]
15)
Drop in once, run everywhere.