Getting AI under control

Putting AI agents and MCP into production safely

The agent worked in the demo. It looked up the order, raised the ticket and drafted the reply. Now someone has to sign off putting it in front of customers, and the questions start. Whose permissions does it use? Which systems can it reach? What stops it calling a tool it should not? Who pays for its tokens, and what record is there when it gets something wrong?

Most agent projects stall at exactly this point, not because the agent is poor but because nobody can answer those questions yet.

What does it take to run AI agents and MCP in production?

Production agents need what production applications have always needed, applied to three new kinds of traffic: calls to models, calls to tools over the Model Context Protocol, and calls to other agents. Each call needs an identity, a rule about what it may reach, a limit on what it can consume and a record of what happened, and those rules need to follow the person the agent is acting for.

The practical way to provide that is one gateway for all three kinds of traffic rather than controls built into every agent. Tools are published once through a governed catalogue, each agent sees only the tools it is entitled to, MCP connections are authorised with OAuth, agent to agent calls are authenticated, and every step is traced and costed. The agent team gets on with the agent, and the controls are already in place.

Agents in production through one governed gatewayThree agents, each acting for a named user, call through Kong, which applies identity with OAuth for MCP, a scoped tool catalogue, token and cost limits per agent, and a trace of every step. Calls reach MCP tools built from your APIs, models and other agents over A2A, while a call to a tool outside the agent’s scope is refused and logged.Support agentacting fora named userCoding agentacting fora named userFinance agentacting fora named userKONG AI GATEWAY AND AGENT GATEWAYIdentityOAuth for MCPTool cataloguescoped per agentLimitstokens and costTraceevery step recordedMCP toolsyour APIs,published onceModelsand other agentsover A2AOut of scoperefusedand logged
Every agent call gets an identity, a scope, a limit and a trace, whether it goes to a model, a tool or another agent.

How Kong solves it

Kong for agent traffic: models, tools and other agents

Your APIs as MCP tools

AI MCP Proxy turns existing APIs into MCP tools and can present several APIs as one MCP server, and Konnect can generate an MCP server from APIs already published to a developer portal. Agents get tools without anyone hand building connectors.

One governed tool catalogue

MCP server bundling in Kong AI Gateway 2.0 exposes many MCP servers through one Kong route, and access control means each agent or user sees only the tools they are permitted to use.

OAuth for MCP

AI MCP OAuth2 secures MCP servers using the OAuth 2.0 authorisation approach in the MCP specification, so an agent’s access to a tool rests on an authorised identity rather than a shared secret.

Agent to agent traffic

Kong Agent Gateway governs traffic between agents over the A2A protocol, with agent identity and authentication, observability, cost allocation by agent and audit logging.

Limits per agent

Token and cost limits apply per agent, consumer or user, so an agent stuck in a loop hits its own limit long before it reaches the monthly budget.

A trace of every step

Model, tool and agent calls are logged and can be exported over OpenTelemetry, so a decision an agent made can be followed step by step afterwards.

Sources: Kong, AI MCP Proxy plugin; Kong, MCP documentation; Kong, AI MCP OAuth2 plugin; Kong, AI Gateway 2.0 release; Kong, Agent Gateway announcement.

What C4C does

From pilot to production

Official Kong partner in the UK

We work with the team that built the agent and the people who have to approve it. Together we list the tools and data the agent needs, the identity it acts under and the limits it should run within, and we put those into Kong as policy before go live. Existing APIs are published as governed MCP tools, the tool catalogue is scoped per agent, and traces flow into your monitoring so the first incident review has evidence to work from.

The same platform is then ready for the next agent, which starts with the controls already in place. As an official Kong partner in the UK we supply, implement and support Kong.

Talk to us

Get the agent signed off

  1. Tell us about the agent: what it does, which systems and tools it needs, and who has to approve it.
  2. We come back with the identity, tool access, limits and tracing it needs for production, and how Kong provides each.
  3. We implement it with your platform and security teams and leave a pattern every later agent can follow.

We reply within one working day. Prefer email? Write to us at hello@c4cgroup.co.uk.

Prefer email? Write to us at hello@c4cgroup.co.uk.

Questions

AI agents and MCP in production: frequently asked questions

Do we need a separate gateway for AI agents?

No. Kong governs API, AI model, MCP and agent to agent traffic in one platform managed from Konnect, so agents share the identity, policy and logging the rest of the estate already uses.

Can Kong turn our existing APIs into MCP tools?

Yes. AI MCP Proxy converts existing APIs into MCP tools and can present several APIs as one MCP server, and Konnect can generate an MCP server from APIs already published in its developer portal.

How do we stop an agent calling tools it should not?

Publish tools through one governed catalogue and scope access per agent and per user. With MCP server bundling and access control in Kong, each agent sees only the tools it is entitled to, and calls to anything else are refused at the gateway.

What is the A2A protocol?

Agent2Agent, or A2A, is an open protocol for agents to discover and call one another. Kong Agent Gateway puts A2A traffic under the same identity, logging and cost controls as API and MCP traffic.

Where should we start?

With one agent that matters and the handful of tools it needs. Getting that agent into production with identity, tool scoping, limits and tracing in place sets the pattern every later agent follows.

Related Kong use cases

Further reading