Self-managed vs managed MCP gateway: when to run your own
Use a managed MCP gateway unless your keys or audit logs have to stay in your own account, or the MCP servers your agents need cannot be reached from outside your network.
For most teams I would start managed. The gateway holds a key for every API your agents reach and sits in the path of every tool call, and running that well is a job of its own. There are two situations where I would run it myself from day one: a security review that says the keys and logs live in our account, and MCP servers that only exist on a private network. Everything else is a question of cost and who you want answering the pager.
If you are still deciding whether you need a gateway at all, what is an MCP gateway covers that, and MCP proxy vs MCP gateway covers what a gateway adds to a relay. For a comparison of the products, see best MCP gateways. This post assumes you want one and are deciding who runs it.
Who holds the credentials
A gateway works by keeping the upstream keys itself and attaching them when a call goes out. So the first question is whose infrastructure that vault sits in.
With a managed gateway, it sits in the vendor's. That can be fine. In managed Statio the keys are encrypted with AES-256-GCM, the encryption key is held outside the database, they are decrypted at call time inside the gateway, and the service that holds them releases values only to the gateway's own service account. The details are on /security. But it is still a third party holding your Stripe key, and some reviews stop there.
Self-managed, the vault is in your cloud, under your key management, and the vendor never sees a credential. If your security team has a rule that production secrets do not leave your accounts, that rule decides this whole post and you can skip to the cost section.
Where the audit log lives
The log has every tool call your agents made, with the tool, the caller and the result. Tool arguments and responses pass through the gateway too. For some teams that is more sensitive than the keys.
Ask two things of a managed option: how long it keeps the log, and how you get it out. Managed Statio keeps 90 days of audit log and 30 days of tool calls on every plan, and from Business up it exports CSV or NDJSON and streams both logs to a SIEM by signed webhook. If a regulator wants the log in a particular region or account, or kept for two years, that points to running it yourself. Statio Enterprise, the self-hosted tier, keeps records for up to two years. MCP audit logs covers what a useful record holds.
Who keeps up with the MCP spec
MCP is still moving, and the gateway is the piece that has to speak both sides of every revision. The specification names its versions by date, and the versioning page lists 2026-07-28 as current. It also calls 2025-11-25 and earlier "handshake-based", because the current revision carries the version on every request instead of agreeing on it once at connection time.
That change reached gateway code. Microsoft's open-source gateway put it at the top of its README:
“Breaking change: this version requires MCP 2026-07-28 clients and adapters. It does not provide legacy initialization, transport sessions, or protocol downgrade.”microsoft/mcp-gateway, README
IBM's ContextForge goes the other way: its README says it "lets you choose your MCP protocol version", and it keeps a MIGRATION.md for breaking changes between its own releases. Either way, someone on your side reads the notes, checks which clients your team runs, and plans the upgrade. On a managed gateway that work belongs to the vendor, and what you ask is which revisions they accept today. On self-hosted Statio, you run the containers, so rolling out each new release is on your side.
Who gets paged when it is down
Every agent's tool calls go through the gateway, so when it stops, every agent loses its tools at once. Self-managed, that page goes to you, along with the database, the certificates and the scaling behind it.
Managed moves the pager to the vendor, and the support tier tells you how fast they answer. Statio's managed plans run on Google Cloud Run. Support goes from community on Free to priority with a one business day response on Business, and the 99.9% SLA and named contact come with Enterprise. If you need an uptime commitment in a contract, read what each plan promises before assuming one.
Can it reach your internal APIs
This one gets missed until the first internal server. A managed gateway runs in someone else's cloud, so it can only call MCP servers it can reach from there. Managed Statio connects customer-hosted servers by URL, which means that URL has to be reachable from Statio's side. For a server in front of an internal database, that is a public endpoint you have to defend, or a tunnel you have to run.
A gateway inside your network has none of that problem. It talks to the internal server the way any other service does, and nothing new faces the internet. If most of what your agents need is behind a VPN, this is the strongest argument for self-managed, and it gets stronger with every internal server you add.
What it costs at five people and at fifty
Open-source gateways are free to license, and you pay in time. Docker's mcp-gateway and Microsoft's mcp-gateway are MIT licensed and IBM's mcp-context-forge is Apache-2.0. They are built for different places: Docker's README lists Docker Desktop 4.59 or later as a prerequisite, though the plugin can also run without it, Microsoft's describes itself as running "in Kubernetes environments", and IBM's deploys "via PyPI or Docker". How much per-tool access, agent identity and audit export each one covers varies, so check it against your list.
Managed Statio is a flat monthly price. Team is $149 a month for up to 15 members, or $1,490 a year billed annually. Business, with unlimited members, SSO and SIEM export, is $599 a month, or $5,990 a year billed annually. Self-hosted Statio is Enterprise, from $15K a year, and you pay for the cloud it runs in. All of it is on the pricing page.
Here is the rough sum I use. If running a gateway yourself costs four hours of an engineer's month at $100 an hour, that is $4,800 a year before the first incident, and it does not shrink for a small team. For five people, managed is cheaper. At fifty people with internal servers and a compliance team, Business at $5,990 against $15K for self-hosted plus your own ops time stops being a cost question, and the residency and network questions above usually settle it.
Which one I would pick
| Self-managed | Managed | |
|---|---|---|
| Upstream keys | In your cloud | In the vendor's vault |
| Audit log and tool data | In your account and region | With the vendor, exported to you |
| Spec upgrades | You plan and roll them | The vendor's job |
| Paged when it is down | You | The vendor |
| Internal servers | Reachable directly | Need a public URL or a tunnel |
| Cost for a small team | Your time, plus a license if you buy one | A flat monthly price |
Start managed if you are one team, your servers are public APIs like GitHub and Stripe, and nobody has asked where the logs live. You get to use the thing this week, and you learn which tools you actually need to deny.
Run it yourself if a reviewer has already said the keys stay in your account, if your important MCP servers sit on a private network, or if your log retention requirement is longer than any managed plan offers. Pick open source if you have the people to own it and want the source. Pick a vendor's self-hosted tier if you want the product without building it. Statio's is described on the self-hosted MCP gateway page.
Questions
Start on the managed plan and deny one tool. Three servers and 10,000 calls a month, free, with no card.