Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

rabbitmqadmin

$ rabbitmqadmin Official Med Risk
RabbitMQ (Broadcom) · Database & Data · MPL-2.0 · macos / linux / windows

rabbitmqadmin interacts with RabbitMQ's HTTP Management API to list queues, exchanges, bindings, connections, and publish/get messages without requiring Erlang cluster distribution access. Supports -f raw_json / pretty_json output and --vhost scoping.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install rabbitmq
CLI vs MCP Decision CLI Preferred vs MCP

rabbitmqadmin list queues -f raw_json plus positional column filtering gives compact JSON snapshots directly in shell pipelines.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports -f raw_json / pretty_json and column projection (list queues name messages), making it highly token-efficient once connected.

  • Supports -f raw_json and positional field projection
Trust & Safety 18 / 25

--vhost scoping and ~/.rabbitmqadmin.conf profiles help isolate targets, though purge queue and delete queue lack --dry-run and -p risks shell-history exposure.

  • Supports --vhost scoping
  • Lacks --dry-run; inline -p <password> is discouraged vs .rabbitmqadmin.conf
Setup & Portability 11 / 15

Bundled with RabbitMQ (brew install rabbitmq) or downloaded from a broker's /cli/rabbitmqadmin endpoint; classic v1 requires Python 3, while v2 is a standalone Rust rewrite.

  • Requires either Python 3 runtime (v1 script) or v2 binary download
Utility & Efficiency 12 / 15

Inspects queues, exchanges, bindings, and dead-letter backlogs over HTTP without Erlang CLI access.

  • Covers full RabbitMQ Management HTTP API
Maintenance & Lineage 8 / 10

Official RabbitMQ (rabbitmq/rabbitmq-server) component under MPL-2.0 license.

  • Official rabbitmq/rabbitmq-server project under MPL-2.0
Docs & Verifiability 7 / 10

Clear usage docs at rabbitmq.com/docs/management-cli, though v1 Python and v2 Rust CLI flags differ across broker versions.

  • Official management CLI guide at rabbitmq.com

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Reads node profiles from ~/.rabbitmqadmin.conf or accepts -H, -P, -u, -p, and --vhost flags.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

MPL-2.0 open-source CLI bundled with RabbitMQ Management plugin; free to use.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# rabbitmqadmin Agent Rules
- Always pass `-f raw_json` (and explicit column names on `list`) when inspecting queues or exchanges.
- Never run `delete queue`, `purge queue`, or `close connection` without explicit user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

List queues and message counts as raw JSON
rabbitmqadmin list queues -f raw_json name messages consumers

Queries the RabbitMQ Management HTTP API and prints compact JSON with only selected columns.

Inspect bindings in a specific vhost
rabbitmqadmin --vhost=/ list bindings -f raw_json

Lists exchange-to-queue routing keys as structured JSON without modifying broker state.

Controlled Writes & Previews

Publish a test message to an exchange
rabbitmqadmin publish exchange=amq.default routing_key=jobs payload='{"job":"ping"}'

Publishes a single message to the jobs queue via the default exchange.

Strengths for Agents

  • + -f raw_json plus column selection returns compact, jq-ready JSON.
  • + Operates over HTTP Management port (15672), avoiding Erlang cookie setup.
  • + Supports --vhost and ~/.rabbitmqadmin.conf node profiles.

Caveats & Pitfalls

  • ! Requires the rabbitmq_management plugin to be enabled on the broker.
  • ! Classic v1 script needs Python 3 and uses key=value args on publish, differing from newer v2 flags.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI