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

Enterprise MCP Gateway
for Secure, Governed Access to MCP Tools

A single control plane to govern, observe, and secure all your Model Context Protocol (MCP) traffic.

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

[ OVER 1,000+ TEAMS USE BIFROST ]

[ HOW IT WORKS ]

How the Bifrost MCP Gateway Works in Enterprises

Scale your MCP servers with full cost and governance control. Browse the MCP server library, or read the MCP gateway technical deep dive.

  1. 01

    Connect every MCP client to one MCP gateway

    Apps, agents and IDE assistants send requests to a single Bifrost endpoint, authorised with a virtual key.

  2. 02

    Authenticate and control MCP access by role

    Bifrost validates the key, applies role-based access rules, and builds the list of tools this caller is allowed to use.

  3. 03

    Send only permitted MCP tools to the model

    The model sees only the scoped tool definitions and chooses the tool call it needs.

  4. 04

    Route each tool call to the right MCP server

    Bifrost checks the allowlist and budget, then runs the call on the upstream server over STDIO, HTTP, SSE or in-process.

  5. 05

    Secure and govern every MCP tool call

    Every call is logged with its tool, server, latency, virtual key and cost, and the answer returns with full audit metadata.

[ DETAILED VIEW: HOW ONE REQUEST TRAVELS FROM THE USER TO THE MODEL AND BACK ]

[ 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.

[ 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 server and tool access across every team

  • 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 ]

Secure every MCP server with OAuth 2.0 authentication

  • 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

Built-in observability for 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

Expose only the MCP tools each team needs

  • 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 ]

[ ARCHITECTURE ]

One MCP Gateway Between Every Client and Every MCP Server

Bifrost sits between your agents and your tools, speaking MCP in both directions so policy, credentials, and telemetry live in exactly one place. It runs on the same gateway as the LLM gateway and the agent gateway.

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.

[ 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 ]

Deploy the MCP Gateway in Your VPC or Air-Gapped Network

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 are applied in one place. You don't have to configure them separately for each client and each server. For more detail, read the guide to what an MCP gateway is and how it works.

Without a gateway, every AI app, agent and IDE assistant connects to each MCP server separately, with its own credentials. Nobody can answer which tools ran, for whom, or at what cost. An enterprise MCP gateway unifies access to all your MCP servers through one secure endpoint. It centralises credentials, enforces role-based access to servers and tools, and records every tool call for audit and cost reporting.

A proxy forwards MCP traffic without understanding it. A gateway parses the protocol. That lets it scope which tools a caller sees, attach the right credentials for each upstream server, require approval before execution, and log each call with its tool name, latency and cost. The full comparison is in MCP gateway vs MCP proxy vs MCP server.

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 AI apps and agents.

An MCP gateway governs how AI clients reach tools over the Model Context Protocol. An agent gateway governs traffic between agents and the models or other agents they call. Bifrost covers models, tools and agents from one gateway, so the same access, budget and audit policies apply across all three.

  • SSO through OIDC with Okta, Microsoft Entra, Keycloak, Zitadel or Google Workspace
  • Role-based access control and reusable access profiles
  • Virtual keys to scope tools and spend per user, team or customer
  • Immutable audit logs and log exports
  • Real-time alerts to Slack, PagerDuty, Teams and email
  • Cluster mode for high availability, and adaptive load balancing
  • Deployment in your VPC or an air-gapped network

Bifrost authenticates to each upstream MCP server with OAuth 2.0, at server level or per user, and refreshes tokens automatically. Authorization is enforced through roles synced from your identity provider and through virtual keys. Each caller can see and run only the servers and tools it's permitted to use. Credentials stay in the gateway, never in client config.

Yes. Bifrost meets SOC 2 Type II, HIPAA, GDPR and ISO 27001 standards. Every tool call is recorded in an immutable, timestamped audit trail that you can use as compliance evidence. Logs, traces and metrics can be streamed to your own stack through OpenTelemetry.

Yes. Bifrost runs entirely inside your VPC or in an air-gapped private network, with no external dependencies or outbound calls. All request data and provider credentials stay inside your infrastructure, and you can rotate keys without touching any application.

An MCP gateway stops runaway tool calling from overloading internal systems or hitting provider limits. Bifrost lets you set hard budgets and limits on tool calls per team. It can reroute traffic to secondary servers or models when a connection fails, and it handles thousands of concurrent tool calls without slowing down.

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 with every request, it uses four meta-tools that load schemas on demand. This cuts token usage by 50% or more and reduces LLM calls by 3–4x. The benchmark is written up in Bifrost MCP gateway: access control, cost governance and 92% lower token costs.

Any MCP client, including Claude Desktop, Cursor, IDE assistants or your own app, connects to one Bifrost URL. It then automatically discovers every tool it's permitted to use. Bifrost supports all three MCP transports: STDIO for local processes, HTTP for remote servers, and SSE for streaming connections.

Yes. Bifrost's core gateway is open source under the Apache 2.0 license, and you can self-host it and read the source on GitHub. The enterprise version adds SSO, role-based access control, audit-ready logging, clustering and dedicated support. To see how it compares, read the best open source MCP gateways.

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.