Hangfire MCP Server

The setup script will: 1. Create a virtual environment 2. Install all dependencies (including dashboard) 3. Prompt for your SQL Server connection

Local serverstdioPython

What is the Hangfire MCP Server?

The setup script will: 1. Create a virtual environment 2. Install all dependencies (including dashboard) 3. Prompt for your SQL Server connection string (or read

The short version

  • Job Management — List, view, retry, delete, and requeue jobs
  • Recurring Jobs — List, view, trigger, pause, and resume recurring jobs
  • Statistics — View server stats, queues, and active servers
  • Auto-Discovery — Automatically finds connection strings from appsettings.json
  • Web Dashboard — Built-in web UI with real-time stats and job management

What it needs from you

  • Python 3.11+ - SQL Server with Hangfire database - ODBC Driver 17 for SQL Server (or compatible)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_jobsList jobs by state (Enqueued, Processing, Succeeded, Failed, etc.)
get_jobGet detailed job info including arguments and exception details
get_job_historyGet the state history of a job
retry_jobRetry a failed job
delete_jobDelete a job
requeue_jobMove a job back to queue
list_recurring_jobsList all recurring jobs with cron schedules
get_recurring_jobGet recurring job details
trigger_recurring_jobRun a recurring job immediately
pause_recurring_jobPause scheduled executions
resume_recurring_jobResume a paused job
get_statsServer statistics (succeeded, failed, processing counts)

How to install the Hangfire MCP Server

{
  "mcpServers": {
    "hangfire": {
      "command": "uvx",
      "args": ["hangfire-mcp"],
      "env": {
        "HANGFIRE_CONNECTION_STRING": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11+ - SQL Server with Hangfire database - ODBC Driver 17 for SQL Server (or compatible)
VariableDescriptionRequired
HANGFIRE_CONNECTION_STRINGConfiguration value read at startup.Optional

Example prompts to try

  • “Use Hangfire MCP to Cron.”
  • “Use Hangfire MCP to Queue.”
  • “Use Hangfire MCP to list jobs.”

Frequently asked questions

The setup script will: 1. Create a virtual environment 2. Install all dependencies (including dashboard) 3. Prompt for your SQL Server connection string (or read Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.