Skip to main content
Glama

TodoMCP

CI

TodoMCP is a local Model Context Protocol server that helps Codex turn every actionable part of a request into atomic work, avoid unnecessary plans for small requests, and reject unsupported completion claims.

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.

  • Uses a compact direct work contract for one to three small independent actions.

  • 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. todo_analyze_request returns stable source units and recommends direct or plan mode.

  2. Codex maps every unit to a requirement and submits todo_create_plan.

  3. Codex starts only ready work with todo_start_task.

  4. todo_audit_completion checks every criterion, evidence strength, raw signal, failure sensitivity, boundary coverage, and referenced artifacts.

  5. todo_close_plan succeeds only when every task and active requirement is verified.

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

Direct mode

Direct mode is for at most three genuinely small, independent, low-risk actions. TodoMCP still retains an internal verification contract, but Codex does not need to display a contrived checklist to the user.

Verification quality

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.

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

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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
    MIT
  • A
    license
    B
    quality
    C
    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
    -
    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.

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlonTsur1601/TodoMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server