Open-source MCP gateways hold calls; what differs is the approval's scope
An MCP gateway is a proxy between MCP clients and MCP servers: many servers behind one endpoint, and one place that holds the credentials. Kortix is the open-source CompanyOS, and the rule that governs a call is a line in kortix.yaml, in the workspace repo you own, which is my pick; I work on Kortix's marketing, so weigh that accordingly.
One endpoint, and the two decisions it leaves open
A gateway puts one service in front of the servers and takes the routing off every client. It sends each request to the server that publishes the tool, and attaches the credential that call needs. Two decisions survive it: whose identity the call runs as, and whether anyone approved this exact call.
A team with six MCP servers usually buys a gateway for arithmetic. Six client configurations. Six sign-ins. Six places a token is stored. A gateway collapses that into one endpoint, with routing and credentials handled in the same place. The arithmetic holds.
Kortix is an open-source CompanyOS — your agents, skills, company memory, and connectors in one git repo you own. Its manifest is versioned. One entry can point at somebody else's MCP server: provider: mcp, with a url and a transport of http by default or sse.
What a gateway centralizes is the connection. It also applies the access rules configured in it, and several of these products now hold a gated call instead of only filtering the tool list. TrueFoundry's gateway holds a matched tools/call, creates an approval request, notifies the approvers the policy names, and returns a pending result, so the tool does not run; an approved grant then covers "the same MCP server, tool, and requester" until it lapses (TrueFoundry). Bifrost documents an "Approval Gate" where people "can approve or deny each tool execution", and puts the decision in your own code: "Your application controls all tool execution decisions" (Bifrost docs). Composio sends a teammate's request for a blocked tool to an admin.
What the grant covers is where they part. TrueFoundry keys its grant on the server, the tool and the requester, and its own account of the feature says a time-based grant lets "later argument sets" run "without a fresh human review" (TrueFoundry). Bifrost hands each execution to the application, so the arguments are whatever that application chooses to check. Composio approves a tool for a team. Kortix's require_approval covers one exact action: the connector, the action, its arguments and the account, so a changed argument needs a new approval (approving a held action).
That split is what a review has to carry. A tool-level gate answers whether this tool may run at all, and the same answer stands until the grant lapses. A gate that reads the arguments answers a different question, call by call. The policy that lets a call run is a line in kortix.yaml, and the entry it belongs to is what an MCP connector is.
Thirteen gateways in their projects' own words
- Kong AI Gateway is the AI plugin set on Kong Gateway, and Kong's repository says the gateway provides "MCP traffic governance, MCP security and MCP observability in addition to MCP autogeneration from any RESTful API" (Kong). MCP traffic therefore shares a data plane with ordinary API traffic and with LLM routing across providers. The gateway is Apache 2.0, so you can self-host and change it, and Kong sells Konnect, a managed control plane, alongside it. What it governs is MCP traffic: its security, its observability, and the conversion of REST endpoints into MCP tools. Its rules are Kong's own configuration objects, set "via a RESTful admin API or declarative configuration". That puts them in a
kong.yamlapplied with decK, in the Admin API, or in the Kong Manager UI. - Maxim AI's Bifrost is an open-source AI gateway that serves as an LLM gateway, an MCP gateway and an agent gateway in one (Bifrost). It is Apache 2.0, so you can self-host and change it, and it runs as a single Go binary, from
npx, or in Docker. What it governs is which MCP clients and which tools a request may see. Its documentation calls that "Request-Level Filtering - Granular control over tool availability", and the gateway "controls all tool execution for security". A tool call can also come back to the caller for a decision: the docs list an "Approval Gate", where people "can approve or deny each tool execution", and name where that decision is made, "Your application controls all tool execution decisions" (Bifrost docs). The rule lives inconfig.json, undermcp.client_configs, where each client carriestools_to_executeand, for autonomous runs,tools_to_auto_execute. The same settings can be made in its web UI or through its API. - TrueFoundry describes itself as "an enterprise AI platform whose gateway is one layer of a larger control plane", installable "as SaaS, VPC, on-prem, or air-gapped" (TrueFoundry). Its MCP Gateway page adds that you can "Manage your MCP Server inventory from a centralized portal" and "Apply RBAC policies per MCP Server for fine-grained control" (MCP Gateway). What it governs is the server inventory, which role may reach each server, and the OAuth token each person carries across servers. A gated call also stops there: the call is held, an approval request is created, the approvers are notified, and the tool does not run until somebody decides (tool approvals). Each policy names the servers it gates, the tools that need approval, the validity of a grant (Once, or a time window) and who is notified, and the policies are created under AI Gateway → Policies → MCP Tool Approval. The access rule lives in GitOps YAML applied through the TrueFoundry CLI to a Kubernetes control plane, so an approval policy is a second object beside it. Per-team RBAC and curated tool subsets it calls Virtual MCP Servers sit on top.
- Nango is the odd entry, because it governs the connection rather than the tool call. Its repository says "Nango handles auth, execution, scaling, and observability", and that requests go "through Nango's proxy: it resolves the provider, injects credentials, handles retries and rate limits, and returns the response" (Nango). Its license is the Elastic License 2.0: self-hosting is free with a limited feature set, Cloud or BYOC carry the rest, and offering it to third parties as a hosted service is not allowed. What it governs is a connection: one authorized account on one API, with its token refreshed and its calls proxied. The rule lives in an integration record and a connection record in Nango's own store, set in its dashboard or API. Integration logic is TypeScript functions deployed to its runtime.
- Arcade calls itself "the enterprise-ready actions runtime for AI agents", which "handles OAuth and manages user tokens, enforces your security policies on every action, executes reliably across 7,500+ agent-optimized tools, and governs agents centrally" (Arcade docs). The framework for writing the tools,
arcade-mcp, is MIT, so its code can be read and changed; the runtime that executes them runs on Arcade Cloud, in the Azure or AWS marketplace, or self-hosted with Helm on your own Kubernetes cluster (hosting options). What it governs is the scope a tool needs and the token injected into each call. The rule lives in the tool's own declaration in code: "Declarerequires_auth=GitHub(scopes=["repo"])and Arcade handles OAuth, token refresh, and per-call scoping. The client and the LLM never see the token" (arcade-mcp). The OAuth app itself is registered in the Arcade dashboard. - Lunar's MCPX is "an MCP server which serves as an aggregator for other MCP servers", built to "simplify the integration and management of multiple MCP servers dynamically" (MCPX). The core is MIT, and in Lunar's words it "remains open-source at its core and free for non-production/personal use", with production features on its platform tiers (Lunar). What it governs is which servers are aggregated and which tools a client sees through the one endpoint. The rule lives in a JSON configuration file: MCPX offers "Zero-code integration with MCP services via JSON configuration". A separate Control Plane inspects live traffic and manages the instance.
- Open Connector is "an open-source (AGPL-3.0), self-hostable MCP gateway: it exposes your connectors as named Model Context Protocol servers, runs the OAuth, and injects credentials server-side at call time" (Open Connector). The project licenses it AGPL-3.0, and its repository says the source "is being prepared for public release and will be published here soon" (repository). What it governs is a named server: its tool allowlist and the per-user connection behind it. The rule lives in that server's definition, "an auth-config and a tool allowlist", from which it generates "a per-user mcp_url any MCP client connects to". State sits in its own Postgres, with a dashboard over it.
- IBM ContextForge calls itself "an open source registry and proxy that federates tools, agents, and APIs into one clean endpoint for your AI clients. It provides centralized governance, discovery, and observability" (ContextForge). It runs as a compliant MCP server and installs from PyPI or Docker. It ships an Admin UI, OpenTelemetry tracing into Phoenix, Jaeger, Zipkin or another OTLP backend, 40+ plugins, and JWT secrets that have to be set before it starts.
- Docker's gateway is "Docker's open source solution for orchestrating Model Context Protocol (MCP) servers", which "acts as a centralized proxy between clients and servers, managing configuration, credentials, and access control" (Docker docs). Each MCP server runs in an isolated container with restricted privileges, network access and resource use. The gateway injects the credentials a server needs, applies security restrictions, and keeps logging and call tracing. A profile passed with
--profiledecides which servers are available. Docker's documentation adds: "MCP Gateway as part of Docker AI Governance is an invite-only feature." - MCPJungle is "a self-hosted MCP gateway for developers and teams who want to manage multiple MCP servers without scattered client configurations, duplicated setup, or inconsistent access control" (MCPJungle). A server is registered once from the command line. Every client then connects to a single endpoint at
/mcp. Optional tool groups expose only the tools a client should see, and the project documents access-control and observability hooks for shared deployments. It runs on Docker Compose and keeps its state in SQLite by default, with PostgreSQL supported. - Obot is "an open-source platform for organizations to manage, secure, and govern their AI ecosystems" (Obot). Its MCP Gateway exposes virtual MCP servers that combine one or more catalog servers behind a single endpoint. Each vMCP component is pinned "to a snapshot of its catalog entry, so catalog changes take effect only through an explicit upgrade". Access is controlled by user or identity-provider group through vMCP profiles. MCP tunnels connect outbound, so no inbound port has to be opened, and the MCP and Skills registries are "built on curated Git-backed catalogs".
- Microsoft's MCP Gateway is "a reverse proxy and management layer for Model Context Protocol (MCP) servers, enabling scalable, stateless request routing, authorization and lifecycle management of MCP servers in Kubernetes environments" (Microsoft). It ships "a data gateway for independently routing each MCP request to a ready server instance", "a control plane for managing the MCP server lifecycle (deploy, update, delete)" and integration points for telemetry, access control and observability. Servers are resources under
/adaptersand tools under/tools, and "each request carries its protocol metadata and is independently authorized". Access is decided by Entra ID role assignments on each adapter and tool resource. It states its protocol requirement: "This version requires MCP 2026-07-28 clients and adapters. It does not provide legacy initialization, transport sessions, or protocol downgrade." - Composio's MCP Gateway page says: "An MCP gateway is a centralized security and control layer between AI agents and the MCP servers they call. Instead of every agent connecting directly to each tool, all agentic traffic flows through one governed control point that enforces access policy, manages credentials, and records an audit trail" (Composio). Composio puts its managed toolkits and your own MCP servers behind one gateway, and each team gets its own MCP endpoint "carrying only the tools it is permitted to use". Members "request access to blocked tools; admins approve or deny centrally". Credentials "never reach the agent", and every tool call lands in "one activity view", with retention "up to 1 year".
All thirteen stand between the client and the server, and each one records something about the call. Kong puts MCP governance in the same data plane as API traffic. Bifrost filters tools per request from a config file and returns a gated call to the application for a yes or a no. TrueFoundry attaches RBAC to each server, keeps the config in GitOps YAML, and holds a gated call until an approver decides. Nango governs the connection instead of the call. Arcade puts the scope in the tool's own code. MCPX aggregates from a JSON file. Open Connector puts an allowlist on a named server. ContextForge and Docker add tracing, MCPJungle adds tool groups, Obot adds catalog pinning, Microsoft adds a control plane, and Composio adds a per-team endpoint.
Routing, credential injection, isolation and logging are infrastructure work. A gateway does all four in one service, and that is the reason to buy one. How a gateway differs from the server it fronts settles which of the two words applies to a product.
The account behind the credential is a second decision
A gateway holds credentials and injects them into the right call. Docker's gateway injects the credentials a server needs. Portkey's gateway, now sold as Prisma AIRS AI Gateway, "acts as a proxy between MCP Clients and MCP servers, handling authentication, access control, and logging", with credential injection and permission checks per server (Portkey). Holding a credential is not the same as knowing whose it is.
Kortix makes the account an object on the connector. A connector can hold several accounts, and an account is the identity a call runs as: a label, and a credential that stays with Kortix. An agent can use a connector only when the agent has been given access to it. The person or agent must also be allowed to use the account (Kortix docs).
An account is private or shared.
- A private account is the default, and only its owner can use it, in that person's own private sessions.
- A shared account covers everyone in the workspace, or a chosen audience of people, groups or agents.
Automations never use a private account; they need an account shared with the whole workspace (who can use an account).
Nango's connection is the closest thing to an account: one authorized account on one API, chosen per request, with the token refreshed behind it. Kortix adds an audience and a default to that idea, so a scheduled job and a person at a keyboard do not resolve to the same identity by accident.
Take Acme: it connects its issue tracker and two people connect an account each. The gateway in front of it holds both credentials and forwards either one. Kortix has two accounts on one connector, so which one a call runs as is only settled if someone wrote it down: pin one as the default with connectors.connections.setDefault, share a workspace account with connectors.connections.share, or name the account in the call (SDK reference). Either way a person chose whose identity the work runs as.
That pair of rules is where a proxy runs out of road. A gateway can prove a credential was attached to a request. Whether the credential belongs to a person, to a workspace, or to a job that starts at 3am is a property of the account, and the account is a live connection with a label, an audience and a default, kept in the product's own state. Kortix lists those connections on the connector, with their labels, defaults and sharing. Whose permissions an MCP connector uses takes the choice apart.
The approval question is narrower. It asks whether this call was approved, with these arguments, on this account. Kortix answers it per request: Allow runs the action at once (always_run), Ask holds the action until a person approves it (require_approval), Block never runs it (block). Approving resumes the agent with the result. The scope is tight: an approval covers one exact action, and a changed detail needs a new approval. "An approved action runs once, and the agent does not send it again. Kortix checks the project's rules again when it runs the action, so a Block rule still wins." A caller with a project-scoped token repeats nothing: its call runs on approval. A script with any other token must send the same call again within 15 minutes after approval. A held action expires when nobody decides within 24 hours, unless your workspace sets another time (approving a held action).
Where each product keeps the rule
The thirteen part company on where the rule lives, and the split decides a review. Five keep the access rule in a file a reviewer can read: Bifrost's config.json, MCPX's JSON, Kong's declarative config, TrueFoundry's GitOps YAML, and Docker's --profile config. Two keep it in a service: ContextForge's Admin UI and API, and Composio's managed gateway. Three keep it in a database: MCPJungle's SQLite or PostgreSQL, Open Connector's Postgres, and Nango's connection store. Obot pins a Git-backed catalog and applies it through vMCP profiles. Microsoft's control plane holds servers as /adapters and tools as /tools, with Entra ID role assignments on each resource deciding who may read or write it. Arcade puts the rule in the tool's own code.
Two of those products keep the approval somewhere else again. TrueFoundry's tool approval policies are created under AI Gateway → Policies → MCP Tool Approval, a second object beside the GitOps file that describes the servers. Bifrost's approval gate has no file of its own, because the decision runs in the application that calls it.
Kortix keeps the connector entry and the rules on its actions in kortix.yaml, inside the workspace's git repo. The policy that lets a call run is part of that entry. The account is not part of it: the account is a live connection on the connector, shared or private, with a label and a default, managed in the app or through the SDK.
The difference matters on the day someone asks who changed a rule. A rule in a database changes for anyone who can reach the database. A rule in a profile changes for anyone who edits the profile. A rule in a repo arrives as a diff a teammate can read, and session work reaches the default branch through a change request. Merge is default-deny for agents, so nothing merges itself unless an admin granted the merge capability. A dashboard edit or a direct push can still land without that read, and the diff is what makes the change visible either way.
Where each gateway keeps the rule, and who can read a change
Kortix is open source and my pick; every rival's rule comes from that product's own project.
kortix.yaml in the workspace's git repokong.yaml via decK, or the Admin APIconfig.json under mcp.client_configs, or its web UI--profile, a config filemcp.adminWhat a file looks like when it holds the decision
connectors:
- slug: linear
provider: mcp
url: https://mcp.linear.app/mcp
transport: http
policies:
- match: "*.delete*"
action: block
- match: "linear.create_issue"
action: require_approval
conditions:
- arg: team.key
negate: true
match: "ENG"One rank is all a gateway reader needs: the workspace policies: in kortix.yaml are read before any connector rule, and in that list the first pattern that matches decides, so nothing a connector entry or an agent's policy set says can loosen what the workspace blocked (connector rules and approvals). Where a rule belongs among the four walks the order down to policy.default_mode.
A rule can test the arguments of a call as well. Each condition is { arg, match, negate }: arg is a dot path into the call's arguments, such as team.key, match is a glob or a /regex/, and negate: true inverts it. Every condition must hold. This rule holds issue creation for every team except ENG (policy keys).
The bottom of the file decides just as much. policy.default_mode falls back to allow_all, so a workspace with no rules runs every action its connector can reach. "Approval gates you set. Off until you set them."
Connector credentials are brokered server-side and never enter the machine, which is why no secret appears anywhere in the file. "Every action is recorded. Reading, exporting and streaming the audit log depend on the plan."
The rules answer whether a call runs. Reach is decided again one level up. agents.<name>.connectors in kortix.yaml lists the slugs an agent may use, or all, and an omitted value grants none (agent keys). What an agent can see reads that grant against the connector's tool list and the account it resolves to.
When a gateway is the right call
Some teams should buy the gateway and stop there. A platform team fronting thirty third-party MCP servers for a dozen client applications needs a proxy that holds one address per environment. It needs OAuth brokered per person, so each call carries the caller's own token. It needs each server process isolated with its own limits, and one trace per call. Building that yourself is a quarter of work. ContextForge, Docker, MCPJungle, Obot, Kong and Bifrost each document a version of it, and a buyer with that shape of estate is not overbuying. Microsoft's gateway covers the cluster case: it deploys, routes and retires server instances through one control plane. Composio's covers the managed case: its own toolkits and yours behind one managed gateway, with a separate endpoint and tool list per team. TrueFoundry covers the air-gapped case, with the config in GitOps YAML and the gateway inside your own network.
Two things are worth adding on top, whichever product fronts the servers. First, write the rule about each call where the rest of the configuration is reviewed, so the change arrives as a diff a teammate can read. Second, pin the account the unattended work runs as, because a scheduled job and a person at a keyboard should not resolve to the same identity by accident.
A short list of questions separates the products on that ground. Where does the rule live, and can you read its history? Who can change it, and does the change wait for anyone? Can a rule test an argument, so a write to one channel and a write to another get different answers? What happens when a call arrives with no account named? Each answer points at a file, a table or a screen, and the first one you cannot answer is the gap.
Kortix takes the file route for teams whose remote servers number in the single digits or the low tens. Each MCP server becomes one entry in kortix.yaml, next to the rule that governs its actions, and the account it runs as is a connection you pin on that connector. The entry and its rules reach main as a diff a teammate can read. A gateway collects more per-call infrastructure into one running service. A manifest gives a workspace one file a reviewer can finish in a minute. A team that needs both can point provider: mcp entries at a gateway's own MCP endpoint, because the transport is the same http or sse a server speaks.
Questions about gateways, accounts and rules
Short answers on the words, the account and the rule.
What is an open-source MCP?
MCP is the Model Context Protocol an AI client uses to discover and call tools on a server. An open-source MCP server or gateway is one whose code you can read, run and change, under whatever terms its license sets.
What is the purpose of an MCP gateway?
To put many MCP servers behind one endpoint, so each client configures one address instead of six, and one service holds the credentials and the access rules. It also gives a team one place to log and trace calls.
Which open-source MCP gateway is considered the best?
Kortix is my pick for a team whose remote servers number in the single digits or the low tens: each server is one entry in kortix.yaml, the rules on its actions sit beside it, and a change arrives as a diff. Buy a gateway when dozens of servers serve many client applications.
Do we need an MCP gateway?
Not for one server. A gateway earns its place when several servers serve several clients, or when a platform team needs one address per environment and one trace per call. Short of that, a single connector entry and its rules are enough.
Is an MCP gateway the same as an MCP server?
No. A server publishes tools; a gateway sits in front of servers. ContextForge federates tools into one endpoint, Docker proxies clients to servers, MCPJungle serves /mcp, and Microsoft's routes each request to a server instance in a cluster. A call travels through the gateway to the server that publishes the tool.
Where should MCP tool permissions live?
Where the rest of the workspace's configuration is reviewed, so a change is a diff a teammate reads. Kortix writes them in kortix.yaml and puts the workspace policies: ahead of every connector rule; the full order of the four levels covers the rest.
Can a gateway enforce per-tool approval?
Several do, and the scope is the question. TrueFoundry holds a matched tools/call, notifies an approver and releases the call on approval, with the grant keyed on the server, the tool and the requester. Bifrost's approval gate hands each tool execution to your application, which approves or denies it. Composio's puts a team's request for a blocked tool to an admin, and Docker applies security restrictions per server and per profile. Kortix covers one exact action, with its arguments and its account.
Does Kortix replace an MCP gateway?
It answers the same need for a smaller estate. A provider: mcp connector is Kortix calling someone else's MCP server, with its rules in the repo beside it and its account a connection on the connector. A team fronting dozens of servers still wants a proxy, and can point its Kortix entries at one.
Give the rule a diff a teammate can read
Connector entries and the rules on their actions, in one repo you own.