Skip to main content
Glama

Kong Konnect MCP Server

Official
by Kong

list_routes

Retrieve and manage all routes linked to a specific control plane, including details like protocols, methods, hosts, and paths. Supports pagination for efficient route inspection and configuration.

Instructions

List all routes associated with a control plane.

INPUT:

  • controlPlaneId: String - ID of the control plane

  • size: Number - Number of routes to return (1-1000, default: 100)

  • offset: String (optional) - Pagination offset token from previous response

OUTPUT:

  • metadata: Object - Contains controlPlaneId, size, offset, nextOffset, totalCount

  • routes: Array - List of routes with details for each including:

    • routeId: String - Unique identifier for the route

    • name: String - Display name of the route

    • protocols: Array - Protocols this route accepts (http, https, grpc, etc.)

    • methods: Array - HTTP methods this route accepts

    • hosts: Array - Hostnames this route matches

    • paths: Array - URL paths this route matches

    • stripPath: Boolean - Whether to strip the matched path prefix

    • preserveHost: Boolean - Whether to preserve the host header

    • serviceId: String - ID of the service this route forwards to

    • enabled: Boolean - Whether the route is enabled

    • metadata: Object - Creation and update timestamps

  • relatedTools: Array - List of related tools for further analysis

Input Schema

NameRequiredDescriptionDefault
controlPlaneIdYesControl Plane ID (obtainable from list-control-planes tool)
offsetNoOffset token for pagination (from previous response)
sizeNoNumber of routes to return

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "controlPlaneId": { "description": "Control Plane ID (obtainable from list-control-planes tool)", "type": "string" }, "offset": { "description": "Offset token for pagination (from previous response)", "type": "string" }, "size": { "default": 100, "description": "Number of routes to return", "maximum": 1000, "minimum": 1, "type": "integer" } }, "required": [ "controlPlaneId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kong/mcp-konnect'

If you have feedback or need assistance with the MCP directory API, please join our Discord server