Queue-AIops is a community-maintained open-source project that aims to provide governed AI operations capabilities for teams that manage Redis and RabbitMQ themselves. It exposes a set of tools to AI agents or operations personnel through an MCP server and CLI, covering both read and write operations, with a built-in governance framework that ensures every call is recorded.
Purpose
The tool primarily addresses the need for troubleshooting and day-to-day operations of Redis and RabbitMQ in the absence of an enterprise-grade observability suite. Typical scenarios include: a sudden spike in Redis memory, or a RabbitMQ queue backlog causing publishers to block. It provides transparent root cause analysis (RCA) to help locate issues such as memory pressure, latency, queue backlog, and frequent connection changes.
Key capabilities
- 28 MCP tools: including 20 read tools (with 4 flagship RCAs) and 8 governed write tools.
- Four RCAs: based on transparent heuristic rules, reporting concrete values and evidence, with thresholds expressed as named constants rather than black-box determinations. Big-key sampling uses SCAN to traverse up to 10,000 keys and MEMORY USAGE to measure the size of up to 200 keys, reporting coverage.
- Governance framework: every tool call (whether via MCP or CLI) generates an audit record in
~/.queue-aiops/audit.db(relocatable viaQUEUE_AIOPS_HOME), with sensitive information redacted. It supports budget/runaway protection (call count and time limits, environment variablesQUEUE_MAX_TOOL_CALLS、QUEUE_MAX_TOOL_SECONDS), as well as a runaway-loop circuit breaker. Risk levels are recorded as descriptive labels in the audit line and do not constitute an authorization gate. - Undo capability: reversible writes first capture the actual prior state (e.g.,
redis_config_setrecords the original value,set_policy/delete_policyrecords the original policy,delete_queuerecords the queue definition and the queue can be re-declared via undo, but messages are not restored). Irreversible writes (purge_queue、redis_kill_client) only record the prior state. - Dry run and double confirmation: every write operation supports
dry_run=True(MCP) or--dry-run(CLI). CLI writes require double confirmation and are executed through the same governed functions, so they also enter the audit log.purge_queueanddelete_queueare high-risk operations that require a dry run plus double confirmation in the CLI. - Credential management: credentials are stored encrypted in
~/.queue-aiops/secrets.enc(Fernet + scrypt master password; for non-interactive use, theQUEUE_AIOPS_MASTER_PASSWORDenvironment variable can be used). The Redis password is optional, supporting unauthenticated experimental instances.
Usage
- As a Claude Code plugin: a single install provides both the skill and the MCP server. The MCP server is obtained via uv and pinned to the package version declared by the plugin, making audit lines traceable. Credentials still need to be configured via
queue-aiops init. - As an OpenClaw plugin: published on ClawHub, a single install provides both the skill and the MCP server. After installation, the OpenClaw gateway must be restarted. The MCP server is obtained via uv and pinned to that version, so
uvxmust be in PATH, otherwise the skill will still install but will report "Visible to model: No". - As a CLI or standalone MCP server: you can use the command line directly or configure an MCP client. MCP clients start the server with a minimal environment, so the required environment variables (such as
QUEUE_AIOPS_MASTER_PASSWORD, relocatedQUEUE_AIOPS_HOME, optionalQUEUE_AUDIT_APPROVED_BY/QUEUE_AUDIT_RATIONALE) must be set in the env block, not only in the terminal.
When to use
Suitable for teams running their own Redis and RabbitMQ, especially those lacking an enterprise-grade observability suite and needing AI-assisted troubleshooting and controlled operations. The tools themselves do not decide whether writes are allowed; permissions are controlled by the connected account (for example, using an ACL user restricted to read-only commands for the Redis connection, or granting only the monitoring tag to the RabbitMQ management user), and writes will fail at the proxy layer.
Limitations
- Behavior is covered by a simulation-based test suite and has not yet been validated against live proxies (but has been validated live against Redis 7.4.9 and RabbitMQ 3.13.7, see below).
- Redis cluster/sentinel topologies and AUTH/TLS connections have not yet been validated.
- The tools do not provide a read-only switch, policy file, or approval gate configuration; the only guarantee is that no call is silent.
- The project is community-maintained and is not affiliated with, endorsed by, or sponsored by the Redis and RabbitMQ projects or their owners.
Validation status
Validated live against Redis 7.4.9 and RabbitMQ 3.13.7 (2026-07-19/20). Connectivity, all Redis reads (cross-checked against the redis-cli baseline), all four analyses, and the full governance loop (real redis_config_set → audit row → revoke and restore the original value) were all executed on real servers. That run found and fixed a real defect: integer counts (key count, client count, total bytes) were rendered as floating-point numbers (such as 202.0 keys), and equality assertions could not catch this problem. The RabbitMQ group has also been validated end to end—reads cross-checked against rabbitmqadmin,set_policy → undo_apply closed on the live proxy.docs/VERIFICATION.md records the specific checks performed and the issues still to be resolved.queue-aiops doctor is the fastest live check command.
Missing features
If you need additional read features (streams/consumer groups, quorum queue details, shovel/federation status), other proxy platforms, or unsuitable thresholds, you can submit an issue or PR in the GitHub repository. Platform registry entries are incremental and small.