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 MCP server?

Most developer tooling work still happens through a UI a human drives. Hangfire MCP MCP server moves it into the conversation instead. 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 from .vscode/mcp.json) 4. Create VS Code MCP configuration 5. Test the.

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

Getting it running

hangfire-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

The tools it exposes

The server publishes 14 tools. What each one is for:

  • Cron — 0 */5 * * * (every 5 minutes)
  • Queue — default
  • list_jobs — List jobs by state (Enqueued, Processing, Succeeded, Failed, etc.)
  • get_job — Get detailed job info including arguments and exception details
  • get_job_history — Get the state history of a job
  • retry_job — Retry a failed job
  • delete_job — Delete a job
  • requeue_job — Move a job back to queue
  • list_recurring_jobs — List all recurring jobs with cron schedules
  • get_recurring_job — Get recurring job details
  • trigger_recurring_job — Run a recurring job immediately
  • pause_recurring_job — Pause scheduled executions

What it needs from you

Configuration is passed through the environment: HANGFIRE_CONNECTION_STRING. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

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

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Hangfire MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Hangfire MCP's toolset — Cron, Queue, list_jobs and 11 more — is a fair guide to whether it matches your workflow. It is maintained by inansen; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
Cron0 */5 * * * (every 5 minutes)
Queuedefault
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 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

It connects Hangfire MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Cron, Queue, list_jobs, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Hangfire MCP directly.