MCP server for inspecting and managing Redis-backed job queues from Asynq, BullMQ, and Sidekiq with optional read-only mode.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent ā or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag ā we're steadily working through the catalog.
š” Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Queue Inspector MCP.
An MCP server that lets an agent inspect and operate Redis-backed job queues.
It speaks to three backends today, Asynq (Go)
and BullMQ (Node) and Sidekiq (Ruby): per-state counts,
individual job detail, and moving jobs between states ā six tools over stdio,
with a --read-only mode that drops the mutating ones entirely.
When a queue misbehaves in production, the useful questions are about jobs, not keys: how many tasks are stuck in retry, what error a specific job failed with, whether a dead job can be requeued. A generic Redis MCP server shows you keys and raw values; this one understands Asynq's protobuf task messages and BullMQ's state structures, and Sidekiq's inline job JSON, so an agent can answer those questions directly.
What this looks like from the agent side. The tool output below is recorded, not mocked: a local Redis seeded with real Asynq tasks, an SMTP relay down, and one delivery out of attempts.
Background: I wrote up the design decisions behind this ā why jobs, not keys, and the read-only posture ā on my blog.
The server speaks MCP over stdio to the agent and talks to Redis through per-backend adapters that understand each library's Redis key layout ā Asynq's protobuf task messages, BullMQ's state-by-membership sorted sets, and Sidekiq's inline job JSON ā instead of treating Redis as a bag of keys.
Asynq ships a CLI, and redis-cli can read anything. But wiring a CLI into an
agent means giving the agent a shell. The tools here return structured JSON the
model can reason over rather than aligned text to re-parse; they work in
clients that have no shell, like Claude Desktop; and read-only is enforced by
construction ā under --read-only the mutating tools are not in tools/list
at all, which is a stronger guarantee than a confirmation prompt a model can
talk its way past.
Requires Node.js 18 or newer and a reachable Redis.
The server talks MCP over stdio, so it works with any MCP client. Point your
client at the queue-inspector-mcp binary and set REDIS_URL.
Claude Desktop (claude_desktop_config.json):
Claude Code (project .mcp.json, or claude mcp add):
Both examples are read-only. To enable retry_job and delete_job, remove
QUEUE_INSPECTOR_READ_ONLY.
| Variable | Default | Purpose |
|---|---|---|
REDIS_URL | redis://localhost:6379 | Redis connection string. Include a database number, e.g. redis://localhost:6379/2. |
ASYNQ_PREFIX | asynq | Key prefix Asynq was configured with. |
BULL_PREFIX | bull | Key prefix BullMQ was configured with. |
SIDEKIQ_PREFIX | (none) | Key prefix Sidekiq was configured with, if namespaced. |
QUEUE_INSPECTOR_BACKENDS | asynq,bullmq,sidekiq | Restrict which backends are scanned. |
QUEUE_INSPECTOR_READ_ONLY | unset | Set to 1 (or pass --read-only) to omit the mutating tools. |
| Tool | Mutating | Behavior |
|---|---|---|
list_queues | no | List every detected queue, tagged with its backend. |
queue_stats | no | Count jobs per state for a queue, using the backend's own state names. |
list_jobs | no | Page through jobs in one state; returns id, type, attempts, and a truncated last error. |
get_job | no | Full detail for one job: payload, attempts, retry ceiling, last error, timestamps. |
retry_job | yes | Move a failed or dead job back to pending/wait so it runs again. |
delete_job | yes | Permanently delete a job. Active jobs are refused. |
When a queue name is unique across the enabled backends, the backend argument
is optional; the server resolves it. If the same name exists in more than one backend,
pass backend explicitly.
With --read-only or QUEUE_INSPECTOR_READ_ONLY=1, the server never registers
retry_job or delete_job. The mutating tools are absent from tools/list
entirely, so a client cannot call them by mistake. This is the recommended
configuration for pointing an agent at a production Redis.
The two libraries model job lifecycles differently, so this server does not invent a shared vocabulary. It reports each backend's own state names, and each state maps to a specific Redis structure.
A job moves through these states over its lifetime (Asynq shown):
Asynq:
| State | Meaning | Redis structure |
|---|---|---|
pending | Ready to run, waiting for a worker | list asynq:{q}:pending |
active | Currently being processed | list asynq:{q}:active |
scheduled | Enqueued for a future time | zset asynq:{q}:scheduled |
retry | Failed, waiting to be retried | zset asynq:{q}:retry |
archived | Retries exhausted (the "dead" state) | zset asynq:{q}:archived |
completed | Finished, kept for its retention window | zset asynq:{q}:completed |
BullMQ:
| State | Meaning | Redis structure |
|---|---|---|
waiting | Ready to run | list bull:q:wait |
active | Currently being processed | list bull:q:active |
delayed | Scheduled for a future time | zset bull:q:delayed |
prioritized | Waiting, ordered by priority | zset bull:q:prioritized |
waiting-children | Blocked on child jobs (flows) | zset bull:q:waiting-children |
paused | Held while the queue is paused | list bull:q:paused |
completed | Finished successfully | zset bull:q:completed |
failed | Failed after exhausting attempts | zset bull:q:failed |
Asynq's archived is what most people mean by a "dead" job. list_jobs returns
Asynq's terminal sets in Redis (score) order and BullMQ's completed/failed
sets most-recent-first.
No reviews yet ā be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/yusufihsangorgel-queue-inspector-mcp)<a href="https://allmcps.com/mcp/yusufihsangorgel-queue-inspector-mcp"><img src="https://allmcps.com/api/badge/yusufihsangorgel-queue-inspector-mcp?style=directory" alt="Queue Inspector MCP on AllMCPs" /></a>