What is APISIX Mcp?
APISIX Mcp is a Model Context Protocol (MCP) server that bridges large language models (LLMs) with the APISIX Admin API. It enables natural language–based interaction for viewing and managing APISIX resources through MCP‑compatible AI clients.
How to use APISIX Mcp?
Install via Smithery (npx -y @smithery/cli install @api7/apisix-mcp), npm (npx -y apisix-mcp), or from source (clone repo, pnpm install && pnpm build, then run node dist/index.js). Configure your AI client (Cursor, Claude, Copilot, etc.) with the required environment variables (APISIX_SERVER_HOST, APISIX_SERVER_PORT, APISIX_ADMIN_API_PORT, APISIX_ADMIN_API_PREFIX, APISIX_ADMIN_KEY). A running APISIX instance is a prerequisite.
Key features of APISIX Mcp
- Manage routes, services, upstreams, and SSL certificates.
- Create and update plugin configurations and global rules.
- Handle secrets, consumers, and consumer credentials.
- Retrieve plugin names, schemas, and metadata.
- Send test requests to the APISIX gateway.
- Install via Smithery, npm, or source code.
Use cases of APISIX Mcp
- Configure APISIX routes using natural language from an AI assistant.
- Automate plugin settings without manual API calls.
- Query and update upstream definitions through conversational commands.
- Manage consumer credentials and secret stores interactively.
コメント