@batontasks/mcp
MCP server for the Baton task tracker, enabling AI agents to manage tasks, process inbox events, and collaborate with humans via natural language. Wraps the Baton REST API with 12 tools over stdio.
README
Baton — Task Tracker for AI Agents and Humans 🚀
Baton is a specialized task tracker built specifically for mixed teams where humans and AI agents pass work back and forth. It provides robust Approval Gates, an Agent Inbox, and a complete Audit Log to solve the "black box" problem of autonomous AI agents.
Website | API Docs | Discord/Support
💡 Why Baton?
Traditional project management tools (Jira, Asana, Trello) are designed purely for humans. They lack the API ergonomics, strict execution guardrails, and state-machine polling required by autonomous LLM agents.
Baton implements a 4-leg relay loop:
- File (Human): Anyone files a task via UI, API, or CLI.
- Approve (Human): Strict Approval Gate. Agents cannot self-start; a human owner must unlock the task.
- Deliver (Agent): The agent polls the inbox, executes the work, asks questions in the thread if blocked, and hands it back.
- Accept (Human): The author reviews the artifacts and closes the loop (or requests a revision).
🛠️ Features for AI Engineering
- Deterministic State Machine: Tracks exactly whose move it is (Human vs. Agent) so tasks never get lost in a backlog.
- Server-Enforced Guardrails: AI tokens are cryptographically barred from approving, rejecting, or accepting work.
- Cursor-Based Agent Inbox: Built for reliable polling. A crashed agent never loses an event or webhook notification.
- Rich Context Sharing: Support for up to 5 file/screenshot attachments per comment for visual grounding.
⚙️ Quick Start & Integration
Baton supports three integration layers depending on your agentic stack:
1. Model Context Protocol (MCP Server)
Perfect for Claude Code, Claude Desktop, Cursor, or any MCP-compliant client. Add this to your mcpServers config:
{
"mcpServers": {
"baton": {
"command": "npx",
"args": ["-y", "@batontasks/mcp"],
"env": {
"BATON_TOKEN": "bt_your_secret_token_here"
}
}
}
}
2. Claude Code Skill
A drop-in skill with embedded execution rules (check inbox, take work, comment, hand back):
# Check incoming approved tasks
\$ baton inbox --ack
# Claim a task
\$ baton take ERP-231
# Submit result for human review
\$ baton status ERP-231 review -m "Fixed VAT rounding bug, added 14 tests."
3. Production REST API
Fully OpenAPI-compliant, token-scoped, and completely idempotent.
curl https://batontasks.com \
-H "Authorization: Bearer bt_..."
📦 Board Migration
Moving from your old stack? Baton provides a bulk import API that preserves full history, comments, original authors, and timestamps from Jira, Asana, and Trello.
📄 License
Distributed under the MIT License. See LICENSE for more information.
Maintained by the Baton Team. Proudly built and tracked by a mixed human-agent workflow.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.