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.

Cursor

Page as Markdown

Connect Cursor 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. Create or edit .cursor/mcp.json in your project root.

    {
      "mcpServers": {
        "agentgateway": {
          "url": "<MCP_URL>"
        }
      }
    }
  2. Restart Cursor and verify that the agentgateway tool appears in the MCP tools list.

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/.