RedisおよびRabbitMQのメモリ、レイテンシ、キューのバックログ診断など、根本原因分析と運用を行うための管理されたツールをAIエージェントに提供します。
別名 AIops-tools/Queue-AIops, queue-aiops
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- 771
- 最新バージョン
- 0.12.0
- 最終コミット
- 2026年10月30日
- ライセンス
- MIT
Queue AIops MCPとは
Queue AIopsはMCPサーバーです。 RedisおよびRabbitMQのメモリ、レイテンシ、キューのバックログ診断など、根本原因分析と運用を行うための管理されたツールをAIエージェントに提供します。.
プロジェクトのREADMEから生成された概要
Queue AIops MCP server について
Queue AIopsは、RedisおよびRabbitMQインスタンスを管理するための管理されたツールセットを提供します。これは、フル機能のエンタープライズ向けオブザーバビリティスイートを導入せずに、根本原因分析機能を必要とする、独自のキャッシュやメッセージブローカーを運用しているチーム向けに設計されています。このサーバーを使用すると、AIエージェントまたは人間のオペレーターが、専用の分析ツールを通じて、メモリ圧迫、レイテンシ、キューのバックログ、接続の変動などの問題を診断できます。
ユーザーは、uvxを使用してスタンドアロンのMCP serverとしてデプロイするか、Claude CodeやOpenClaw用のプラグインを介して統合できます。システムには、20個の読み取り操作と8個の管理された書き込みからなる計28個のツールが含まれています。このツールは認可ゲートとして機能するわけではありませんが、すべてのアクションがローカルの監査データベースに記録されることを保証します。また、リスクティアのラベル付け、暴走ループを防ぐためのコール予算管理、特定の構成変更やキューの宣言を元に戻すためのundoメカニズムを含むセーフティハーネスも備えています。
セットアップには、初期化ウィザードを通じて認証情報を設定する必要があり、暗号化されたシークレットがローカルに保存されます。サーバーは、RESPプロトコルを介したRedis、および管理プラグインのHTTP APIを介したRabbitMQをサポートしています。ユーザーは、組み込みのdoctorコマンドを使用して、接続性と設定を確認できます。
できること
- 1Redisのメモリ問題の診断エージェントにRedisのメモリ圧迫に関する根本原因分析を実行させ、大きなキーやエビクションの問題を特定させます。
- 2RabbitMQのキューバックログの調査RabbitMQのキューが増加している理由と、コンシューマーがアクティブであるかどうかについての診断レポートを要求します。
- 3誤った構成変更の取り消しundo機能を使用して、変更後のRedis構成設定を以前の状態に復元します。
- 4ブローカー操作の監査ローカルの監査データベースを確認して、AIエージェントによって実行されたすべてのコマンドの履歴をレビューします。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Queue AIops MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにQueue AIops MCPをインストール
$ claude mcp add queue-aiops -- uvx queue-aiopsCursorにQueue AIops MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"queue-aiops": {
"command": "uvx",
"args": [
"queue-aiops"
]
}
}
}VS CodeにQueue AIops MCPをインストール
.vscode/mcp.json
{
"servers": {
"queue-aiops": {
"type": "stdio",
"command": "uvx",
"args": [
"queue-aiops"
]
}
}
}VS Code CLIにQueue AIops MCPをインストール
$ code --add-mcp '{"name":"queue-aiops","type":"stdio","command":"uvx","args":["queue-aiops"]}'Claude DesktopにQueue AIops MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"queue-aiops": {
"command": "uvx",
"args": [
"queue-aiops"
]
}
}
}CodexにQueue AIops MCPをインストール
$ codex mcp add queue-aiops -- uvx queue-aiopsCodex config.tomlにQueue AIops MCPをインストール
~/.codex/config.toml
[mcp_servers.queue-aiops] command = "uvx" args = ["queue-aiops"]
Gemini CLIにQueue AIops MCPをインストール
$ gemini mcp add -s user queue-aiops uvx -- queue-aiopsGemini settings.jsonにQueue AIops MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"queue-aiops": {
"command": "uvx",
"args": [
"queue-aiops"
]
}
}
}設定
QUEUE_AIOPS_MASTER_PASSWORD
| 名前 | 説明 | 種類 |
|---|---|---|
| QUEUE_AIOPS_MASTER_PASSWORD | — |
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能aiops-tools/queue-aiops is public and reachablegithub.com/aiops-tools/queue-aiops ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)Sigstore attestation for queue-aiopspypi.org/project/queue-aiops/ ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-30github.com/aiops-tools/queue-aiops ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from queue-aiops合格
- パッケージおよびその依存関係に重大な勧告なし42 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るQueue AIops
Audit availability: Real writes require a committed
pendingaudit row and stop before contacting the platform if storage is unavailable. Reads and previews may continue with a warning; new audit rows store outcome summaries rather than full responses.
Governed AI-ops for redis + rabbitmq. queue-aiops is for the team running their own cache and message broker — a redis that "suddenly eats memory", a rabbitmq whose queues quietly grow until publishers block — without an enterprise observability suite. It gives an AI agent (or a human at the CLI) a governed toolset over both: transparent root-cause analyses for memory pressure, latency, queue backlog, and connection churn, plus the handful of writes an operator actually needs (config set, client kill, purge/delete queue, policies) — every call audited, budgeted, risk-tiered, and undo-recorded by the built-in governance harness.
Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by the Redis or RabbitMQ projects or their respective owners. Redis and RabbitMQ are trademarks of their respective owners.
Verification: behaviour is covered by a mock-based test suite; not yet validated against live brokers. Both redis and rabbitmq are free/self-hostable (one lab container or package install each), so a lab check is easy —
queue-aiops doctoris the fastest live probe, and docs/VERIFICATION.md is the checklist.
Quick start
As a Claude Code plugin
One install gives an agent both the skill and the MCP server:
/plugin marketplace add AIops-tools/marketplace
/plugin install queue-aiops@aiops-tools
The MCP server is fetched with uv and pinned to the
package version this plugin declares, so an audit row can be traced back to the
code that wrote it. Credentials are still configured with queue-aiops init — see below.
As an OpenClaw plugin
The same bundle is published on ClawHub, where one install delivers the skill and its MCP server together:
openclaw plugins install clawhub:@zw008/queue-aiops
openclaw skills info queue-aiops # expect: Visible to model: yes
Restart the OpenClaw gateway afterwards so it loads the plugin. The MCP server is
fetched with uv, pinned to this exact release, so
uvx has to be on PATH — without it the skill still installs but reports
Visible to model: no. Credentials are configured exactly as below.
As a CLI or standalone MCP server
uv tool install queue-aiops
queue-aiops init # wizard: pick platform (redis/rabbitmq), host/port, encrypted secret
queue-aiops doctor # config + secret + connectivity check (PING / /api/overview)
queue-aiops overview # one-shot health summary for the default target
Then the interesting parts:
queue-aiops analyze memory # redis memory-pressure RCA (maxmemory, eviction, frag, big keys)
queue-aiops analyze latency # redis latency RCA (slowlog digest, fork/AOF stalls)
queue-aiops analyze backlog # rabbitmq queue-backlog RCA (consumers, unacked, watermarks)
queue-aiops analyze churn # connection churn, both platforms
queue-aiops redis bigkeys # SCAN-budgeted big-key sample (never KEYS *)
queue-aiops rabbitmq queues # deepest backlog first
What this tool does, and does not, decide
It delivers broker operations — reads and writes — accurately and efficiently,
and records every one of them. It does not decide whether a write is allowed
to happen. That is the agent's judgement, or the permission of the account you
connect it with: give the Redis connection an ACL user restricted to read
commands, or the RabbitMQ management user only the monitoring tag, and the
writes fail at the broker — the place that actually owns the permission.
So there is no read-only switch, no policy file, no approval gate to configure.
The one thing the tool guarantees is that nothing is silent: every call, over
MCP and over the CLI alike, lands an audit row in ~/.queue-aiops/audit.db,
and reversible writes still capture their before-state and record an inverse.
Each tool declares a
risk_level, kept in agreement with its[READ]/[WRITE]documentation tag by a test, and carried into the audit row as a descriptive tier — so a reviewer can see at a glance that a row was a high-risk delete. It is a label, not a gate.
Running a smaller / local model? See agent-guardrails.md — it lists the guardrails this tool now enforces for you (so you don't spend prompt budget restating them) and gives a ready-made system prompt for what's left.
Support scope
| Platform | Protocol | Coverage |
|---|---|---|
redis (5.x–7.x wire protocol via redis Python client) |
RESP, password optional, TLS optional | INFO (server/memory/clients/stats/persistence/keyspace), SLOWLOG, CLIENT LIST/KILL, CONFIG GET/SET, MEMORY STATS/USAGE, SCAN-budgeted big-key sampling, DBSIZE, PING |
| rabbitmq (management plugin HTTP API) | HTTP(S), Basic auth | /api/overview, /api/queues (+ per-vhost, detail, purge, declare, delete), /api/connections, /api/channels, /api/consumers, /api/policies (get/set/delete), /api/nodes |
28 MCP tools — 20 reads (incl. 4 flagship RCAs) + 8 governed writes.
| Group | Tools | R/W |
|---|---|---|
| Overview | queue_overview | read |
| redis reads | redis_server_info, redis_memory_stats, redis_clients, redis_slowlog, redis_config_get, redis_keyspace, redis_big_keys | read |
| rabbitmq reads | rabbitmq_overview, list_queues, queue_detail, list_connections, list_channels, list_policies, node_health | read |
| Flagship RCAs | redis_memory_pressure_rca, redis_latency_rca, rabbitmq_queue_backlog_rca, connection_churn_analysis | read |
| Writes (medium) | redis_config_set, redis_kill_client, declare_queue, set_policy, delete_policy | write |
| Writes (high) | purge_queue, delete_queue | write |
| Undo | undo_list, undo_apply | read / write |
The four RCAs are transparent heuristics that report their numbers — thresholds
are named constants, every finding carries its evidence, never a black-box
verdict. Big-key sampling walks at most 10,000 keys with SCAN and sizes at most
200 with MEMORY USAGE — never KEYS * — and reports its coverage.
Governance
Every MCP tool — and every CLI write, which routes through the same governed
functions — runs through the bundled @governed_tool harness
(queue_aiops.governance — no external dependency). It records; it does not
authorize whether a write may happen (see above):
- Audit — every call lands in
~/.queue-aiops/audit.db(relocatable viaQUEUE_AIOPS_HOME), secret-redacted. The CLI writes the same row the MCP path does — there is no unaudited entry point. - Budget / runaway guard — a safety backstop, not an authorization gate:
call/time ceilings (
QUEUE_MAX_TOOL_CALLS,QUEUE_MAX_TOOL_SECONDS) + a runaway-loop breaker stop a stuck agent from burning unbounded calls/time. - Risk tier — a descriptive label on the audit row derived from
risk_level; it gates nothing.QUEUE_AUDIT_APPROVED_BY/QUEUE_AUDIT_RATIONALEare optional annotations recorded on the row (who/why), never required and never blocking. - Undo — reversible writes capture the real before-state first:
redis_config_setrecords the prior value from CONFIG GET;set_policy/delete_policyrecord the prior policy;delete_queuerecords the queue's definition and its undo re-declares it (the messages are not restored — the descriptor says so). Irreversible writes (purge_queue,redis_kill_client) record priorState only. - Dry-run + double-confirm — every write takes
dry_run=True(MCP) /--dry-run(CLI); CLI writes double-confirm and execute through the same governed twins, so they land in the audit log too.purge_queueanddelete_queueare risk=high with dry-run + double confirmation at the CLI. - Credentials live encrypted in
~/.queue-aiops/secrets.enc(Fernet + scrypt master password;QUEUE_AIOPS_MASTER_PASSWORDfor non-interactive use). Redis passwords are optional — an auth-less lab instance is a supported target.
MCP configuration
{
"mcpServers": {
"queue-aiops": {
"command": "uvx",
"args": ["--from", "queue-aiops", "queue-aiops-mcp"],
"env": {
"QUEUE_AIOPS_MASTER_PASSWORD": "your-master-password"
}
}
}
}
env-block caveat: MCP clients launch the server with a minimal environment — your shell profile is not sourced. Anything the server needs (
QUEUE_AIOPS_MASTER_PASSWORD, a relocatedQUEUE_AIOPS_HOME, and any optionalQUEUE_AUDIT_APPROVED_BY/QUEUE_AUDIT_RATIONALEaudit annotations) must be set in theenvblock above, not just in your terminal.
Or, with the package installed: queue-aiops mcp.
CLI reference (short)
queue-aiops init | doctor | overview | mcp
queue-aiops secret set|list|migrate ...
queue-aiops redis info|memory|clients|slowlog|config-get|keyspace|bigkeys
queue-aiops redis config-set <param> <value> [--dry-run]
queue-aiops redis kill-client --id <id> | --addr <ip:port> [--dry-run]
queue-aiops rabbitmq overview|queues|queue|connections|channels|policies|nodes
queue-aiops rabbitmq purge|delete-queue|declare-queue <name> [--vhost /] [--dry-run]
queue-aiops rabbitmq set-policy|delete-policy <name> ... [--dry-run]
queue-aiops analyze memory|latency|backlog|churn
Verification status
Live-verified against Redis 7.4.9 and RabbitMQ 3.13.7 (2026-07-19/20).
Connectivity, every Redis read (cross-checked against redis-cli ground truth), all
four analyses, and the full governance loop (real redis_config_set → audit row →
undo restoring the prior value) were exercised against a real server. That run found
and fixed a real defect: integer quantities — key counts, client counts, byte totals —
were rendered as floats (202.0 keys), which equality assertions cannot catch.
The RabbitMQ group is now verified end-to-end too — reads cross-checked against
rabbitmqadmin, and set_policy → undo_apply closing on the live broker. Redis
cluster/sentinel topologies and AUTH/TLS connections remain unverified.
docs/VERIFICATION.md records exactly what was checked and what
is still open. queue-aiops doctor is the fastest live check.
Contributing
缺功能提 issue/PR 欢迎留言 — missing a read you need (streams/consumer groups, quorum-queue specifics, shovel/federation status), another broker platform, or a threshold that doesn't fit your fleet? Open an issue or PR at github.com/AIops-tools/Queue-AIops — platform registry entries are additive and small.
License
MIT
Queue AIops MCPのよくある質問
Queue AIops MCPをClaude Codeに追加するには
ターミナルでclaude mcp add queue-aiops -- uvx queue-aiopsを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
Queue AIops MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
設定が正しく動作しているか確認する方法はありますか?
queue-aiops doctorコマンドを使用してください。これが、設定、シークレット、および接続性をライブプローブで実行する最も迅速な方法です。
このツールはブローカーへの書き込みを許可しますか?
いいえ、このツールは書き込みの可否を判断するものではなく、アクションを記録するだけです。権限は、接続に使用するRedisまたはRabbitMQのアカウントによって管理されます。
ツールによって行われた変更を元に戻す方法はありますか?
はい、ツールにはundoメカニズムが含まれています。書き戻し可能な書き込みでは、以前の状態をキャプチャして逆操作を可能にします。
操作はどのように監査されますか?
MCPまたはCLI経由で行われるすべての呼び出しは、~/.queue-aiops/audit.dbにあるローカルの監査データベースに記録されます。