Agents and AI on Kong

Give an AI agent access to Konnect, and run your AI traffic through Kong.

Start here: Connect your agent to Konnect

Copy this prompt into your agent:

Connect to the Konnect MCP server at https://us.mcp.konghq.com. If my Konnect org is in another region, use eu, au, or in instead of us. If your client supports it, sign in to Konnect in the browser when asked. Otherwise, ask me for a Konnect personal access token and send it as an Authorization: Bearer header.

Then use the agent instructions on https://developer.konghq.com/ai-gateway/get-started/ to create an AI Gateway and start a local data plane for it. The setup is done when the data plane node shows as connected in Konnect.

To add the MCP server yourself in Claude Code:

claude mcp add --transport http kong-konnect https://us.mcp.konghq.com

For other clients, see Install Kong Konnect MCP Server.

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!