# Todo MCP: full text for agents > Everything an agent needs in one file: the overview (https://todo-mcp.org/llms.txt), the agent set-up instructions (https://todo-mcp.org/SKILL.md), the MCP tool list (https://todo-mcp.org/docs/tools) and the v3.2.0 release notes. Where an earlier section and the release notes differ, the release notes describe the current release. --- # Todo MCP > Todo MCP is a persistent task and context memory server for any coding agent, any agentic harness, or any system that supports MCP. It gives the agent a memory that survives auto-compaction, crashes, and session boundaries: tasks with permanent IDs and dependencies, a key-value context store, crash-protection breadcrumbs, and a `context_resume` command that restores the full working state. Storage is a local SQLite database on the user's own machine. ## What it is - An MCP (Model Context Protocol) server, written in Go, that runs locally over stdio. - Built for multi-day, multi-session development work where the assistant's context window would otherwise lose the plan. - NOT a generic todo-list app, and not a cloud service: tasks and context live in a local SQLite file; the only network calls are license verification (daily) and the subscription website. ## Two facilities Todo MCP gives an assistant two things that outlive its context window: 1. A to-do list — tasks with permanent IDs («#N»), dependencies, status and time estimates. This is where the plan lives. 2. A context key-value store — named values the assistant writes as it works ("breadcrumbs" of in-flight progress, decisions, where it was), so a compacted or crashed session picks up mid-task. `context_resume` reads both back at the start of a session. The site's resources pages describe how these sit alongside an assistant's own memory and in-session checklist: https://todo-mcp.org/resources ## Core commands (MCP tools) - context_resume — restore tasks, context, and next-step recommendations at session start. - todo_list / todo_create / todo_complete — manage the persistent task graph. - context_set / context_get / context_delete — the key-value context store and breadcrumb log. - From the command line (not MCP tools): `todo-mcp license status`, `todo-mcp license activate `, `todo-mcp license link `. ## Pricing and licensing - $20/month or $199/year, which saves $41 compared with paying monthly ($240). Paid via Stripe on todo-mcp.org. One subscription covers unlimited devices for that user. - No account or password is needed to buy: enter an email at https://todo-mcp.org/pricing, pick a plan, pay. The confirmation page shows the license key and the downloads, and a one-time sign-in link is emailed for coming back later. - An agent does not handle a card: send your user to https://todo-mcp.org/pricing. - Downloads are gated to active subscribers. The licence is verified daily. Your tasks and context stay in a SQLite file on your own machine, which you own and can read at any time. The licence stops the tool's features when the subscription ends. - Refunds: https://todo-mcp.org/refund ## Install 1. Subscribe at https://todo-mcp.org/pricing and download the build for your platform from the confirmation page or the dashboard. 2. Activate: `todo-mcp license activate ` (or, from the dashboard, generate a link token and run `todo-mcp license link `). 3. Register the server with your client (stdio, command `todo-mcp`, args `--mode stdio`; if `todo-mcp` is not on PATH use the absolute path, `~/.local/share/todo-mcp/bin/todo-mcp` on macOS and Linux); per-client guides are at https://todo-mcp.org/resources. 4. At the start of every session, call `context_resume` first. ## Links - Set-up instructions an agent can follow: https://todo-mcp.org/SKILL.md - MCP tool list (all tools): https://todo-mcp.org/docs/tools - Everything on this list in one file: https://todo-mcp.org/llms-full.txt - v3.2.0 release notes: https://todo-mcp.org/resources/todo-mcp-v3-2-0-release-notes - Website: https://todo-mcp.org - Resources (guides and the architecture series): https://todo-mcp.org/resources - Support: https://todo-mcp.org/support - Terms: https://todo-mcp.org/terms · Privacy: https://todo-mcp.org/privacy ## Container licences The signed-in dashboard shows separate host and container keys. Its authenticated `GET /api/license/keys` response calls them `hostKey` and `containerKey`; this is not a public key-discovery endpoint. Use the host key for a persistent host installation. For an ephemeral container or sandbox, inject the container key as `TODO_MCP_LICENSE_KEY` through the runtime's secret environment settings before starting Todo MCP. Do not put a key in a Dockerfile, image, committed config, command transcript or logs. Keep the SQLite data directory on a persistent volume if tasks must survive container replacement. Release builds check a cached licence first, then `TODO_MCP_LICENSE_KEY`. A cached host licence therefore takes precedence: start a fresh container without a copied host licence. Do not copy host credentials into an image. Key issuance is unchanged. ## Harnesses with a fixed MCP configuration A harness launched with `--strict-mcp-config` loads only the servers supplied by its own `--mcp-config`; adding Todo MCP to `~/.claude.json` or a project `.mcp.json` does not enable it there. Ask the harness owner to add the stdio server to that configuration. If you cannot change it, use the installed CLI from the same project directory: ```sh printf 'list\nquit\n' | todo-mcp --mode cli ``` General form: `printf 'cmd\nquit\n' | todo-mcp --mode cli`, replacing `cmd` with a CLI command. Run `help` this way to see the CLI syntax; MCP tool names are not CLI commands. There is no one-shot task command today. A piped batch stops on its first error with no applied-command summary: check the exit status, inspect current state and do not replay a partial batch blindly. Use permanent `#id` references; bare numbers are list positions. Starting a task auto-pauses the task already in progress. --- --- name: todo-mcp-setup description: Set up Todo MCP (persistent task and context memory for AI coding assistants) for the user. Use when the user asks you to "read https://todo-mcp.org/SKILL.md and set me up", or when your work keeps losing its plan to context compaction, crashes or new sessions. --- # Set up Todo MCP for your user You are an AI coding assistant. Follow these steps in order. Stop and tell your user plainly if a step fails. ## 1. Say what it is, in one breath Todo MCP is a local MCP server that gives you two things that outlive your context window, in one product: 1. A to-do list: tasks with permanent IDs, dependencies and status. The plan lives here. 2. A context key-value store: notes you write as you work, so a compacted or crashed session picks up mid-task. `context_resume` reads both back at the start of every session. Everything is stored in a SQLite file on the user's own machine. It is paid software: $20/month, or $199/year, which saves $41 compared with paying monthly ($240). Your tasks and context stay in a SQLite file on your own machine, which you own and can read at any time. The licence stops the tool's features when the subscription ends. ## 2. Check whether it is already installed Run `todo-mcp --version`. If it prints a version, skip to step 5. ## 3. Ask your user to buy it (you never handle a card) Tell your user, in your own words, why you want it for the work in front of you, then give them this link: https://todo-mcp.org/pricing They enter an email, pick a plan and pay with Stripe. There is no account or password to create. The confirmation page shows their licence key and the downloads, and a sign-in link is emailed to them for later. Refund terms: https://todo-mcp.org/refund A licence key alone does not download the software: the download is tied to their purchase. So ask them for one of these: - the one-line install command shown on https://todo-mcp.org/dashboard (they open it with the sign-in link from their email, paste the command to you and you run it, or they run it themselves), or - to download and install it themselves from the confirmation page, then paste the licence key to you for step 4. ## 4. Install and activate 1. Run the one-line install command your user gave you (it downloads the right build for this platform and links the licence), or have them install from the confirmation page or https://todo-mcp.org/dashboard. 2. If the licence is not already linked, activate: `todo-mcp license activate ` 3. Confirm: `todo-mcp license status` ## 5. Register it with your client It is a stdio server. The dashboard (https://todo-mcp.org/dashboard) prints the exact line for the user's platform. - Claude Code, macOS or Linux: `claude mcp add --transport stdio todo-mcp ~/.local/share/todo-mcp/bin/todo-mcp` (add `--scope user` to use it in every project; check with `claude mcp list`) - Other clients (Cursor, Codex, OpenCode, Claude Desktop): add a stdio server entry that runs the same binary to the client's MCP configuration. Use the absolute path (`~/.local/share/todo-mcp/bin/todo-mcp` on macOS and Linux): desktop clients often do not have it on PATH. Guides: https://todo-mcp.org/resources There is no hosted endpoint and no remote MCP URL. It runs on the user's machine, or on your own machine if you are a cloud agent with a computer of your own: install it there the same way. ## 6. Use it, every session Task IDs are global across projects, so use the #ID shown in the list output, not #1. 1. Call `context_resume` first. 2. Put the plan in tasks: `todo_create`, `todo_list`, `todo_complete`. 3. Leave yourself notes as you go: `context_set`, `context_get`, `context_delete`. ## More - Machine-readable summary: https://todo-mcp.org/.well-known/mcp.json - Longer description: https://todo-mcp.org/llms.txt - Support: https://todo-mcp.org/support ## Container licences The signed-in dashboard shows separate host and container keys. Its authenticated `GET /api/license/keys` response calls them `hostKey` and `containerKey`; this is not a public key-discovery endpoint. Use the host key for a persistent host installation. For an ephemeral container or sandbox, inject the container key as `TODO_MCP_LICENSE_KEY` through the runtime's secret environment settings before starting Todo MCP. Do not put a key in a Dockerfile, image, committed config, command transcript or logs. Keep the SQLite data directory on a persistent volume if tasks must survive container replacement. Release builds check a cached licence first, then `TODO_MCP_LICENSE_KEY`. A cached host licence therefore takes precedence: start a fresh container without a copied host licence. Do not copy host credentials into an image. Key issuance is unchanged. ## Harnesses with a fixed MCP configuration A harness launched with `--strict-mcp-config` loads only the servers supplied by its own `--mcp-config`; adding Todo MCP to `~/.claude.json` or a project `.mcp.json` does not enable it there. Ask the harness owner to add the stdio server to that configuration. If you cannot change it, use the installed CLI from the same project directory: ```sh printf 'list\nquit\n' | todo-mcp --mode cli ``` General form: `printf 'cmd\nquit\n' | todo-mcp --mode cli`, replacing `cmd` with a CLI command. Run `help` this way to see the CLI syntax; MCP tool names are not CLI commands. There is no one-shot task command today. A piped batch stops on its first error with no applied-command summary: check the exit status, inspect current state and do not replay a partial batch blindly. Use permanent `#id` references; bare numbers are list positions. Starting a task auto-pauses the task already in progress. --- Todo-MCP v3.2.0: MCP tools A Todo-MCP v3.2.0 server lists these 32 tools in tools/list. Each line gives the tool name, what it does, and its parameters (* = required). The installed server's tools/list is the authoritative schema, with every parameter's type and allowed values. Start every session with context_resume. Task IDs are permanent and global across projects: use the #ID shown in list output (for example task_id "#12"); position_id is the task's place in the current list. While no licence is in force, v3.2.0 refuses every tool that changes anything and says so; reads, exports, version and about stay open. Tasks ----- todo_list List tasks with optional status filter. Returns tasks in priority order with dependencies shown. Parameters: filter, has_dependencies, priority, search, sort, sort_by, sort_order, status, tags todo_create Create a task. Returns task_id for subsequent operations. Tags auto-extracted from content. Does not accept dependencies; set them with todo_update after creating the task. Parameters: content*, estimate_minutes*, priority, tags todo_batch_create Create multiple tasks atomically: all are created or none. Pass a tasks array; every entry needs content and estimate_minutes, and an entry without an estimate refuses the whole batch. The reply lists the created task IDs in creation order. Task entries do not accept dependencies; set them with todo_update after creating. Parameters: tasks todo_complete Mark task completed. Requires in_progress status (todo_start or todo_resume first). Use task_id or position_id. Parameters: position_id, task_id todo_update Update task properties. Use task_id or position_id. Parameters: content, dependencies, estimate_minutes, position_id, priority, sequence, status, tags, task_id todo_delete Delete task permanently. Irreversible. Use task_id or position_id. Parameters: position_id, task_id todo_next Get recommended next task. A task already in progress (with no unmet dependency) comes first; otherwise the order is dependencies, priority, and sequence. Optional filters narrow the tasks first. Parameters: priority, status, tags todo_bulk Atomic bulk operations on multiple tasks. Select with exactly one of task_ids, position_ids, or filters. Rollback on failure. Parameters: data, filters, operation*, position_ids, positions, task_ids todo_archive Archive completed tasks to a markdown file and clear them from the database. The file keeps each task's ID, content, estimate, actual time, completed time and tags; priority, dependencies and history are not kept, so dump and export first. Parameters: none todo_clear_all Clear all tasks (use force=true to delete incomplete tasks) Parameters: force todo_start Start working on a task; one of four routes into in_progress (the others are todo_resume, todo_update status and todo_bulk set_status). Only one task active at a time. Refuses a completed task (reopen with todo_update status). Use task_id or position_id. Parameters: position_id, task_id todo_pause Pause in-progress task. Requires in_progress status. Optional reason parameter, stored as the resume precondition. Use task_id or position_id. Parameters: position_id, reason, task_id todo_resume Resume a paused task, or start a created one. Refuses a completed task (reopen with todo_update status); resuming the in-progress task changes nothing. Automatically pauses other active tasks. Use task_id or position_id. Parameters: position_id, task_id todo_estimate Update time estimate for a task. Use task_id or position_id. Parameters: minutes*, position_id, task_id todo_tag_add Add tags to a task. Tags normalized and deduplicated. Use task_id or position_id. Parameters: position_id, tags*, task_id todo_tag_remove Remove tags from a task. Use task_id or position_id. Parameters: position_id, tags*, task_id Context (key-value store and breadcrumbs) ----------------------------------------- context_set Store key-value data in persistent memory. Use prefixes: task_#N_*, temp_*, recovery_*, session_*. Parameters: key*, value* context_get Retrieve context by exact key or pattern. Supports glob (temp_*) and regex (/^old_.*/) patterns. Parameters: key, minutes_back, pattern context_get_all Get all stored context keys with values and timestamps. Parameters: none context_delete Delete context by key or pattern. Use dry_run:true to preview. Parameters: dry_run, key, pattern context_clear Delete this project's main-conversation context. Refused while context is non-empty unless force:true. Irreversible. Parameters: force context_stats Get context storage statistics and key distribution. Parameters: none context_resume Session recovery: get current tasks and recent context state. Use at session start. Parameters: minutes_back Sessions, projects, backups --------------------------- session_summary Get today's work session summary with time spent and the tasks started or completed today (since local midnight). Parameters: none project_status Get project overview with task distribution, completion rates, and health metrics. Pass type to get velocity or estimation_accuracy analytics instead. Parameters: type project_dump Back up this project's tasks, and optionally context, to a file. Returns the file path. Carries every task column, the dependency graph, task history (events), focus sessions and project flags; with include_context, the main-conversation context rows, and the reply reports how many agent-scoped context rows were left out. Parameters: compress, include_context, output project_restore Restore this project from a project_dump file, keeping every task ID («#N») as dumped. Writes every task column, the dependency graph, task history (events), focus sessions, project flags and, with restore_context, the main-conversation context. Modes: replace (overwrite this project with the dump) and validate (run every check a restore runs and report what it would do, writing nothing). With no mode, the dump is written only into an empty project; a project holding tasks, flags or (when restoring context) context is refused, naming replace. A restore that cannot be written whole is refused and writes nothing: a dumped task ID held by another project, a dependency or parent link to a task outside the dump, or another project's task parented into this one. Parameters: file*, force, include_context, mode, restore_context, skip_checksums project_import Move this project into this database from a project_dump made in another database (for example, the host's database into the container's): the same project, a different database. Every task ID («#N») is kept, and every section the dump carries is written -- task columns, the dependency graph, task history, focus sessions, project flags and the main-conversation context. The dump's project key must equal this tree's identity marker (.todo-mcp/project-id); a legacy dump (no key), a tree with no marker yet, or a different project's dump is refused. If this database has no project for this tree yet, the import creates it. mode replace is the only mode, and is required exactly when this project already holds tasks, flags or context; with no mode the dump is written only into an empty project. An import that cannot be written whole is refused and writes nothing: a dumped task ID held by another project in this database (named), or a link to a task outside the dump. To recover a project within the same database, use project_restore. The reply names the dump's generator, the target database file, the count of every section, and how many agent-scoped context keys were not carried. Parameters: file*, mode Export ------ todo_export Export tasks to markdown, json, csv, or org format. Returns file path. Parameters: format, output_dir export_markdown Return tasks as markdown with checkboxes and metadata. Writes no file -- the markdown is in the reply (use todo_export to write one). Parameters: include_completed Server ------ version Get server version and build information, with the license block and the detected client. Parameters: none about Report where this session stands: the database file (default or custom), the project root and how it was found, the project's name, id and tree key, and this project's agent registrations. Reads only; with no project row yet it says so and creates nothing. Parameters: none More ---- Setup tutorial: https://todo-mcp.org/docs Agent setup instructions: https://todo-mcp.org/SKILL.md Agent overview: https://todo-mcp.org/llms.txt (everything in one file: https://todo-mcp.org/llms-full.txt) v3.2.0 release notes: https://todo-mcp.org/resources/todo-mcp-v3-2-0-release-notes --- ## [3.2.0] - Thu, 19 Nov 2026 License enforcement in the release build, a batch create that needs an estimate and writes all or nothing, one-shot CLI commands, and concurrent startup that loses no write. ### Added - **License enforcement**: Todo-MCP refuses every command and tool that changes anything while no license is in force, saying what state it is in and that nothing was changed. Reads, exports, `version`, `about` and `doctor` stay open. - **License status lines**: `--version`, `version`, `doctor` and `doctor license status` print `Licensing: enforced`, then `License: active`, `active — payment past due, update your card`, `offline — trusted until `, `lapsed` or `unlicensed`. The key and the email are masked. - **Offline trust**: a license the server confirmed keeps working for 7 days from the time the server signed its answer. A refusal from the server ends it at once. - **`TODO_MCP_LICENSE_KEY`**: the server verifies this container key when it starts with no license in force, and a container server sends a heartbeat at start and hourly. - **Update line**: `Update available: v — ` appears in the version report, `doctor license status` and `context_resume` when the license server reports a newer release. - **One-shot CLI**: `todo-mcp --mode cli [args]` runs one command and exits. It has no list on screen, so it refuses every bare position; name the task as `#`. - **Piped CLI**: a piped batch stops at the first error and prints a summary of the lines applied and the line that failed. After a command that reorders the list, a piped session refuses bare positions until `list` runs. - **`initialize` instructions**: the `initialize` result carries `instructions` that state the core process to an agent without the mastery documents. ### Changed - **`todo_next`** continues an unblocked in-progress task before offering new work, and never recommends a task whose status is `blocked`. CLI `next` follows the same rule. - **BREAKING**: `todo_batch_create` and CLI `batch-create` require `estimate_minutes` on every task. A task without one refuses the whole batch and creates nothing; a missing estimate no longer defaults to 60. Scripted callers must send an estimate with every task. - **BREAKING**: the `markdown` form of `todo_batch_create` is removed. A `markdown` argument is refused as an unknown parameter, and CLI `batch-create` reads JSON only. - **Estimates are whole minutes.** A fraction is refused on every tool and CLI verb that takes an estimate. - **Tag names are at least two characters.** A one-character name in `tags` is refused, naming the entry. A one-character `#x` in content is text. A tag stored earlier under a short name stays listed, filterable and removable. - **CLI replies** name the task's ID and title, and a filtered `list` or `deps` numbers each task by its position in the default list. - **`Mastery docs` line** in the version report reads `.todo-mcp/mastery/README.md` in the working folder. A `CLAUDE.md` alone no longer reports found. - **Pre-migration copy** is named `.pre-schema----`. Migrations apply in one transaction: a failed one leaves the database at its old schema. - **Legal texts**: the License Agreement, Terms of Service and Privacy Policy describe the one developer subscription with no tiers, what stays available after a lapse, and exactly what the software sends to the license server. The software sends no usage statistics; the website's analytics are stated separately. The License Agreement names Colorado law. ### Removed - **BREAKING**: `self-update`, `check-update` and `install` are not CLI commands, and `--check-update` and `--include-prereleases` are not flags. Each is refused as unknown. ### Fixed - **`todo_batch_create` writes all or nothing.** A failure partway through writing a batch kept the tasks written before it. Now none is kept. - **Concurrent startup loses no write.** Two todo-mcp processes opening one database at the same moment (an MCP server and a CLI, say) could fail at startup on the first launch after an upgrade. One migrates it and the others carry on, and each write takes the database lock when it begins. - **A content edit keeps the task's tags.** `todo_update` and CLI `update --content` with a `#hashtag` in the new text replaced the task's tags with the hashtag. Hashtags in new content now merge into the existing tags; an explicit `tags` list still replaces the set. ### Migration notes - **A script that sends `markdown` to `todo_batch_create`, or a batch task with no `estimate_minutes`,** is refused. Send `tasks` with an estimate in whole minutes on each. - **A script that runs `todo-mcp --mode cli start 1`** is refused. Use `todo-mcp --mode cli start '#12'`. - **A license file written by v3.1.0** is unsigned. The first check online replaces it with a signed one, and `License:` reads `unlicensed` until then.