BullMQ MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add bullmq-mcp -- npx -y @smithery/cli install @adamhancock/bullmq-mcp --client claude
README.md

Manage BullMQ Redis-based job queues through natural language

BullMQ MCP Server - Model Context Protocol for BullMQ Queue Management

A comprehensive BullMQ MCP (Model Context Protocol) server for managing BullMQ Redis-based job queues. This BullMQ MCP integration enables Claude Desktop and other AI assistants to interact with BullMQ queues, monitor job status, manage workers, and perform queue operations through natural language.

Keywords: BullMQ MCP, BullMQ Model Context Protocol, BullMQ Claude integration, BullMQ AI assistant, BullMQ queue management, Redis queue MCP

Features

  • ๐Ÿ”Œ Connection Management: Connect to multiple Redis instances and switch between them
  • ๐Ÿ“Š Queue Operations: List, pause, resume, drain, and clean queues
  • โš™๏ธ Job Management: Add, remove, retry, and promote jobs
  • ๐Ÿ“ˆ Job Monitoring: View job details, logs, and statistics
  • ๐Ÿงน Bulk Operations: Clean jobs by status with configurable limits
  • ๐Ÿ”„ Multiple Connections: Manage different Redis instances (development, staging, production)
  • ๐Ÿ“ Job Logs: Add and view custom log entries for jobs
  • ๐ŸŽฏ Flexible Status Filtering: Query jobs by various states (active, waiting, completed, failed, delayed)

Installation - BullMQ MCP Setup

Installing via Smithery

To install BullMQ Queue Management Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @adamhancock/bullmq-mcp --client claude

NPM Installation

npm install -g @adamhancock/bullmq-mcp

Or with pnpm:

pnpm install -g @adamhancock/bullmq-mcp

Or with yarn:

yarn global add @adamhancock/bullmq-mcp

Docker Installation

Pull the Docker image from GitHub Container Registry:

docker pull ghcr.io/adamhancock/bullmq-mcp:latest

Or use a specific version:

docker pull ghcr.io/adamhancock/bullmq-mcp:v1.0.0

Usage - Configure BullMQ MCP with Claude Desktop

Claude Desktop Configuration

Quick Setup (Recommended)

If you have the Claude CLI installed, you can add the BullMQ server with a single command:

Using npm package:

claude mcp add --scope user bullmq -- npx -y @adamhancock/bullmq-mcp

Using Docker:

claude mcp add-json bullmq --scope user '{"command": "docker", "args": ["run", "-i", "--rm", "-e", "REDIS_URL=redis://host.docker.internal:6379", "ghcr.io/adamhancock/bullmq-mcp:latest"], "scope": "user"}'

With Redis URL environment variable:

# NPM version
claude mcp add --scope user bullmq -e REDIS_URL=redis://localhost:6379 -- npx -y @adamhancock/bullmq-mcp

# Docker version with environment variable
claude mcp add-json bullmq --scope user '{"command": "docker", "args": ["run", "-i", "--rm", "-e", "REDIS_URL=redis://host.docker.internal:6379", "ghcr.io/adamhancock/bullmq-mcp:latest"], "scope": "user"}'

Note: When using Docker with claude mcp add, use host.docker.internal instead of localhost to connect to Redis running on your host machine.

Manual Configuration

To manually configure Claude Desktop, add the following to your Claude configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "bullmq": {
      "command": "npx",
      "args": ["-y", "@adamhancock/bullmq-mcp"]
    }
  }
}

With Redis URL:

{
  "mcpServers": {
    "bullmq": {
      "command": "npx",
      "args": ["-y", "@adamhancock/bullmq-mcp"],
      "env": {
        "REDIS_URL": "redis://localhost:6379"
      }
    }
  }
}

Alternative configurations:

Using global installation:

{
  "mcpServers": {
    "bullmq": {
      "command": "bullmq-mcp"
    }
  }
}

Using local installation:

{
  "mcpServers": {
    "bullmq": {
      "command": "node",
      "args": ["/path/to/bullmq-mcp/dist/index.js"]
    }
  }
}

Using Docker:

{
  "mcpServers": {
    "bullmq": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "ghcr.io/adamhancock/bullmq-mcp:latest"],
      "env": {
        "REDIS_URL": "redis://host.docker.internal:6379"
      }
    }
  }
}

Note: When using Docker, use host.docker.internal instead of localhost to connect to Redis running on your host machine.

Available BullMQ MCP Tools

Connection Management
  • connect - Connect to a Redis instance
    {
      id: string,          // Connection identifier
      url?: string,        // Redis URL (e.g., redis://user:pass@localhost:6379/0)
      host?: string,       // Redis host (default: localhost) - ignored if url is provided
      port?: number,       // Redis port (default: 6379) - ignored if url is provided
      password?: string,   // Redis password (opt
    

Tools (1)

connectConnect to a Redis instance for queue management

Environment Variables

REDIS_URLThe connection string for the Redis instance

Configuration

claude_desktop_config.json
{"mcpServers": {"bullmq": {"command": "npx", "args": ["-y", "@adamhancock/bullmq-mcp"], "env": {"REDIS_URL": "redis://localhost:6379"}}}}

Try it

โ†’Connect to my production Redis instance and list all active queues.
โ†’Check the status of the 'email-processing' queue and list any failed jobs.
โ†’Retry all failed jobs in the 'image-processing' queue.
โ†’Drain the 'cleanup' queue to clear out all pending tasks.
โ†’Get statistics for the 'data-sync' queue and show me the last 5 logs.

Frequently Asked Questions

What are the key features of BullMQ MCP Server?

Connect to multiple Redis instances and switch between them. Perform queue operations like list, pause, resume, drain, and clean. Manage jobs including adding, removing, retrying, and promoting. Monitor job details, logs, and queue statistics. Filter jobs by status including active, waiting, completed, failed, and delayed.

What can I use BullMQ MCP Server for?

Developers debugging failed background jobs in production environments. Operations teams monitoring queue health and throughput via natural language. Automating queue maintenance tasks like cleaning up old failed jobs. Switching between development, staging, and production Redis queues for quick checks.

How do I install BullMQ MCP Server?

Install BullMQ MCP Server by running: npx -y @smithery/cli install @adamhancock/bullmq-mcp --client claude

What MCP clients work with BullMQ MCP Server?

BullMQ MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep BullMQ MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare