Baton logo

Baton

Seals AI work into encrypted handoff capsules and issues signed receipts after independent replay and observed verification.

Install Baton

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

Streamable HTTP (Remote)
Server URL
https://baton-mcp-production.up.railway.app/mcp

Remote servers are added in the app, not the config file: Customize โ†’ Connectors โ†’ Add custom connector, then paste this URL.

Overview

The baton MCP server packages AI work into encrypted handoff capsules and supports independent replay with signed verification receipts. It runs locally over stdio or remotely through Streamable HTTP, allowing MCP clients such as Claude Code, Codex CLI, Gemini CLI, and Cursor to connect. Use it when another agent, person, or team needs evidence that a handoff works beyond a passing build. Team rooms, task tracking, Git evidence, and cost records provide supporting coordination features.

Use cases

  • Seal completed AI work for another agent or teammate
  • Replay handoffs and record observed side effects
  • Compare or revoke capsule versions
  • Coordinate collaborators through invite-based rooms
  • Track Git evidence and model-related costs

Key features

  • Encrypted handoff capsules with code-derived keys
  • Independent replay with signed verification receipts
  • Observed evidence and artifact recording
  • Invite-based team rooms
  • Git, task, and cost evidence tracking
  • Stdio and Streamable HTTP transports

Tools45

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

Verified live~4.4k 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

Recent health check succeeded.

13/13 checks healthy over the last 71d

What it can do

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

Can delete or modify data ยท 2Handles credentials ยท 11Read-only tools ยท 43

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

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

Last commit4mo agoMost recent push to the default branch.
Tools exposed45Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Baton works

What baton MCP server does

The baton MCP server transfers AI-produced work as a sealed capsule rather than relying on an informal summary. A producer creates a capsule with baton_pass, and a receiver can retrieve it, compare versions, or revoke it. Capsules use a code-derived encryption key; the service stores ciphertext and a code hash instead of the plaintext body.

The central trust workflow is independent verification. A receiving agent can use baton_verify_plan to prepare a replay and baton_verify to execute verification in a clean environment. The result is a server-signed verification receipt describing the capsule, verifier, environment, observations, artifacts, and verdict. A successful build alone does not produce a verified result; the workflow requires observed behavior and side effects.

How it works

The producer seals work and shares a BTN-H-โ€ฆ handoff code. Another model, machine, or person redeems the capsule and can independently replay the relevant behavior. Verification can record details such as an HTTP response, a database change, or attached test artifacts. The server signs the receipt with HMAC, so changing the verdict without the signing secret invalidates the record.

Inbound capsules and messages are returned as fenced untrusted data to help contain prompt injection. Secrets are masked before storage. One-time codes are redeemed atomically, and the project describes the codes as at least 128-bit secrets. baton_consolidate can collect multiple handoffs into a result board organized by trust tier.

Setup and configuration

Install dependencies and run the server with Node.js:

Terminal
npm install
npm test
node src/server.js

The default mode is stdio, suitable for local MCP clients and command-line tools. To expose Streamable HTTP, set BATON_HTTP=1 and choose a port, for example:

bash
BATON_HTTP=1 PORT=8080 node src/server.js

A remote client can register the MCP endpoint with an HTTP transport. SQLite with better-sqlite3 is used for the MVP and supports a self-hosted single-binary deployment. The hosted service uses a Postgres adapter behind the storage interface. Billing and quota enforcement are disabled by default; BATON_BILLING=on re-enables them.

Tools and capabilities

The baton MCP server groups its tools into several areas:

  • Handoff tools create, receive, compare, and revoke capsules: baton_pass, baton_receive, baton_diff, and baton_revoke.
  • Verification tools plan and perform independent replay, consolidate results, and use six spider_* tools for observation.
  • Room tools create persistent team rooms, issue rotating 72-hour invites, manage membership, exchange messages, and approve, remove, or close participants.
  • Operations tools maintain cycle-safe private task graphs, bind Git commits, diffs, and tests as evidence, and record idempotent provider, model, and task costs.

The project also provides dashboards for collaboration rooms, verification results, operations, and network data. Shared Memory encrypts bodies under the account key and searches metadata only. The MCP Hub rejects URLs containing credentials, and marketplace reputation accepts only independent server-signed verified receipts.

Limitations and notes

Verification depends on replayable observed behavior; static analysis or a passing build is insufficient for a verified verdict. The service does not request repository credentials. Team rooms are supporting functionality rather than a general agent-swarm system, and access is controlled through invite codes and owner actions.

The hosted storage adapter is distinct from the local SQLite MVP. Billing is currently off by default, so quota behavior changes only when the billing setting is enabled. The project is licensed under MIT.

Written by AllMCPs with AI assistance from the projectโ€™s README and listing data. How we build listings

Reviews

No reviews yet โ€” be the first to share how it worked for you.

Frequently Asked Questions about Baton

baton is an MCP server that connects AI clients such as Claude Code, Codex CLI, Gemini CLI, and Cursor to encrypted handoff, independent verification, and team coordination tools. Its main tools seal and receive work capsules, replay them, compare or revoke versions, and issue signed receipts based on observed evidence.

Install dependencies with `npm install`, then run `node src/server.js`. The default transport is stdio. For remote access, set `BATON_HTTP=1` and `PORT`, start the server, and configure an MCP client with the server's `/mcp` endpoint.

Yes, baton works with Cursor because the project exposes a standard MCP server. Cursor can connect using the local stdio mode or, when configured for remote MCP access, the Streamable HTTP endpoint.

baton verifies a handoff by replaying it independently in a clean environment and recording observed behavior and artifacts. `baton_verify_plan` prepares the process, while `baton_verify` issues a server-signed receipt; a passing build alone is not enough.

No, baton does not ask for repository credentials. Its operations features store task metadata, Git evidence, and cost facts, while shared memory encrypts bodies and searches metadata only.

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 PreviewBaton AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/baton?style=directory)](https://allmcps.com/mcp/baton)
HTML Embed
<a href="https://allmcps.com/mcp/baton"><img src="https://allmcps.com/api/badge/baton?style=directory" alt="Baton on AllMCPs" /></a>