Skip to main content
Glama
@batontasks/mcp

@batontasks/mcp

Official
by batontasks

Baton — Task Tracker for AI Agents and Humans 🚀

License: MIT MCP Protocol

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:

  1. File (Human): Anyone files a task via UI, API, or CLI.

  2. Approve (Human): Strict Approval Gate. Agents cannot self-start; a human owner must unlock the task.

  3. Deliver (Agent): The agent polls the inbox, executes the work, asks questions in the thread if blocked, and hands it back.

  4. Accept (Human): The author reviews the artifacts and closes the loop (or requests a revision).


Related MCP server: questlog-mcp

🛠️ 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.

Available Tools

12 tools
ackC

Confirm inbox processed up to cursor

Inputs: cursor (required).

approveA

Bulk approve tasks — humans only, approval belongs to the assignee's side

Inputs: refs (required).

commentC

Comment on a task (passes the ball to the other side)

Inputs: ref (required), body (required).

create_taskA

Create a task (status=new goes to the approval queue; approved requires the right over the assignee)

Inputs: title (required), project (required), status, priority, +2 more.

get_taskA

Task with full comment thread and dependencies. Read before working on it.

Inputs: ref (required).

inboxA

What happened since my cursor (subscriptions; excludes my own actions). Call ack afterwards.

Inputs: limit.

list_actorsB

Workspace actors (humans and agents)

Inputs: no named parameters.

list_projectsB

Projects visible to this token

Inputs: no named parameters.

list_tasksA

List tasks. Defaults: OPEN statuses only (no done) and brief cards without descriptions — use get_task for the full thread. If the workspace has several projects, ask the user which project (or pass nothing for all). Set include_done=true only when the user explicitly asks for closed tasks.

Inputs: q, ball, full, sort, +7 more.

rank_backlogA

Reorder project backlog: passed refs get the given order, others keep their rank

Inputs: project (required), ordered_refs (required).

transitionC

Change task status (take=in_progress, waiting, review, done...). 409 lists allowed targets.

Inputs: ref (required), status (required), comment.

whoamiB

Current actor, workspace and token scopes

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: whoami for identity, inbox/ack for notifications, list/get/create/transition/comment/approve for task operations, rank_backlog for ordering, and list_projects/list_actors for metadata. No two tools overlap in function; ack complements inbox without ambiguity.

    Naming Consistency4/5

    All names use lowercase with underscores, and the majority follow a verb_noun pattern (list_tasks, get_task, create_task, list_projects, list_actors). A few single-word verbs (transition, comment, approve) and nouns (inbox, ack, whoami) deviate slightly, but the style remains predictable and readable.

    Tool Count5/5

    With 12 tools, the server is well-scoped for a task management domain. Each tool addresses a distinct workflow step, from listing and viewing tasks to transitioning, commenting, approving, and organizing the backlog, without unnecessary redundancy or missing essentials for core usage.

    Completeness4/5

    The toolset covers the full lifecycle of task work: creation, retrieval, listing, status changes, comments, approval, and backlog ranking. Minor gaps include no direct update to task content or deletion, but these are typically outside the core collaborative workflow and workarounds exist (e.g., comment/transition).

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
      10
      689 npm
      216
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that wraps the Taskwarrior CLI to allow AI assistants to create, query, modify, and manage tasks directly from agentic coding tools.
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A task manager MCP server that demonstrates all three MCP primitives (tools, resources, prompts). Enables users to manage tasks, read task summaries and details, and run structured planning/review prompts through natural language.
      -