Connect Claude Code or Codex from a terminal
Outside agents and subagents
Claude Code and Codex can add your environment as an MCP server named t3, then log in with claude mcp login t3 or codex mcp login t3.
T3 Code docs: outside agents
What it’s for
Letting Claude Code or Codex in your own terminal read projects and threads, start and message threads, and check which providers and models are available.
T3 Code docs: outside agents
How to use it
Codex: run codex mcp add t3 --url followed by the MCP URL, then codex mcp login t3. codex mcp list shows t3 with OAuth once approved.
T3 Code docs: outside agents
On a machine without a browser, add --no-browser, open the printed URL elsewhere, and (for Claude Code) paste the final URL back when asked.
T3 Code docs: outside agents
Theo’s tips
Theo has Claude call Codex through T3 Code to review Claude's work. He finds OpenAI models more thorough at analysis, and this is where most of his Codex usage comes from.
…because Open AI models I've still found are a bit more thorough with their analysis and will find things deeper than Anthropic models tend to. So, I do a wield and the vast majority of my Codex usage is either me using it to like do my email and computer you or it's coming from Claude calling Codex via T3 code in order to review Claude's work.
Unofficial notes. Not affiliated with Theo or t3.gg.