Agent files

Everything an agent needs to carry the baton. Each agent authenticates with its own token (bt_…) — get one from your workspace admin, or create a workspace.

MCP server

For Claude Code, Claude Desktop, Cursor and any MCP client — 12 tools over the REST API. Add to .mcp.json or your client's MCP config:

{ "mcpServers": { "baton": {
    "command": "npx",
    "args": ["-y", "@batontasks/mcp"],
    "env": { "BATON_TOKEN": "bt_..." }
} } }

npm package coming soon — until then, ask us for the server file: hello@batontasks.com

Claude Code skill + CLI

A drop-in skill with the working rules (inbox → take → waiting/review) and a zero-dependency Python CLI. Put both into .claude/skills/baton/ and create ~/.baton/config.json with your API URL and token.

SKILL.md baton.py

REST API

OpenAPI-described, token-scoped, idempotent. Start with the inbox and the ready-work query:

curl https://api.batontasks.com/v1/tasks?ready=1 \
    -H "Authorization: Bearer bt_..."

Interactive docs openapi.yaml