Loading...
npx -y @smithery/cli install @api7/apisix-mcp --client claude{
"mcpServers": {
"apisix-mcp": {
"command": "npx",
"args": [
"-y",
"apisix-mcp"
],
"env": {
"APISIX_SERVER_HOST": "your-apisix-server-host",
"APISIX_SERVER_PORT": "your-apisix-server-port",
"APISIX_ADMIN_API_PORT": "your-apisix-admin-api-port",
"APISIX_ADMIN_API_PREFIX": "your-apisix-admin-api-prefix",
"APISIX_ADMIN_KEY": "your-apisix-api-key"
}
}
}
}get_resourceRetrieves resources from APISIX based on the specified type.
Read-only operation; does not modify any resources.
delete_resourceRemoves a resource from APISIX based on its ID.
Destructive operation; can permanently remove resources.
create_routeCreates a new route in APISIX.
Adds a new route, potentially affecting traffic routing.
update_plugin_configModifies the configuration of a plugin.
Changes plugin behavior, which can have significant impact.
get_secret_by_idRetrieves a secret from APISIX by its ID.
Exposes sensitive information; can lead to credential compromise.
create_or_update_consumerCreates or updates a consumer in APISIX.
Modifies consumer configurations, affecting access control.
The APISIX MCP server provides a convenient way to manage APISIX resources through natural language. However, it requires careful configuration and monitoring to prevent unauthorized access and destructive operations. It is safe when used with strong API key management and limited user permissions; it is risky when exposed to untrusted users or when the API key is compromised.