• ROUTING
  • SERVICES
  • CLEANUP
  • HUMAN

How to manage API routes and services with your AI

Connect Apache APISIX to your AI client once. From there, you direct traffic and manage service abstractions using natural language.

Ask AI about this page

Short answer

How can I use AI to manage my Apache APISIX setup?

You use your AI to execute specific routing and service commands. It handles the technical API calls to create, modify, or remove traffic logic based on your instructions. You get full control over your gateway configuration through a chat interface.

Where every change lands.

Routing and service outcomes

The AI translates your intent into specific gateway configurations.

ROUTING

Updated traffic paths

The AI modifies how requests hit your backend. You get new or updated routes without touching a config file.

SERVICES

Managed service abstractions

Your AI handles the service definitions that group your upstream targets. It keeps your service layer organized.

CLEANUP

Removed legacy logic

When you're done with a route or service, the AI deletes it. This keeps your gateway clean and prevents stale rules.

HUMAN

Manual oversight needed

You decide which routes are safe to delete or change. The AI performs the action, but you own the logic.

The workflow

What your AI does when a request arrives.

The AI acts as a bridge between your intent and the Apache APISIX API.

  1. Inspect current state

    The AI looks at your existing configuration to understand what is currently running. This provides context before any changes occur.

    list_routeslist_services
  2. Analyze specific targets

    It pulls the exact details of a single route or service to ensure the next command is accurate.

    get_routeget_service
  3. Apply changes

    The AI pushes new routing rules or updates service definitions to match your requirements.

    put_routeput_service
  4. Remove old logic

    It clears out outdated routes or services that are no longer needed in your environment.

    delete_routedelete_service

Try it

Copy these to start.

Use these prompts to begin interacting with your gateway.

Starting points

Swap the bracketed text for your actual route IDs or service names.

Apache APISIX Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_uvuQ6vDEh3EK8RpcSSCqKlnF1NufI3SlkBIczBCN/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 — Apache APISIX capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "apache-apisix-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_uvuQ6vDEh3EK8RpcSSCqKlnF1NufI3SlkBIczBCN/mcp"
    }
  }
}
Copy into chat04
  • List all my current routes so I can see what's active.

  • Get the details for the service named 'payment-api'.

  • Create a new route for the path /v1/users.

  • Delete the route with ID 12345.

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

Start here

Connect Apache APISIX once, then ask.

One connection links your AI to your gateway. Your credentials stay encrypted, and you can start managing traffic immediately.

Connect Apache APISIX to your AI

FAQ

How this task behaves.

  • 01

    Can the AI create new plugins?

    No. The AI only manages routes and services using the available tools.

  • 02

    Will the AI delete my entire configuration?

    No. The AI only deletes specific routes or services that you explicitly tell it to remove.

  • 03

    Can I see what the AI is about to do?

    Yes. You can ask the AI to list or get the current configuration before you tell it to make any changes.

  • 04

    Does the AI handle authentication logic?

    No. It manages the routing and service abstractions, but it does not manage user credentials or auth policies.

  • 05

    Can the AI update an existing route?

    Yes. It uses the update tools to modify existing routing logic based on your instructions.

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

Connect Apache APISIX to Claude, Cursor, ChatGPT & more