How to Use the Apache APISIX MCP in Claude Code
Run headless Apache APISIX configuration audits and hot-reloads directly from your terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Apache APISIX MCP to Claude Code
Create your Vinkius account to connect Apache APISIX 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.
Run Headless Diagnostics with the Claude Code MCP Server
This MCP Server uses `dump_control_discovery` and `trigger_control_gc` to let you perform low-level gateway maintenance directly from your shell. SREs can pipe gateway endpoint dumps into local CLI tools for instant network analysis. Claude Code executes these diagnostics headlessly, making it perfect for rapid SSH debugging sessions. You can trigger garbage collection on your Lua VM without logging into the gateway admin panel.
CI/CD Pipeline Route Validation
The `get_control_schema` and `put_route` tools allow Claude Code to act as a validation gate in your deployment pipelines. The agent runs inside your terminal environment, checking new route payloads against the live gateway schema before applying them. If the schemas match, the agent deploys the route and prints the success status to stdout. This keeps your deployment scripts light and eliminates manual verification steps.
Global Rule and SSL Rotations
You can automate security tasks using `put_ssl` and `put_global_rule` through the Claude Code command line. The agent reads your local certificate files, packages them into the required JSON format, and updates your gateway TLS settings. Because it runs entirely in the terminal, you can easily script these certificate rotations. The agent confirms the new SSL configuration is active before terminating its session.
Set up Apache APISIX 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 seeapache-apisix-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Apache APISIX transactions." It will automatically discover and invoke the available Apache APISIX tools.
claude mcp add --transport http apache-apisix-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 Apache APISIX MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Apache APISIX MCP today
We host it, we monitor it, we maintain it. You just paste one token.