Give Codex a queue for the work it finds but doesn’t do.

Every diff Codex reads turns up work it shouldn’t do in this change. Hutch keeps those follow-ups as records, so the next session starts from the list.

  1. 01

    Follow-ups don’t get lost. Codex saves what it found but didn’t fix.

  2. 02

    Start from what’s open. The next session queries the list before it picks a task.

  3. 03

    Set up once. Hutch goes in ~/.codex/config.toml, so every repo has it.

CONNECT IN ONE PROMPT

Paste this into Codex. It runs codex mcp add, which starts the sign-in. In the browser, choose Read + write and click Approve.

Connect Hutch (hutchdb.com) to Codex as an MCP server.

URL: https://app.hutchdb.com/api/mcp

Transport: remote streamable HTTP

Auth: OAuth (no API key). I'll approve in the browser.

How to do it in Codex:

Run: codex mcp add hutch --url https://app.hutchdb.com/api/mcp (it detects OAuth and starts the login).

If hutch is already configured, run codex mcp login hutch.

1. Add the server for my user account, not just this project, so it works everywhere.

2. Start the OAuth login, or tell me exactly what to click if you can't start it yourself.

3. Tell me if I need to restart or reload you. Then call hutch_list_collections to confirm it works.

Full setup ↓

Watch a session use it

Codex works on a refactor, files the follow-ups it spots, and closes the one it fixed along the way.

codex / ~/src/auth-service6 CALLS
  1. Read the diff for the session refactor

    Shellcodex

  2. Checked todos for open items in auth/

    Hutchhutch_query_recordscodex

  3. Saved 3 follow-ups it found but didn’t fix

    Hutchhutch_store_recordscodex

  4. Removed the deprecated token helper

    Patchcodex

  5. Ran the tests: all passing

    Shellcodex

  6. Closed the token-helper todo with the commit hash

    Hutchhutch_update_recordcodex

hutch / todosTABLE
Example: the todos collection after the session
todoareastatus
Remove deprecated token helperauth/done
Rate-limit the refresh endpointauth/open
Split session.tsauth/open
Log failed loginsaudit/open

4 records · 3 filed and 1 closed by codex

A queue that outlasts the session

AGENTS.md tells Codex how to work in a repo. What a session finds ends with it. Hutch holds those findings as records with an area and a status, so Codex can filter for what’s open next time.

FOLLOW-UPS / TODOS / REVIEWS
CODEX.01

Found it, filed it

Ask Codex to save anything it won’t fix in this change. Each follow-up is a record with the file, the reason, and a status.

CODEX.02

Start the next session from the list

Ask for the open follow-ups in auth/. Codex queries Hutch, picks one, and marks it in progress before it starts.

CODEX.03

Triage it in the browser

Open todos as a table or kanban. Close what isn’t worth doing, and Codex sees the change on its next query.

Set it up by hand

The prompt above is the fast path: Codex makes the changes and walks you through the sign-in. These are the same steps if you’d rather do them yourself. No Hutch account yet? You’ll create one when you approve the sign-in.

~/hutch/install-codexSETUP

01Step 1. Connect

Run this in your terminal:

SHELL
codex mcp add hutch --url https://app.hutchdb.com/api/mcp

Codex usually detects OAuth and opens a browser window. Sign in to Hutch, choose Read + write, and click Approve.

02Step 2. Authenticate (if needed)

If the browser didn't open, run:

SHELL
codex mcp login hutch

Prefer editing config? Add [mcp_servers.hutch] with url = "https://app.hutchdb.com/api/mcp" to ~/.codex/config.toml, then run the command above.

03Step 3. Try it

In a Codex session:

  • >"Store this article in my Hutch reading-list collection."
  • >"Save the bugs we just discussed to a "tickets" collection in Hutch."
  • >"What collections do I have in Hutch?"
  • >"Find my notes about caching in Hutch."

Before you ask

FAQ.01

Does this replace AGENTS.md?

No. AGENTS.md holds instructions for a repo. Hutch holds the work Codex produces, like follow-ups and review findings, as records it can filter and update.

FAQ.02

Can I edit config.toml instead of running the command?

Yes. Add [mcp_servers.hutch] with the Hutch URL to ~/.codex/config.toml, then run codex mcp login hutch to sign in.

FAQ.03

What does the sign-in ask for?

You sign in to Hutch in your browser once, then see an Authorize access page. Choose Read + write so Codex can save records, and click Approve.

FAQ.04

Can my team see it?

Yes. Invite teammates to your Hutch org and they get the same collections in the browser, no MCP required.

Give Codex an app database