Skip to main content
Glama

TodoMCP

CI M8ven Score

TodoMCP is a local Model Context Protocol server that helps Codex and Claude Code plan genuinely complex work and verify uncertain completion claims without burdening small, deterministic tasks with planning overhead.

It uses no model API, opens no port, and has no dependency on another MCP server. State is stored outside your repositories in the operating system's user-data directory.

TodoMCP complements CountdownMCP, but both servers remain fully independent and useful on their own.

What it does

  • Creates stable source units from numbered lists, bullets, sentences, compound clauses, constraints, and success language.

  • Leaves small, clear, deterministic tasks entirely to Codex with zero TodoMCP calls.

  • Audits uncertain small results with one stateless call and no stored plan or task.

  • Requires a validated atomic plan for larger, dependent, risky, or multi-system work.

  • Maps every source unit to an explicit requirement disposition.

  • Blocks tasks whose dependencies are incomplete.

  • Audits the verification method as well as its result.

  • Recommends zero to three bounded agent work packages without creating agents.

  • Exports the neutral WorkCandidate.v1 shape for optional CountdownMCP advice.

Related MCP server: Gravitas-Core-MCP

Requirements

  • Node.js 20 or newer

  • Codex CLI/Desktop with MCP support

Install

Clone the repository and run the installer:

git clone https://github.com/AlonTsur1601/TodoMCP.git
Set-Location TodoMCP
node install.mjs

The installer builds and smoke-tests the server before atomically copying it to CODEX_HOME/mcp/todo-mcp. It replaces only the todo_mcp registration and rolls back that registration and the installed files if setup fails. Restart Codex after installation.

An installed copy is a local snapshot. New Git commits and GitHub Releases do not update it automatically. To update an existing clone, pull the newer source and rerun the installer:

Set-Location TodoMCP
git pull --ff-only
node install.mjs

Restart Codex after installing or updating.

For development without installing:

npm ci
npm run check
codex mcp add todo_mcp -- node C:\absolute\path\to\TodoMCP\dist\src\index.js

Workflow

  1. For an obviously small deterministic task, Codex works independently and makes no TodoMCP calls.

  2. For small work with meaningful completion uncertainty, Codex works independently and may call todo_audit_result once at the end. This creates no persistent TodoMCP state.

  3. For genuinely complex work, todo_analyze_request returns stable source units and recommends a plan.

  4. Codex maps every unit to a requirement and submits todo_create_plan once.

  5. todo_audit_completion checks a planned task and can auto-start it when its dependencies are ready, avoiding a separate start call.

  6. todo_close_plan is called once after the final approved task.

Rejected plans are retained as drafts so Codex can repair them with todo_revise_plan. There is no force-complete operation.

Small tasks and tool-call budget

Small does not mean that Codex must create a shorter TodoMCP plan. It means Codex should work without TodoMCP state. A precise edit with an immediately observable result, such as replacing one known line with exact text, needs no TodoMCP analysis, task creation, start, audit, or close call.

If a small task has meaningful uncertainty—such as runtime behavior, a bug fix, an integration boundary, or user-visible behavior—Codex may make one todo_audit_result call after doing the work. The caller must state why completion is uncertain. If neither the request nor the caller supplies an uncertainty reason, the tool skips the audit.

The legacy direct plan input remains accepted for backward compatibility, but clients should not create direct plans for ordinary small work.

Verification quality

For planned work and uncertain independent results, each acceptance criterion declares its minimum evidence level: static, build, unit, integration, runtime, or manual. Evidence must include the target, input, expected and observed signals, substantive raw output, and an explanation of how the check detects failure.

Behavioral criteria cannot be satisfied by build-only evidence. User-visible criteria can require observation through the public interface, and criteria can require negative or boundary cases. Failure-sensitivity explanations must identify a concrete failing, changed, rejected, negative, or pre-fix signal. Explicit artifact paths are confined to the registered workspace, limited to 1 MiB, and SHA-256 checked. Artifacts declared as test_source are also inspected for a recognizable assertion or failure check, so a script that only prints PASS is rejected.

TodoMCP cannot make an uncooperative MCP client call its tools or independently understand arbitrary verification code without a model. Its state machine and evidence contract provide the strongest enforcement available inside a model-free MCP tool workflow.

CountdownMCP interoperability

todo_get_execution_candidates returns:

{
  "schemaVersion": "WorkCandidate.v1",
  "currentTaskId": "task-2",
  "tasks": [
    {
      "id": "task-2",
      "title": "Add runtime verification",
      "priority": 5,
      "estimatedMinutes": 45,
      "dependenciesReady": true,
      "needsUserInput": false,
      "canContinueWithoutNewMessage": true,
      "checkpointable": true
    }
  ]
}

Codex may pass this result to countdown_advise_work, then pass the returned recommendedNow, deferUntilReset, executionOrder, and optional checkpoint to todo_apply_execution_advice. Advice can reorder ready work but cannot bypass dependencies or verification. Either server works normally when the other is absent.

