create_or_update_consumer
Create or update a consumer in the APISIX-MCP server by specifying a username, description, group ID, labels, and plugins. Ensures consumers are managed efficiently.
Instructions
Create a consumer, if the consumer already exists, it will be updated
Input Schema
Name | Required | Description | Default |
---|---|---|---|
desc | No | consumer description | |
group_id | No | consumer group id | |
labels | No | consumer labels | |
plugins | No | consumer plugins | |
username | Yes | consumer username |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from APISIX-MCP
- create_consumer_group
- create_global_rule
- create_or_update_consumer
- create_or_update_credential
- create_or_update_plugin_metadata
- create_or_update_proto
- create_or_update_stream_route
- create_plugin_config
- create_route
- create_secret
- create_service
- create_ssl
- create_upstream
- delete_credential
- delete_plugin_metadata
- delete_resource
- delete_secret
- get_all_plugin_names
- get_credential
- get_plugin_metadata
- get_plugin_schema
- get_resource
- get_secret_by_id
- update_consumer_group
- update_global_rule
- update_plugin_config
- update_route
- update_secret
- update_service
- update_ssl
- update_upstream
Related Tools
- @api7/apisix-mcp
- @api7/apisix-mcp
- @api7/apisix-mcp
- @api7/apisix-mcp
- @api7/apisix-mcp