Purpose: Let AI agents directly inspect and operate Redis-backed task queues, answering questions such as "how many tasks are stuck in retry", "why did a certain task fail", and "can dead-letter tasks be re-enqueued", rather than only viewing Redis key-values.
Main capabilities: Provides six tools via stdio, covering three backends: Asynq (Go), BullMQ (Node), and Sidekiq (Ruby), supporting counts for each state, details of a single task, and moving tasks between states. It understands each library's Redis key layout: Asynq's protobuf task messages, BullMQ's per-member state sorted sets, and Sidekiq's inline task JSON.
Usage: Requires Node.js 18 or higher and accessible Redis. Point the MCP client at the queue-inspector-mcp binary and set REDIS_URL. Claude Desktop is configured in claude_desktop_config.json, and Claude Code uses the project .mcp.json or claude mcp add. All examples are read-only; to enable retry_job and delete_job, remove QUEUE_INSPECTOR_READ_ONLY. The backend parameter can be omitted when the queue name is unique among enabled backends; otherwise it must be specified explicitly.
Read-only mode: When using --read-only or QUEUE_INSPECTOR_READ_ONLY=1, the server does not register retry_job and delete_job at all, the mutation tools do not appear in tools/list, and clients cannot call them by mistake; recommended for production Redis.
Limitations: Only Asynq and BullMQ are supported (Sidekiq, Celery, RQ, etc. are not supported); no Web UI; no streaming or listening, each call is a point-in-time read; retry_job and delete_job replicate each library's own mechanisms, with semantics consistent with the library, and cannot retry or delete active tasks; delete_job does not cascade-delete BullMQ flow child tasks; Asynq group aggregation states are not presented; BullMQ 4.x is untested.