Data and security

  • Windows: %LOCALAPPDATA%\TodoMCP\workspaces

  • macOS: ~/Library/Application Support/TodoMCP/workspaces

  • Linux: $XDG_DATA_HOME/todo-mcp/workspaces or ~/.local/share/todo-mcp/workspaces

Tool input is untrusted. TodoMCP uses strict schemas, atomic state writes, per-plan locks, path containment checks, and stderr-only diagnostics. It does not execute verification commands or read another MCP server's state.

See the Privacy Policy for the data TodoMCP stores locally and how to remove it.

Development

npm run typecheck
npm test
npm run smoke

Live account-dependent tests are intentionally unnecessary: TodoMCP has no account or OpenAI API integration.

When a sibling CountdownMCP checkout has been built, verify the real tool contract without adding a package dependency:

npm run contract:countdown

Releases

Pushing a tag that exactly matches the version in package.json (for example, v0.1.0) runs the release workflow. It repeats the full check and publishes a GitHub Release containing a source ZIP and SHA-256 checksum. Users extract the ZIP and run node install.mjs; no global npm publication is required.

License

MIT License

Available Tools

11 tools
todo_analyze_requestAnalyze request into source unitsA
Read-onlyIdempotent

Use once only when work may require a plan. Do not call for obviously small deterministic work. Identifies source clauses, uncertainty, and whether Codex should work independently or create a plan.

Inputs: request (required). Returns: result

todo_apply_execution_adviceApply external execution adviceC

Apply a neutral advisor ranking to ready tasks. Unknown or blocked task ids are rejected; dependencies are never bypassed.

Inputs: advice (required), planId (required), workspaceRoot (required). Returns: result

todo_audit_completionAudit task completion evidenceC

Audit a planned task. A ready pending task is auto-started to avoid a separate start call; the result reports when the plan is ready to close.

Inputs: planId (required), taskId (required), summary (required), evidence (required), +2 more. Returns: result

todo_audit_resultAudit an uncertain independent resultB
Read-onlyIdempotent

Use at most once after small independent work, and only when completion has meaningful uncertainty. Creates no plan or task state; deterministic edits are skipped.

Inputs: summary (required), evidence (required), workspaceRoot (required), originalRequest (required), +3 more. Returns: result

todo_close_planClose a fully verified planA
Idempotent

Close a fully verified plan once after the final approved audit. There is no force-complete path.

Inputs: planId (required), workspaceRoot (required). Returns: result

todo_create_planCreate and validate a work contractC

Create an atomic plan for genuinely complex work. Small work should run independently; direct contracts remain supported for compatibility.

Inputs: mode (required), tasks (required), requirements (required), workspaceRoot (required), +3 more. Returns: result

todo_get_execution_candidatesGet WorkCandidate v1 tasksC
Read-onlyIdempotent

Return ready tasks in the neutral WorkCandidate v1 shape accepted by CountdownMCP. Works without CountdownMCP.

Inputs: planId (required), workspaceRoot (required). Returns: result

todo_get_planGet plan stateC
Read-onlyIdempotent

Read the plan, coverage, ready and blocked tasks, verification history, and next task.

Inputs: planId (required), workspaceRoot (required). Returns: result

todo_recommend_delegationRecommend bounded delegationA
Read-onlyIdempotent

Recommend zero to three additional agents only for independent, substantial, low-overlap ready tasks. Does not create agents.

Inputs: planId (required), workspaceRoot (required). Returns: result

todo_revise_planRevise a planB

Replace a draft or active plan while retaining history. Changed completion contracts invalidate prior completion.

Inputs: mode (required), tasks (required), planId (required), requirements (required), +5 more. Returns: result

todo_start_taskStart a ready taskB

Start an atomic task only when all dependencies are complete.

Inputs: planId (required), taskId (required), workspaceRoot (required), owner. Returns: result

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 11 tools

    Disambiguation4/5

    Each tool targets a distinct stage in the plan/task lifecycle, but todo_audit_completion and todo_audit_result are similar audit operations, and todo_audit_completion's auto-start behavior overlaps with todo_start_task. The descriptions clarify planned versus independent work, so boundaries are mostly clear.

    Naming Consistency5/5

    All 11 tools use the same todo_ prefix and snake_case verb_noun pattern, such as todo_create_plan, todo_get_plan, and todo_start_task. No mixed conventions appear.

    Tool Count5/5

    Eleven tools fit the orchestration scope well, covering analysis, planning, task readiness, auditing, closing, and delegation. Each tool appears to earn its place rather than padding the surface.

    Completeness4/5

    The plan lifecycle is well covered with create, revise, get, and close, plus task start/audit and execution-candidate integration. Minor gaps remain around explicit task creation/update, plan listing, and cancel/abandon paths, but core workflows are supported.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A local MCP server that lets Claude delegate scoped work to Codex with structured results and guardrails, supporting planning, code review, build, reverse engineering, and long-running background tasks.
      11
      204 PyPI
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Production-grade, autonomous Model Context Protocol (MCP) server that elevates AI models from stateless code generators into persistent, self-verifying software engineers.
      21
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that connects multiple AI models into a single workflow, enabling multi-model orchestration, conversation continuity, and tools like code review, planning, and CLI-to-CLI bridging.
      -