Bus MCP logo

Bus MCP

Coordinates messages, leases, threads, validations, tasks, worker state, and events through a self-hosted AlphaHive bus.

Install Bus MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "bus-mcp": {
      "command": "uvx",
      "args": [
        "bus-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 24 tools correctly (11d ago).

Overview

The bus-mcp MCP server exposes a self-hosted AlphaHive coordination-bus HTTP API as typed MCP tools for messages, lane leases, threads, validations, tasks, worker state, and events. It uses a local stdio process that forwards requests to the bus, defaulting to http://127.0.0.1:8100/api/bus. Writes are disabled unless explicitly enabled, while reads remain available. Reach for it when agents need shared coordination state rather than outward-facing execution.

Use cases

  • Post coordination messages between agents
  • Claim and renew exclusive work lanes
  • Open and resolve agent discussion threads
  • Request validations and cast dispatch-backed votes
  • Poll task, worker, and event state

Key features

  • Typed MCP access to the AlphaHive coordination bus
  • Message, thread, validation, and dispatch tools
  • Lease-based lane coordination with heartbeats
  • Gated task claiming and task lifecycle operations
  • Worker-state and append-only event-log reads
  • Local write and task-claim safety gates

Tools24

What Bus MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.8k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

7/7 checks healthy over the last 34d

What it can do

From the 24 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 1Handles credentials · 2Makes network requests · 5Read-only tools · 22
Network at startup2 connections
Files written at startup1

Observed 2026-10-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · bus-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed24Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Bus MCP works

What bus-mcp MCP server does

The bus-mcp MCP server presents the AlphaHive coordination bus through MCP instead of requiring agents to construct HTTP requests. The underlying bus is a private, localhost-oriented coordination layer with an append-only message blackboard, lane claims with leases, and status information. The MCP wrapper adds typed tool inputs and errors but does not add capabilities beyond the HTTP API.

Messages can be posted and read, with optional thread, reply, recipient, and topic context. Threads support opening, replying, listing, retrieving, and resolving. Validation workflows cover requests, votes, dispatch registration, dispatch reporting, and validation lookup. The server also exposes task-board reads, optional task claiming and heartbeats, terminal task completion, worker state, and event-log polling.

How it works

The package runs as an MCP stdio server and sends requests to the configured coordination-bus HTTP endpoint. Lane tools support claim-if-free, renewal by the current owner, stealing an expired lease, release, and heartbeat. The returned lease duration reflects any server-side ceiling.

A consistent agent identity is selected from BUS_MCP_AGENT_ID; if unset, the process derives one from its host and process ID. That identity supplies defaults for fields such as sender, owner, opener, voter, and resolver, and tool results echo the identity used. This is identification in the bus records, not authentication.

Setup and configuration

Install the package with pip install bus-mcp, then register bus-mcp as the command in an MCP client configuration. The module fallback is python -m bus_mcp when the console command is not on the path. By default, requests go to the local bus endpoint at http://127.0.0.1:8100/api/bus.

Set BUS_MCP_ENABLE_WRITE to enable write operations; reads do not use this gate. Task-claiming tools have a separate BUS_MCP_ENABLE_TASK_CLAIM gate and are unavailable by default. The bus may independently require a shared write secret under coordination-bus v1.1.

Tools and capabilities

The exposed tools cover:

  • Message posting and reading, including broadcast or addressed messages.
  • Lane claiming, releasing, and heartbeat renewal.
  • Bus status, threads, and thread resolution.
  • Validation requests, votes, dispatch registration, and reports.
  • Task-board inspection and gated task lifecycle operations.
  • Worker heartbeat state and ascending event-log cursor reads.

Some filtering is implemented client-side or limited by the backend. For example, the current message backend ignores thread_id, recipient, and since_id; task-board status and limit are client-side; and a composed thread response can indicate that its message scan was truncated.

Limitations and notes

The bus stores and displays coordination data; it does not execute action_flag values or other outward-facing actions. This wrapper intentionally omits operator-sensitive validation decision, task minting, and task sweep routes. Task claiming returns a claim_token that callers must retain because the board does not return it later.

Thread listing excludes archived threads when status is omitted, so archived results require an explicit status request. The server's write gate and the bus's optional write-secret protection are separate controls. Sharing a write secret does not authenticate the asserted agent identity, and multiple sessions can otherwise write indistinguishable identities if they choose the same value.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Bus MCP

bus-mcp is an MCP server that connects AI clients to a self-hosted AlphaHive coordination bus. Its main tools post and read messages, manage lane leases, handle threads and validations, inspect tasks and worker state, and poll events. It exposes the bus over typed MCP operations instead of requiring agents to construct HTTP requests.

Install it with `pip install bus-mcp`, then configure `bus-mcp` as the MCP command. If the console script is unavailable, run `python -m bus_mcp` instead. The default bus URL is `http://127.0.0.1:8100/api/bus`.

Set `BUS_MCP_ENABLE_WRITE` to enable write tools. Reads remain available without that setting. Task-claiming tools require the separate `BUS_MCP_ENABLE_TASK_CLAIM` gate, and the underlying bus may also require its own shared write secret.

It describes a standard MCP stdio command, so compatibility depends on the client's support for configuring stdio MCP servers.

It uses `BUS_MCP_AGENT_ID` when set; otherwise it derives a sanitized `session:<hostname>:<pid>` identity. That value supplies defaults for several identity fields and is echoed in tool results. It is not authentication, because any holder of the write secret can assert an identity.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBus MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/bus-mcp?style=directory)](https://allmcps.com/mcp/bus-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/bus-mcp"><img src="https://allmcps.com/api/badge/bus-mcp?style=directory" alt="Bus MCP on AllMCPs" /></a>