Skip to content

Set up with an agent

This page is written for a coding agent such as Claude Code, Cursor or Codex. To use it, give your agent this prompt in the project whose queues you want to see:

Set up Bullship, the open-source BullMQ dashboard, for this project. Instructions: https://bullship.app/docs/agent-setup.md

Run Bullship next to the user’s project, pointed at the Redis their BullMQ code uses. Do the steps yourself; ask the user only where a step says so.

  1. Find the Redis setting, not its value. Find which environment variable or setting holds the Redis URL the project’s BullMQ code connects to: look at the code that creates its Queues and Workers, its config, and any compose file. Don’t read, print or copy the value: it can contain a password. If you can’t tell which setting it is, ask the user.

  2. Start Bullship with that URL as REDIS_URL, passed straight from where it lives. Load the env file and pass the variable through, and set PORT yourself, because the project’s env file may set its own:

    set -a; . ./.env; set +a; REDIS_URL="$THE_VAR" PORT=3200 npx -y bullship
    • Use npx bullship (it needs Node 24 or newer) when Redis runs on this machine, when Docker isn’t available, or when you can’t tell without reading the URL: it works in every case. It keeps its data in ~/.bullship.

    • Otherwise use Docker, with a named volume so accounts survive an upgrade:

      docker run -d --name bullship -p 3200:3200 -v bullship-data:/data \
      -e REDIS_URL="$THE_VAR" ghcr.io/bullshipped/bullship

      Inside the container localhost is the container itself, so a URL that points at this machine won’t work there; use npx for that case.

    • If port 3200 is taken, pick another port with PORT (or the left side of -p).

    • Keep Bullship running when you finish, in the background or as a service, the same way the project runs its other long-lived processes.

  3. Check that it works. GET /api/health on Bullship’s port answers {"ok":true}, and its log shows connection default with no Redis errors. A wrong URL or password shows up there as a connection error.

  4. Leave the admin account to the user. Don’t create it. Tell the user the address Bullship listens on and to open it and create the admin account right away: until that account exists, anyone who can reach Bullship can create it.

Every other setting is an environment variable: see Configuration. To let the agent read queues and jobs afterwards, see MCP server.