How to Get Codex to Do Your Tasks for You (Step-by-Step, 2026)

    Comparisons•
    By TODO Team
    •
    •
    8 min read

    Codex will happily write code for you. The hard part is getting it to know what to do without you re-explaining every job in chat. The fix is to let it read your actual task list — and write back to it.

    In one sentence: connect Codex to a todo app with an MCP server, store each task's execution detail in its notes, then say "read my tasks for today and do the ones you can" — Codex pulls the work, does it, and ticks it off.

    The Quick Answer

    1. Create a free TODO account.
    2. Open the MCP setup page and copy the one-line command for Codex.
    3. Sign in and approve the consent screen — no API tokens in config files.
    4. Write tasks with a short human title and the detail in the notes: Context, Steps, Inputs, Done when.
    5. Say: "Read my TODO tasks for today and do the ones you can, then log what you did."

    Why Copy-Pasting Tasks into Codex Doesn't Scale

    Most people start by pasting a task into the chat window. It works once. Then it falls apart, for predictable reasons:

    • You become the integration. Every job means finding the task, re-typing the context, and remembering to tick it off afterwards.
    • Context gets lost. The repo path, the failing test, the definition of done live in your head — so Codex guesses, and guesses wrong.
    • Nothing gets recorded. Codex finishes, says so in chat, and your list still shows the work as outstanding tomorrow morning.

    An MCP connection removes all three. Codex reads the list itself, retrieves the full task detail, and writes the result back.

    Step 1: Connect Codex to Your Task List

    TODO ships an MCP server as part of the app, so there's no community wrapper to install and no long-lived token to paste anywhere. The setup page gives you a single command to add the connector; you sign in, approve a consent screen, and can revoke access at any time.

    Once connected, Codex has around twenty tools: read the daily pad, read the week, read lists, add, edit, reschedule, complete and delete tasks and subtasks. Crucially those tools run TODO's own rules — repeats, rollover, priorities and week boundaries are resolved on the server, so "today" means the same thing to Codex as it does to you.

    Connect Codex to TODO →

    Step 2: Write Tasks Codex Can Actually Execute

    This is where most setups fail. A task that reads well to you often contains nothing an agent can act on. But the answer isn't a 300-character title that looks awful in your list — it's keeping the title short and putting the machine-facing detail in the notes.

    A good structure for the notes:

    • Context — background, links, why this matters.
    • Steps — the actual work, in order.
    • Inputs — repo, branch, files, where credentials live.
    • Done when — the test that proves it's finished.

    Subtasks work as milestones Codex can report against.

    Before and after

    Feature Human-readable? Codex can execute it?
    Fix bug ✅ ❌ No repo, no symptom, no definition of done
    Fix flaky deploy test + notes with Context / Steps / Inputs / Done when ✅ ✅ Everything needed is retrievable
    Fix flaky deploy test in api-server on branch main, see CI run 4821, ensure... ❌ Unreadable list ✅ But your list is now a wall of text

    The middle row is the target: a list that still looks like a list, with the execution detail one layer down where Codex can fetch it.

    Step 3: Hand Over the Day

    With the connection in place, the prompt is boring — which is the point:

    "Read my TODO tasks for today. Do the ones you can, log what you did on each, and tick off anything you finished. Leave the rest."

    Codex calls get_task_detail to pull the full context and any attachments, does the work, then calls log_task_result to write the outcome into the task and mark it complete. Repeating daily tasks are recorded as complete for that specific date, so the tick actually shows up in the app rather than vanishing into a flag the interface ignores.

    You open TODO after lunch and the executable work is done, ticked, with notes on what happened. The tasks only you can do are still waiting — exactly as they should be.

    Good and Bad Candidates for Delegation

    • Works well: code changes, test fixes, refactors, dependency bumps, scripted data jobs, drafting documents, repetitive research with a clear output.
    • Works badly: anything needing a decision only you can make, physical tasks, work depending on access Codex doesn't have, and vague tasks you haven't thought through — an agent won't rescue a task you couldn't define.

    Common Problems and Fixes

    • Codex says it finished but the task is still open. The integration has read access only, or it writes to a field the app ignores. Check that completing a task through the assistant shows up in the app.
    • It does the wrong thing. Almost always missing "Done when". Add the completion test and re-run.
    • It can't see today's tasks. Usually a rollover or timezone mismatch — a sign the tools aren't applying the app's own logic server-side.
    • You're managing an API token. Prefer OAuth with a consent screen you can revoke.

    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.

    Try TODO free →

    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

    How do I get Codex to do the tasks on my todo list?

    Connect Codex to a todo app with an MCP server, such as TODO, then ask it to read your tasks for today and act on the ones it can. Codex retrieves each task's full detail, does the work, logs the result and ticks the task off in the app.

    Can Codex read and update my task list directly?

    Yes, over MCP. TODO's MCP server gives Codex read and write tools for the daily pad, weekly pad, lists and subtasks — add, edit, reschedule, complete and delete — connected once through OAuth rather than an API token.

    How should I write a task so Codex can execute it?

    Keep the title short and human (under about 60 characters) and put the execution detail in the notes: Context, Steps, Inputs and a 'Done when' completion test. Use subtasks as milestones. Your list stays readable and Codex gets everything it needs.

    Which tasks should I not delegate to Codex?

    Anything requiring a judgement call only you can make, physical tasks, work needing access the agent doesn't have, and tasks that are still vague. Delegation works when the task has a clear input and a clear definition of done.

    Is there a free todo app that works with Codex?

    Yes. TODO is free forever with no paid tier, and its built-in MCP server — including agent write access, full task detail and result logging — is included at no cost.

    Related Articles