create_consumer_group
Create a consumer group
Manage an APISIX gateway in conversation — routes, upstreams, plugins, consumers and certificates.
LABSCO SUMMARY
Most of the surface is CRUD over the Admin API, which is what makes it useful for bulk edits and for reading a configuration you did not write. The tool that changes the loop is the request sender: create or edit a route, then push traffic through the gateway in the same session and see whether it matched.
A server in front of the APISIX Admin API. It reads and writes the gateway's configuration objects — routes, services, upstreams, SSL certificates, plugins, consumers and secrets — and can fire requests at the gateway itself to see what the configuration actually does.
A reachable APISIX instance and its Admin API key. Host and Admin API details are supplied as environment settings. Runs under Node from the published package, or from a build of the repository.
One command — npx -y apisix-mcp
USE CASES
Create the upstream with its load-balancing settings, attach a service, add the route, then send a request through the gateway to confirm it matches.
List resources by type and pull individual ones by ID, instead of paging through a dashboard.
Read the plugin's schema first, then write the plugin config or the global rule that uses it.
Create or update the consumer, attach a credential to it, and group it with the others that share the same rules.
Update the SSL certificate or the secret in place rather than re-uploading the whole object.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
create_consumer_groupCreate a consumer group
create_global_ruleCreate a global rule
create_or_update_consumerCreate a consumer, if the consumer already exists, it will be updated
create_or_update_credentialCreate or update a credential for a consumer
create_or_update_plugin_metadataCreate or update plugin metadata
create_or_update_protoCreate a proto, if the proto already exists, it will be updated
create_or_update_stream_routeCreate a stream route, if the stream route already exists, it will be updated
create_plugin_configCreate a new plugin config
create_routeCreate a route
create_secretCreate a secret
create_serviceCreate a service
create_sslCreate an SSL certificate
create_upstreamCreate an upstream service with load balancing settings
delete_credentialDelete a credential for a consumer
delete_plugin_metadataDelete plugin metadata
delete_resourceDelete a resource by ID
delete_secretDelete a secret by ID
get_all_plugin_namesGet all plugin names
get_credentialGet all credentials or a specific credential for a consumer
get_plugin_metadataGet metadata for a specific plugin
get_plugin_schemaGet all plugins schema or a specific plugin schema by name
get_resourceGet resource details by ID or list all resources
get_secret_by_idGet a secret by ID
send_request_to_gatewaySend a request or multiple requests to the APISIX gateway
update_consumer_groupUpdate specific attributes of an existing consumer group
update_global_ruleUpdate specific attributes of an existing global rule
update_plugin_configUpdate a plugin config
update_routeUpdate specific attributes of an existing route
update_secretUpdate specific attributes of an existing secret
update_serviceUpdate specific attributes of an existing service
update_sslUpdate specific attributes of an existing SSL certificate
update_upstreamUpdate specific attributes of an existing upstream
BEFORE YOU INSTALL
32 tools when we connected.
CONTEXT COST
Rated by the size of the 32 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"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_ADMIN_KEY>"
}
}
}
}npx -y apisix-mcp