# Yusufihsangorgel/queue-inspector-mcp [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/Yusufihsangorgel/queue-inspector-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 59  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/yusufihsangorgel-queue-inspector-mcp

## Description
Inspect and operate Redis-backed job queues (Asynq and BullMQ): per-state counts, job detail with decoded payload and last error, and faithful retry/delete running each library's own scripts. Read-only mode for production.

## Tools
Capabilities this server exposes over MCP:

- **list_queues** — List every queue the inspector can see, tagged with its backend (asynq or bullmq).
- **queue_stats** — Report the number of jobs in each state for a queue, using the backend's own state names.
- **list_jobs** — List jobs in a given state (paged). Returns id, type, attempts and a truncated last error. Valid states depend on the backend: asynq uses pending/active/scheduled/retry/archived/completed; bullmq uses waiting/active/delayed/prioritized/waiting-children/paused/completed/failed.
- **get_job** — Fetch full detail for one job: payload, attempts, retry ceiling, last error and timestamps. Binary payloads are returned base64-encoded and flagged.
- **retry_job** — Move a failed or dead job back to the pending/wait queue so it runs again. Faithfully replicates the backend's own retry (asynq Inspector.RunTask, bullmq Job.retry).
- **delete_job** — Permanently delete a job from a queue. Active jobs cannot be deleted. Faithfully replicates the backend's own delete (asynq Inspector.DeleteTask, bullmq Job.remove).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "queue-inspector-mcp": {
    "command": "npx",
    "args": ["-y","queue-inspector-mcp"],
    "env": {
      "REDIS_URL": "",
      "ASYNQ_PREFIX": "",
      "BULL_PREFIX": "",
      "SIDEKIQ_PREFIX": "",
      "QUEUE_INSPECTOR_BACKENDS": "",
      "QUEUE_INSPECTOR_READ_ONLY": ""
    }
  }
}
```

**Requires environment variables:** `REDIS_URL`, `ASYNQ_PREFIX`, `BULL_PREFIX`, `SIDEKIQ_PREFIX`, `QUEUE_INSPECTOR_BACKENDS`, `QUEUE_INSPECTOR_READ_ONLY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Yusufihsangorgel/queue-inspector-mcp MCP server does

Yusufihsangorgel/queue-inspector-mcp MCP server gives an agent structured access to Redis-backed job queues managed by Asynq, BullMQ, or Sidekiq. It works at the job and queue level rather than exposing Redis keys and values directly. The server can identify queues, summarize their contents by state, inspect individual jobs, and perform selected lifecycle operations.

Supported backends retain their own state vocabulary. For example, Asynq reports states such as `pending`, `active`, `retry`, `archived`, and `completed`, while BullMQ uses names including `waiting`, `active`, and `delayed`. Sidekiq queues are also detected and inspected using their Redis-backed job data.

## How it works

The agent communicates with the process over MCP on stdio. The server connects to Redis with `ioredis` and uses backend-specific adapters to interpret each library's storage format: Asynq protobuf task messages, BullMQ state structures, and Sidekiq job JSON stored in lists and sorted sets.

The six tools are:

- `list_queues` finds queues and identifies their backend.
- `queue_stats` counts jobs in each backend-specific state.
- `list_jobs` pages through jobs in a selected state and returns identifiers, types, attempts, and shortened errors.
- `get_job` returns detailed payload, retry, error, and timestamp information.
- `retry_job` moves a failed or dead job back into a runnable state.
- `delete_job` permanently removes a job, except when it is active.

If a queue name is unique among enabled backends, the backend parameter can be omitted. When names overlap, the backend must be specified.

## Setup and configuration

Yusufihsangorgel/queue-inspector-mcp requires Node.js 18 or later and a reachable Redis instance. Install it globally with `npm install -g queue-inspector-mcp`, or run it without a global installation using `npx queue-inspector-mcp`. Configure an MCP client to launch the binary and provide `REDIS_URL`.

Available environment variables are:

- `REDIS_URL`: Redis connection string; defaults to `redis://localhost:6379` and can include a database number.
- `ASYNQ_PREFIX`: Asynq key prefix, defaulting to `asynq`.
- `BULL_PREFIX`: BullMQ key prefix, defaulting to `bull`.
- `SIDEKIQ_PREFIX`: Optional Sidekiq namespace prefix.
- `QUEUE_INSPECTOR_BACKENDS`: Comma-separated backends to scan; defaults to all three.
- `QUEUE_INSPECTOR_READ_ONLY`: Set to `1` to omit mutation tools.

The same read-only setting can be enabled with `--read-only`. In that mode, `retry_job` and `delete_job` are not registered in the MCP tool list, rather than merely being blocked after invocation. The README recommends this configuration for production Redis access.

## Limitations and notes

The server requires Redis access and correctly configured key prefixes for the relevant queue libraries. It does not provide a shared state model across backends; results use each library's own state names. Job deletion is permanent, and active jobs are refused by the deletion tool. Mutation tools are unavailable altogether when read-only mode is enabled.

Yusufihsangorgel/queue-inspector-mcp is intended for structured MCP client access. Its documented examples use Claude Desktop and Claude Code, but the stdio transport is described as compatible with any MCP client.

_Full upstream README: https://allmcps.com/mcp/yusufihsangorgel-queue-inspector-mcp/readme_

