• PROVISION
  • ROUTING
  • AUDIT
  • HUMAN

How to deploy API services and routes with your AI

Connect Kong Gateway to your AI client once. After that, you manage your entire API gateway through conversation.

Ask AI about this page

Short answer

How can I deploy API services and routes using my AI?

You tell your AI what service you need and what URL it should respond to. The AI then executes the necessary Kong commands to build that infrastructure for you. You'll see your new services and routes appear in your gateway immediately.

The results.

Where your API changes land.

The AI handles the heavy lifting of the Kong configuration.

PROVISION

New services live

The AI creates the service definition in Kong. Your backend is now ready to be proxied.

ROUTING

Routes mapped

The AI links your new service to a specific path or host. Traffic now flows to the right place.

AUDIT

Current state check

The AI pulls existing service and route data. You get a clear view of your current gateway setup.

HUMAN

Manual oversight

You review the configurations the AI proposes. You decide when to commit changes to your production environment.

The workflow

What your AI does when a request arrives.

Your AI translates your intent into specific Kong Gateway operations.

  1. Check existing setup

    The AI looks at what you already have running to avoid naming conflicts or duplicate paths.

    get_service
  2. Build the service

    The AI defines the upstream target and the service name you requested.

    create_service
  3. Map the route

    The AI attaches a specific entry point to that service so it can receive traffic.

    create_route
  4. Verify deployment

    The AI checks the final configuration to ensure the route is correctly linked.

    get_route

Try it

Copy these to start.

Use these prompts to trigger the Kong Gateway tools.

Starting points

These are just ideas. Swap out the service names and paths for your actual backend details.

Kong Gateway Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_YvcjgDsnuK2PnJrPLDW7o9w6piYUNvhDJHjFGlVO/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Kong Gateway capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "kong-gateway-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_YvcjgDsnuK2PnJrPLDW7o9w6piYUNvhDJHjFGlVO/mcp"
    }
  }
}
Copy into chat04
  • Create a new service named 'payment-api' pointing to http://payments.internal

  • Add a route to the 'user-service' that listens on the /v1/users path

  • Show me all the services currently configured in Kong

  • Check if a route exists for the /auth endpoint

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Kong Gateway once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start managing your gateway from your favorite AI client.

Connect Kong Gateway to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete existing services?

    No. The current tools only allow for creating and retrieving services and routes.

  • 02

    Does the AI need my Kong admin password?

    No. You connect via Vinkius, and your credentials are kept secure and encrypted.

  • 03

    Can I use this to update a route's configuration?

    No. The available tools are limited to creating and getting services and routes.

  • 04

    Will the AI automatically apply changes to production?

    The AI executes the commands you request, but you should always review the proposed configuration before confirming.

  • 05

    Can the AI see my plugins?

    No. The tools provided are strictly for managing services and routes.

  • More questions about Kong Gateway? The Connector page answers them. See everything the Kong Gateway Connector can do

Connect Kong Gateway to Claude, Cursor, ChatGPT & more