Once a company has more than a few agents using the Model Context Protocol, somebody asks for a central control point. The usual answer is an MCP gateway. It is a good answer to the question it addresses, and it is often mistaken for an answer to a different one.

This article compares two kinds of product by what they are built to do. It names no vendors, because features change and every product draws its boundaries differently. Treat the descriptions as categories, and check any specific product against its own documentation.

What an MCP gateway is for

An MCP gateway sits between agents and MCP servers. Its central concern is access: which agent or user may reach which server and which tool.

Typical responsibilities include:

  • A catalogue of approved servers and tools, so that teams do not connect to whatever they find.
  • Authentication and identity across clients and servers.
  • Filtering, so that an agent sees only the tools it is entitled to use.
  • Rate limits, logging and traffic visibility.
  • In some products, inspection of content passing through.

The unit of control is the tool call. The gateway sees a tool name and arguments, applies a rule, forwards the call, and logs it. For an organisation trying to bring order to a growing number of agents and servers, that is real value. It reduces shadow integrations and gives security teams one place to look.

The question it leaves open

Consider an agent that needs to onboard a vendor, raise a purchase order and pay a deposit. Every one of those calls may be permitted. The agent is authorised, and each tool is on the approved list.

Now ask what should happen in these situations:

  • The purchase order is valid, but today’s remaining budget cannot cover it.
  • The deposit needs a finance approver, and the plan must not change after they say yes.
  • The payment is refused after the vendor and order already exist.
  • The payment call times out, and nobody knows whether the money moved.
  • An auditor asks, six months later, who approved this exact payment.

None of these is a question about tool access. They concern the business action: its facts, its approval, its failure path and its evidence. A gateway that treats each call independently has no natural place to answer them, because the answer spans several calls and depends on what each one did.

What a write gate is for

A write gate sits between agents and the systems of record they change. Its central concern is the outcome of a write.

The unit of control is a typed business operation, not a tool call. In Sefra we call it an intent. It declares its input schema, the facts a decision needs, the operation to call, how it is undone, and what an approver sees.

That changes what can be enforced:

Concern Tool-call view Business-action view
Unit A tool name and arguments A named operation with a schema
Decision May this caller use this tool May this action happen, given live facts
Approval Often a confirmation of a call Bound to the exact content of a plan
Partial failure Usually left to the caller Completed steps undone in reverse order
Lost response Usually an error to the caller An explicit state that a person settles
Credentials Varies by product and deployment Held by the gate, never by the agent
Evidence An access or traffic log A chained record of decisions and steps

The middle column describes the usual emphasis of the category. Some products go further, so ask rather than assume.

Where a write gate is the wrong tool

A write gate has costs that an access gateway does not.

Someone has to define each intent, including how it is undone. That authoring is the main cost of adopting Sefra, and nothing generates a finished intent. It makes sense for the operations that matter and would be absurd for hundreds of read-only tools.

It also does not govern what an agent reads outside its read intents, which models it calls, or how much it spends on tokens. If your main concern is a sprawl of MCP servers, a central catalogue and consistent sign-in, an MCP gateway is the more direct answer.

If your agents only read, or their writes are easy to repair by hand, you may not need a write gate at all.

Using both

The two can sit side by side, and for many organisations that is the sensible arrangement.

An MCP gateway can manage the broad surface: discovery, identity and visibility across the tools your agents use. Sefra speaks MCP and exposes each granted intent as a tool, so it can sit behind a gateway that speaks MCP revision 2026-07-28 and presents a separate token, issued for Sefra, for each agent. This arrangement is not yet part of our validated configurations. Agents reach the high-risk writes through that route. The low-risk tools carry on as they were.

One rule keeps the arrangement sound. The credentials for the systems behind the write gate must belong to the write gate alone. If an agent can still reach the payment API by another path, through the access gateway or with a key of its own, then the write gate is optional. Revoking those other routes is a required step in deploying Sefra.

How to decide

Three questions usually settle it.

What are you afraid of? If the worry is that nobody knows which agents can reach which tools, start with access control. If the worry is an agent leaving a half-finished payment in your ERP, start with the write path.

What happens after the call is allowed? Trace one important workflow to its failure cases. If the answer to a lost response is “we would look into it”, that is the gap a write gate closes.

Who has to trust the record? If only the team that runs the agent reads the logs, ordinary logging may do. If a controller or an internal auditor has to rely on it, the record needs to be checkable by someone who does not trust the system that wrote it.

Stopping an agent is the easy half. The harder half is what happens after the yes, and that is the part a write gate is built for.