v61

latestOpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-018131,3812.6 MB
MCP Servers

Get Kong entities for the MCP Server Gateway

Pre-release Endpoint This endpoint is currently in beta and is subject to change.

Retrieves Kong entities (Routes, Services, Plugins) for the Gateway in front of the MCP Server.

get/v1/mcp-cp/{controlPlaneId}/mcp-servers/{mcpServerId}/kong-entities

Query parameters

runtime_versionstring
Example:3.13.0.0

Kong Gateway runtime version to generate entities for

Response

Kong entities for the MCP server

Example response

{
  "routes": [
    {
      "name": "mcp-test-route-jsonrpc",
      "paths": [
        "/mcp/test-service"
      ],
      "methods": [
        "POST"
      ]
    }
  ],
  "services": [
    {
      "name": "mcp-test-service",
      "protocol": "https",
      "host": "mcp-test-service.svc.cluster.local",
      "port": 80,
      "path": "/"
    }
  ]
}