gitmyhub

mcp-konnect

★ 0 updated 1y ago ⑂ fork

A Model Context Protocol (MCP) server for interacting with Kong Konnect APIs, allowing AI assistants to query and analyze Kong Gateway configurations, traffic, and analytics.

What This Does

This project lets AI assistants like Claude ask questions about your Kong API Gateway setup and get answers without needing a developer to dig through dashboards. You can ask things like "Show me all API requests that failed in the last hour" or "List all services in my gateway" and get back clean, actionable data. It bridges the gap between Kong Konnect (a platform for managing API gateways) and AI chatbots, so non-technical people can explore their API infrastructure by just talking to an AI.

How It Works

The project acts as a translator between Claude and Kong Konnect's APIs. When you ask Claude a question about your Kong setup, Claude passes that question to this MCP server, which connects to your Kong account using your API credentials, fetches the relevant data, and sends it back to Claude formatted as readable text. The server exposes about a dozen different "tools" that Claude can use, like tools for querying analytics (request counts, error rates, consumer behavior), tools for listing configuration (services, routes, plugins), and tools for managing control planes (the logical groupings that organize your gateways).

Who Would Use This

This is useful for platform teams, DevOps engineers, and site reliability engineers who want to understand API traffic and configuration without jumping between dashboards. For example, you could ask Claude to "analyze traffic from a specific customer ID over the last 24 hours" or "tell me which services have the most errors." It's particularly handy for troubleshooting—if a particular customer is having issues, you can ask Claude to pull their request history and spot patterns. The tool is still in early preview, so expect more features to come.

What's Notable

The project is designed specifically to work with Claude for Desktop and other AI assistants that support the Model Context Protocol (MCP), which is an emerging standard for letting AI systems safely query external tools. It's open source and built by Kong themselves, so it's tightly integrated with their platform. You do need a Kong Konnect account and API key to use it, and you'll need to set up a configuration file to connect it to Claude—it's a few steps but fairly straightforward for anyone comfortable with environment variables.