How to Use the Kong (AI API Gateway) MCP in Claude Code
Manage your Kong (AI API Gateway) infrastructure from the terminal using the Claude Code CLI.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Kong (AI API Gateway) MCP to Claude Code
Create your Vinkius account to connect Kong (AI API Gateway) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Script Backend Service Registration
The `create_service` tool registers upstream service targets into your Kong gateway directly from your terminal session. Claude Code runs this command to declare your backend endpoints inside shell scripts or CI/CD pipelines. You get instant service provisioning without opening a browser. Following service creation, the agent executes `create_route` to bind public paths to the new upstream. This allows you to script complete environment setups from a single terminal prompt. It cuts out the manual configuration steps for your DevOps workflows.
Terminal-Driven AI Routing
The `create_ai_plugin` tool configures the `ai-proxy` plugin to manage LLM routing and hide provider keys. Claude Code uses this to quickly spin up secure gateways for your model deployments. It is ideal for SREs who need to provision AI endpoints from the command line. If an upstream model goes down or needs tuning, Claude Code calls `update_plugin` to swap providers or adjust rate limits. You can run these updates interactively or drop them into automated cron jobs. This keeps your AI infrastructure adaptive and secure.
Audit Gateway State in Claude Code
The `list_services` tool outputs all active backend services registered in your gateway. Claude Code uses this to verify the state of your infrastructure before applying updates or running migrations. It gives you raw, accurate data directly in your shell. To get a complete map of your active configuration, the agent combines this with `list_routes` and `list_plugins`. This outputs your entire routing topology and active security middleware. You can easily pipe this output to other CLI utilities for deep inspection.
Set up Kong (AI API Gateway) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seekong-ai-api-gateway-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Kong (AI API Gateway) transactions." It will automatically discover and invoke the available Kong (AI API Gateway) tools.
claude mcp add --transport http kong-ai-api-gateway-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Kong (AI API Gateway) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Kong (AI API Gateway) MCP today
We host it, we monitor it, we maintain it. You just paste one token.