Repository avatar
Other Tools
v0.1.0
active

mcp

dev.relayrunner/mcp

Read and change your RelayRunner workspace: runners, workflow runs, routing and CI usage.

Documentation

GitHub Actions jobs go through relayrunner to the first free runner in your order: your machines, self-hosted runners, Blacksmith, then GitHub-hosted.

RelayRunner

Route GitHub Actions jobs to the runners you already have.

Install the GitHub App  ·  Dashboard  ·  Download for Mac  ·  Website  ·  Quickstart  ·  Docs

GitHub App: relayrunner CI npm skills.sh MCP server License: Apache 2.0

Each job goes to the first runner in your order that can take it right now: one of your own machines when it's online and free, an existing self-hosted runner, a hosted provider such as Blacksmith or Depot, or GitHub's hosted runners. You keep your usual push workflow and see the same checks and logs in GitHub.

It's for teams and individuals who want more control over their runners. Tune capacity, try a bigger runner or a different provider, and reorder your runners from the dashboard instead of editing workflows each time. Your runners become interchangeable: a job no longer depends on one service, so it starts sooner when one is busy, and each job can go to the runner that does it for less.

PRODUCT.md describes the product in full: how routing works, the runner providers, and the principles behind them.

Get started

  1. Install the GitHub App on an organization or personal account. Each install is its own workspace, and everyone who can see the install on GitHub is a member.

  2. Connect a machine with npx relayrunner connect. While it runs, the machine takes jobs; Ctrl-C takes it offline. On a Mac with Apple silicon, RelayRunner for Mac does the same from the menu bar.

  3. Opt a job in by adding a relay job in front of it and pointing its runs-on at the relay's answer:

    jobs:
      relay-test:
        uses: relayrunner/actions/.github/workflows/relay.yml@v1
        with:
          os: linux
          cpus: 2
    
      test:
        needs: relay-test
        runs-on: ${{ needs.relay-test.outputs.runner }}
        steps:
          - uses: actions/checkout@v4
          - run: npm test
    

    The relay job gets its answer in about a second and bills no minutes. If nothing fits, it fails with the reason instead of leaving the job queued.

Public repositories never run on connected machines, since anyone could run code there through a pull request. The relay workflow and the optimized checks live in relayrunner/actions.

RelayRunner for Mac

Turn your Mac into a runner from the menu bar. See what's running, how long it has left and what ran this week.

The RelayRunner menu bar menu running a test job with about a minute left, next to the Jobs window listing today's jobs and one job's steps.

Download the latest version for Apple silicon and macOS 14 or newer, or install it with Homebrew:

brew install --cask relayrunner/tap/relayrunner

It updates itself. See the Mac app docs for more.

The dashboard

Runners. See what's running and queued right now, which runners are busy, and anything that needs you, like an offline machine with a job waiting.

The Runners page: running, idle and offline counts, a Needs attention list, jobs running now and queued, and each self-hosted runner's slots.

Router. Put your runners in order. Each job takes the first one that can run it.

The Router page: GitHub-hosted while under 80% of included minutes, then self-hosted, then GitHub-hosted always, with the command to set up a repo and the workflows already routed.

History. See every run and job, where it ran and how long it waited. A failed job shows the failing step, its log and whether a re-run will likely help.

A failed job in History: it failed at Run pnpm check, looks like a type error that a re-run won't fix, with the log excerpt and step times.

Performance. Compare how long jobs take on each runner.

The Performance page's runner table: jobs, median wait and run time per runner, with a MacBook Pro 2.7 times faster than ubuntu-latest.

Signals. Find what makes your CI slow or costly, such as long runner waits and flaky jobs.

The Signals page: Speed, Cost and Complexity checks with how many passed, then a To look at list that opens with jobs waiting for a runner, broken down by runner.

Use with agents

Give your coding agent the RelayRunner skills, so it can set up machines, route your jobs and read your CI for you:

npx skills add relayrunner/relayrunner

They work with Claude Code, Codex, Cursor and most other agents. See skills/ for what each one does.

In Claude Code or Codex, you can install the plugin instead, which adds the skills and the MCP server together:

# Claude Code: run inside a session, then run /mcp to sign in
/plugin marketplace add relayrunner/relayrunner
/plugin install relayrunner@relayrunner

# Codex
codex plugin marketplace add relayrunner/relayrunner
codex plugin add relayrunner@relayrunner
codex mcp login relayrunner

Without them, the setup guide (source) walks an agent through the whole setup in one prompt.

Agents can also read your workspace through the MCP server at https://agents.relayrunner.app/mcp.

Contributing

See CONTRIBUTING.md for the repository layout, local setup and the conventions for commits and pull requests.

License

RelayRunner is licensed under the Apache License 2.0.

No installation packages available.