bullship

mcp
Security Audit
Fail
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .amp/box.yaml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Self-hosted BullMQ dashboard with an MCP server for AI agents: queues, jobs, grouped errors, alerts and roles, in flat memory

README.md

Bullship

The self-hosted BullMQ dashboard that stays small.
Every queue, job and failure in your Redis, with sign-in, roles, alerts, an API and an MCP server for AI agents, in about 100 MB of memory whether you have 3 queues or 300.

Live demo · Docs · Website · Changelog

npm version Docker image on ghcr.io Apache-2.0 license Bullship MCP server on Glama

Bullship's home screen: a bar naming the 5 queues that need attention, stats for 41 queues, a jobs-per-minute chart, and every queue sorted worst first with its health, counts, workers and a 30-minute sparkline

Quick start

Bullship needs the URL of the Redis your BullMQ apps use, and Node 24 or newer:

REDIS_URL=redis://localhost:6379 npx bullship

Or with Docker:

docker run -d --name bullship -p 3200:3200 -v bullship-data:/data \
  -e REDIS_URL=redis://your-redis:6379 ghcr.io/bullshipped/bullship

Open http://localhost:3200 and create the admin account. Do it right away: until it exists,
anyone who can open the page can create it. There is no database to run. Accounts, alerts and
history go in one data directory (~/.bullship, or /data in the image), and your jobs stay in
your Redis. Where a container has no lasting disk, such as serverless containers, or to run several
instances, set DATABASE_URL to a PostgreSQL database instead (see
Install).

Inside a container localhost is the container itself, so use your Redis's host name. Compose,
several Redis, and running behind HTTPS are in Install and
Connections. To look around first, the
live demo runs on a demo workload, read-only.

What you get

  • What's broken, first. The home screen opens with the queues that need attention (failing,
    stalled or degraded) and why, then every queue worst first, grouped by name, with counts,
    workers and a 30-minute sparkline.
  • Errors grouped by cause. Thousands of failed jobs become a handful of errors, grouped inside
    Redis so emails and ids don't split them. Retry a whole group, or resolve or mute it.
  • Everything about one job on one page. Each attempt and backoff on one time bar, every
    attempt's stack trace and logs, and the data, which you can edit or duplicate into a new job.
  • Schedulers and flows. Every job scheduler with its next runs, and flows drawn as a
    waterfall that says when a parent is stuck behind a child out of attempts.
  • History. Throughput, wait and run time (p50 and p95) and the oldest waiting job per queue,
    over the last hour to 30 days, kept in Bullship's data directory, not in your Redis.
  • Alerts on failed or stalled jobs, backlog, the oldest waiting job, missing workers, failed
    scheduler runs, Redis memory or an unreachable Redis, to Slack, PagerDuty, email or a webhook.
  • Built for a team. Sign-in, viewer, operator and admin roles checked on every request, an
    activity log of who changed what, and redaction that hides secrets in job data from everyone.
  • Fast to drive. Every view lives in the URL, ⌘K jumps to any queue or job, and j/k
    move through rows. Light and dark follow your system.
  • Several Redis in one Bullship, each with its own key prefix, and a
    Prometheus endpoint for every queue on all of them in
    one scrape.
A failing queue's page: its health verdict and reason, throughput, failure rate and workers, a jobs-per-minute chart, and the Errors tab grouping 290 failed jobs into 4 error types, each with a count, when it was first and last seen, and a failures chart A failed job's page: when it was added, started and failed, its three attempts and the backoffs between them on one time bar, and the stack trace of the last attempt

For AI agents

Bullship has an MCP server at /api/mcp, so Claude Code, Cursor, Codex and other MCP clients can
find what's failing, read the job and its error, and retry or pause. Make an API token in
Settings › API tokens, then:

claude mcp add --transport http bullship https://bullship.example.com/api/mcp \
  --header "Authorization: Bearer bsk_…"

An agent gets the role of its token, never an admin's:

Token MCP tools
Viewer list_connections, list_queues, get_queue, list_jobs (by state, job name, error or text in the job data), get_job, get_job_logs, list_errors (failed jobs grouped by error), get_run_times, list_workers, list_alerts
Operator The viewer's, plus retry_job, retry_failed_jobs, promote_job, change_job, pause_queue, resume_queue
Operator with Can delete The operator's, plus remove_jobs: failed jobs with one exact name or error, removed only when a second call confirms the count the first one gave

Can delete is off for new tokens, and nothing over MCP removes a queue or a job that hasn't
failed. Redacted fields stay hidden from agents too, and every change made through a token is in
the activity log, as "Ada via token “claude”".

The same token calls the API, on every /api route its role allows. To give a script or an agent
a token from the first start, before anyone signs in, set BULLSHIP_API_TOKEN (see
API tokens). Cursor and Codex
settings are in MCP server.

Small on purpose

Bullship holds one Redis connection per Redis, however many queues and people there are. Sorting,
filters and error grouping run as Lua scripts inside Redis and return one page, and job lists
show each payload's size, so the server never loads a whole queue or every payload. Measured with
pnpm bench on 0.1.2, signed in, against 301 queues, one of them holding 20,000 failed jobs with
10 KB payloads (264 MB in Redis), on 4 vCPU:

Measure Bullship 0.1.2
Memory after start 96 MB
Peak memory, with 5 people filtering jobs at once 104 MB
Redis connections 1
A page of 100 failed jobs 27 KB, in 4 ms
A name filter over that queue's newest 5,000 jobs 24 ms

How it was measured, the full tables, and how to run it yourself are in
bench/README.md.

Coming from Bull Board?

Bull Board is a viewer you mount in your own server or run from its CLI. Bullship runs as its own
service: point it at the same Redis and it finds every queue itself, so you can run the two side by
side without changing your code.

Configuration

Every setting is an environment variable. The ones most people set:

Variable Default What it sets
REDIS_URL One Redis, named "Default"
BULLSHIP_REDIS_URL_<NAME> A Redis named <NAME>; repeat for several
BULLSHIP_PREFIX bull The BullMQ key prefix for REDIS_URL
BULLSHIP_URL from each request The address people open, such as https://bullship.example.com
BULLSHIP_SECRET_KEY Encrypts saved connection URLs and alert destinations
BULLSHIP_AUTH true false turns sign-in off (everyone is an admin); viewer makes everyone a read-only viewer
PORT 3200 The port Bullship listens on

All of them are in Configuration. Bullship reads
Redis and Valkey; Redis Cluster isn't supported yet. For worker throughput and health, turn on
BullMQ's worker metrics.

Documentation

Everything else is in the docs:

Contributing

Issues and pull requests are welcome. CONTRIBUTING.md covers running Bullship
from source with a demo workload, the checks to run, and how the code is laid out.

Please report security issues privately, as SECURITY.md describes.

License

Apache-2.0.

Reviews (0)

No results found