Skip to content
agentgateway has joined the Agentic AI FoundationLearn more

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Claude Code

Page as Markdown

Connect the Claude Code CLI to an MCP server exposed through agentgateway on Kubernetes

Before you begin

  1. Set up an agentgateway proxy.
  2. Deploy an MCP server and expose it through agentgateway with an HTTPRoute.
  3. Get the MCP endpoint URL for your proxy, and use it in place of <MCP_URL> in the following steps.

Configuration

  1. Add the MCP server to your Claude configuration.

    claude mcp add agentgateway --transport http <MCP_URL>
  2. Verify the connection.

    claude mcp list

The agentgateway server shows up as Connected.

Was this page helpful?
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.