Skip to main content
Glama

todo-md-mcp

An MCP server for searching, reading, and editing TODO.md files from AI coding agents.

Works with the same plain-text task format as the todo-md-editor VSCode extension. The file stays human-readable and diffable; the MCP server provides structured access for programmatic use.

Use Cases

  • Orient in a project -- "What tasks exist? What sections, tags, priorities are in use?"

  • Find relevant tasks -- "What's open and assigned to me?" / "What bugs are tagged +api?" / "What's due this week?"

  • Pick up assigned work -- A user assigns a task to Claude (e.g. @claude), Claude looks it up, does the work, and updates the task status/notes afterwards.

  • Update progress -- Mark tasks done, change status, add notes after completing work.

  • Reference during coding -- Look up a task by #id mentioned in a comment or commit message.

  • Triage and review -- "What are the highest priority open tasks?" / "Show me everything in-progress."

Related MCP server: mcp-code-todo

Installation

pip install -e .

Requires Python 3.11+.

Configuration

By default, the server looks for a file named todo.md (case-insensitive) in the current working directory. To use a different file, set TODO_MD_PATH:

export TODO_MD_PATH=/path/to/TODO.md

Claude Code (~/.claude/settings.json)

{
  "mcpServers": {
    "todo-md": {
      "command": "uvx",
      "args": [
        "--from",
        "todo-md-mcp @ git+https://github.com/stefbo/todo-md-mcp.git",
        "todo-md-mcp"
      ],
      "env": {
        "TODO_MD_PATH": "/path/to/TODO.md"
      }
    }
  }
}

The env block can be omitted if a todo.md file exists in the working directory.

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "todo-md": {
      "command": "uvx",
      "args": [
        "--from",
        "todo-md-mcp @ git+https://github.com/stefbo/todo-md-mcp.git",
        "todo-md-mcp"
      ],
      "env": {
        "TODO_MD_PATH": "/path/to/TODO.md"
      }
    }
  }
}

Tools

Tool

Description

get_metadata

Document-level metadata: custom labels and statuses from frontmatter

list_sections

Document structure: headings, nesting, task counts

search_tasks

Find tasks by status, priority, tags, contexts, heading, text query, or ID

edit_task

Modify task fields (status, priority, title, tags, contexts, metadata, description)

See SPEC.md for full parameter and return value documentation.

File Format

Tasks follow a markdown-compatible, one-line-per-task format:

- [x] (A) Build parser for TODO format +parser @backend due:2026-04-01 #12
  Optional description as continuation lines.

See doc/todo_file_format.md for the full specification.

Author

Stefan Bolus

License

MIT — see LICENSE

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers