How to Use TODO with Codex: Setup, Prompts and Workflow (2026)
Codex is good at doing work. TODO is where you keep track of the work. Connect the two through MCP and Codex can read your list, do the tasks it can handle, and mark them done in the same app you use on your phone.
Short answer: add TODO's remote MCP server to Codex (CLI, IDE extension or app), sign in to approve access, then ask "Read my TODO tasks for today and do the ones you can." Codex reads each task's full notes, does the work, logs the result and ticks it off.
Quick Setup (About Two Minutes)
- Sign in to your free TODO account.
- Open the TODO MCP setup page and copy your connection URL.
- Add TODO as a remote MCP server in Codex, using either of the methods below.
- Sign in to TODO in the browser window that opens and click Allow access.
- Test it: "Using TODO, what's on my list today?"
Get your TODO connection URL →
Option 1: The Codex CLI
Run this in your terminal, replacing the URL with the one from your setup page:
codex mcp add todo --url <your TODO MCP URL>
Then run codex mcp login todo to complete sign-in. Codex saves the server in its shared configuration, so the CLI and IDE extension both pick it up.
Option 2: Edit config.toml
Add this block to ~/.codex/config.toml (or a project-level .codex/config.toml):
[mcp_servers.todo]
url = "<your TODO MCP URL>"
Restart Codex and approve the sign-in when prompted. Check the connection with /mcp inside a Codex session.
TODO uses OAuth, so there is no long-lived API key sitting in a config file. You can see which assistants are connected, and what they did, on the MCP page.
What Codex Can Do in TODO
| Feature | What Codex can do | Example |
|---|---|---|
| Read | Today's plan, any date range, the weekly pad and every list | “What's overdue?” |
| Create | Tasks, subtasks, repeating tasks and new lists | “Add a weekly task to review PRs” |
| Edit | Titles, notes, dates, repeats and Focus priority | “Move the deploy to Friday” |
| Complete | Tick off tasks and subtasks, including repeating ones on the right date | “Mark the migration done” |
| Execute | Fetch full task detail, do the work, log the outcome | “Do my coding tasks for today” |
Write Tasks Codex Can Actually Execute
Keep the title short so the list stays easy to read. Put the detail Codex needs in the notes:
- Context: why the task matters.
- Steps: what to do, in order.
- Inputs: the repository, branch, files, links or exact values.
- Done when: how Codex will know it's finished.
Title: Fix date bug on invoices page
Context: Customers in Asia see yesterday's date.
Steps: Reproduce, fix timezone handling, add a test.
Inputs: repo acme/billing, branch main, file src/invoices/date.ts
Done when: Tests pass and a PR is open.
You don't need notes for obvious tasks. Codex goes ahead with clear ones and only asks about tasks that are genuinely vague, such as a bare "Follow up", or ones missing a fact it can't look up.
How Codex Works Through Your List
- Reads today:
get_todayreturns your tasks plus a short list of any that need clarifying. - Asks once: if anything is unclear, Codex asks one short numbered set of questions and carries on with the rest in the meantime.
- Saves your answers:
add_task_contextwrites them into the task notes, so you won't be asked again. - Does the work: it calls
get_task_detailfor full notes and attachments, then uses its own tools (code, terminal, browser). - Logs and ticks off:
log_task_resultadds what it did (PR links, output) to the notes and completes the task.
Permissions for actions like pushing code or sending email are handled by Codex's own sandbox and approval settings. TODO supplies the work and records the result. It doesn't add extra blockers of its own.
Prompts You Can Copy
Do today's list
"Read my TODO tasks for today. Do every one you can with the tools you have, ask me about anything genuinely unclear in one message, then log the result on each task and tick it off."
Only the coding work
"From my TODO list, pick the tasks that relate to this repository. Get full detail for each, implement them, run the tests, and log the PR link on the task."
Plan a feature into tasks
"Break this feature into a TODO list called 'Checkout v2', with one task per PR and Context / Steps / Inputs / Done when in the notes."
End-of-day tidy
"Move anything unfinished today to tomorrow and flag the two most important as Focus."
Codex vs Claude Code with TODO
Both connect to the same TODO MCP server and use the same tools, so you can switch between them freely. Pick whichever agent you prefer for the job; the task list and its logged history stay in one place. See the Claude Code and Cowork guide for that setup.
Related: how to get Codex to do your tasks for you · the best todo app for humans and AI agents · todo apps with MCP support
Where TODO Fits
TODO is a free task app built around one idea: the planning should take less effort than the work. There is no paid tier, so nothing is held back. You get unlimited lists, repeating tasks, shared lists, a weekly view that feeds your daily list, automatic rollover of anything you didn't finish, offline support as an installable app, and a productivity dashboard.
It won't replace a database or a project management suite. It replaces the notebook and the half-abandoned app you keep paying for.
Related reading: The best todo app for humans and AI agents · Todoist free vs paid · Why TODO will always stay free · Best todo apps that work offline
Frequently Asked Questions
Can Codex use my TODO list?
Yes. TODO has a built-in remote MCP server. Add it to Codex with 'codex mcp add' or in config.toml, sign in to approve access, and Codex can read, add, edit and complete your tasks.
Do I need an API key to connect Codex to TODO?
No. TODO uses OAuth sign-in. You approve access once in the browser, and you can see connected assistants and their activity on the TODO MCP page.
Will Codex ask questions before doing a task?
Only when a task is genuinely vague or missing a fact it can't look up, such as a recipient or amount. Clear tasks are done straight away, and your answers are saved onto the task.
Does Codex mark tasks as done in TODO?
Yes. After finishing, Codex logs what it did, such as PR links or output, to the task notes and ticks the task off. Repeating tasks are completed for the correct date.
Is TODO free to use with Codex?
Yes. TODO is free forever with no paid tier, and the MCP connection is included at no cost.
Related Articles
How to Use a Todo App with Claude Code and Claude Cowork (2026)
Connect TODO to Claude Code or Claude Cowork over MCP, delegate today's tasks, answer clarifying questions and have Claude log the finished work.
How to Use TODO with ChatGPT: Setup, Plans and Prompts (2026)
Connect TODO to ChatGPT as a custom MCP app, check which ChatGPT plans can add and tick off tasks, and copy prompts that work. Honest, step by step.
The Best Todo App for UK Entrepreneurs (2026): Free, Simple, Made in the UK
Why TODO is the best todo app for UK founders, sole traders and small business owners. Free forever, built by a UK entrepreneur, with AI assistant support.