messaging
RabbitMQ CLI for Headless Automation
Use the RabbitMQ CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 6 read 0 write Username and password auth
RabbitMQ CLI for Headless Automation
Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.
Use headless automation when another tool needs a stable local command surface. The RabbitMQ CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# RabbitMQ CLI for Headless Automation
kosmokrator integrations:configure rabbitmq --set username="$RABBITMQ_USERNAME" --set password="$RABBITMQ_PASSWORD" --set hostname="$RABBITMQ_HOSTNAME" --enable --read allow --write ask --json
kosmo integrations:call rabbitmq.rabbitmq_list_queues '{}' --json Discovery Before Execution
Agents and scripts can inspect RabbitMQ docs and schemas before choosing a function.
kosmo integrations:docs rabbitmq --json
kosmo integrations:docs rabbitmq.rabbitmq_list_queues --json
kosmo integrations:schema rabbitmq.rabbitmq_list_queues --json
kosmo integrations:search "RabbitMQ" --json
kosmo integrations:list --json Useful RabbitMQ CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
rabbitmq.rabbitmq_list_queues | Read | none | List all RabbitMQ queues across all virtual hosts. Returns queue names, vhost, message counts, consumer counts, and state. |
rabbitmq.rabbitmq_get_queue | Read | vhost, name | Get detailed information about a specific RabbitMQ queue, including message counts, consumers, bindings, policy, and arguments. |
rabbitmq.rabbitmq_list_exchanges | Read | none | List all RabbitMQ exchanges across all virtual hosts. Returns exchange names, types, vhost, and durability. |
rabbitmq.rabbitmq_list_connections | Read | none | List all active RabbitMQ AMQP connections. Returns client info, peer host/port, channels, and connection state. |
rabbitmq.rabbitmq_list_vhosts | Read | none | List all RabbitMQ virtual hosts. Returns vhost names, tracing status, and message counts. |
rabbitmq.rabbitmq_get_overview | Read | none | Get RabbitMQ cluster overview — node info, RabbitMQ version, message rates, queue totals, and listener ports. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.