Redis 및 RabbitMQ의 메모리, 지연 시간, 큐 백로그 진단을 포함하여 근본 원인 분석 및 운영을 위한 관리형 도구를 AI 에이전트에 제공합니다.
다른 이름 AIops-tools/Queue-AIops, queue-aiops
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- 771
- 최신 버전
- 0.12.0
- 마지막 커밋
- 2026년 10월 30일
- 라이선스
- MIT
Queue AIops MCP란?
Queue AIops은(는) MCP server입니다. Redis 및 RabbitMQ의 메모리, 지연 시간, 큐 백로그 진단을 포함하여 근본 원인 분석 및 운영을 위한 관리형 도구를 AI 에이전트에 제공합니다.
프로젝트 README에서 생성된 요약
Queue AIops MCP server 정보
Queue AIops는 Redis 및 RabbitMQ 인스턴스 관리를 위한 관리형 도구 세트를 제공합니다. 이 도구는 전체 엔터프라이즈 관측성 스위트를 구축하지 않고도 근본 원인 분석 기능이 필요한 자체 캐시 및 메시지 브로커 운영 팀을 위해 설계되었습니다. 이 서버를 통해 AI 에이전트나 작업자는 전문 분석 도구를 사용하여 메모리 압박, 지연 시간, 큐 백로그, 연결 변동과 같은 문제를 진단할 수 있습니다.
사용자는 uvx를 사용하여 독립형 MCP server로 배포하거나 Claude Code 및 OpenClaw용 플러그인을 통해 통합할 수 있습니다. 시스템에는 20개의 읽기 작업과 8개의 관리형 쓰기로 구성된 총 28개의 도구가 포함되어 있습니다. 이 도구는 권한 부여 게이트 역할을 하지는 않지만, 모든 작업이 로컬 감사 데이터베이스에 기록되도록 보장합니다. 또한 위험 등급 레이블 지정, 무한 루프 방지를 위한 호출 예산 설정, 특정 구성 변경 또는 큐 선언을 되돌릴 수 있는 되돌리기 메커니즘을 포함한 안전 장치를 갖추고 있습니다.
설정하려면 초기화 마법사를 통해 자격 증명을 구성해야 하며, 암호화된 비밀 정보는 로컬에 저장됩니다. 서버는 RESP 프로토콜을 통한 Redis와 management plugin HTTP API를 통한 RabbitMQ를 지원합니다. 사용자는 내장된 doctor 명령어를 사용하여 연결 및 구성 상태를 확인할 수 있습니다.
활용 사례
- 1Redis 메모리 문제 진단에이전트에게 Redis 메모리 압박에 대한 근본 원인 분석을 요청하여 빅 키(big keys) 또는 데이터 삭제(eviction) 문제를 식별합니다.
- 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를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
설정이 제대로 작동하는지 어떻게 확인하나요?
queue-aiops doctor 명령어를 사용하면 설정, 비밀 정보 및 연결 상태를 가장 빠르게 실시간으로 점검할 수 있습니다.
이 도구가 브로커에 대한 쓰기 권한을 승인하나요?
아니요, 이 도구는 쓰기 허용 여부를 결정하지 않고 작업 내용을 기록할 뿐입니다. 권한은 연결된 Redis 또는 RabbitMQ 계정에 의해 관리됩니다.
도구가 수행한 변경 사항을 되돌릴 수 있나요?
네, 이 도구에는 되돌리기 메커니즘이 포함되어 있습니다. 되돌릴 수 있는 쓰기 작업은 이전 상태를 캡처하여 역작업을 수행할 수 있도록 합니다.
작업은 어떻게 감사되나요?
MCP 또는 CLI를 통해 수행된 모든 호출은 ~/.queue-aiops/audit.db에 위치한 로컬 감사 데이터베이스에 기록됩니다.