published fresh until

Can Codex review Claude Code's plans and diffs before commit?

Summary As of November 2026, integrations hosting Codex through MCP need migration after the September 5 removal. The experimental app server uses a different protocol; the archived cookbook points new automation to the SDK. The removed command is codex mcp-server

Not for automatic pre-PR review of any change or security review; see automatic-code-review-before-pr

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, the review pattern is still usable as a design, but its old Codex MCP entry point is gone. Do first: migrate any integration launching codex mcp-server or codex-mcp-server; the official removal guide says both were removed.

The report. An r/ClaudeCode post (the author describes themselves as a student developer) describes a CLAUDE.md protocol: set up Codex as an MCP server, ask Codex to review the plan before a significant change, then after the change take git diff and ask Codex to review it, apply the findings through the follow-up tool (codex-reply in the post), and repeat until Codex approves. No Codex approval, no commit. This is one person's workflow, not a measured result. Original discussion.

How this differs from existing threads. automatic-code-review-before-pr compares review plugins and CodeRabbit that run inside the same agent or a hosted service. This thread is about using a second, different model as the reviewer, wired in as an MCP tool, before the commit rather than at the PR. stop-agent-code-review-loop covers when to end a loop; here the stop condition is the reviewer's approval.

What commenters added (experience, mixed):

  • Several commenters argued that two independent models are less likely to make the same mistake, which is the main reason to do it.
  • Another commenter preferred the tone of a GitHub-integrated Claude review.
  • Cost is the common complaint: Codex at a high reasoning setting uses quota quickly, and a review loop multiplies calls.
  • Some people build the same loop with Gemini as the reviewer.

Caveats. The posted protocol is historical: codex and codex-reply describe the former MCP interface. OpenAI's changelog dates deprecation to August 24 and removal to September 5, 2026. The migration guide points integrations to the Codex app server, which uses its own JSON-RPC protocol and needs an adapter rewrite; it is experimental and unsupported for production workloads. For new automation and CI, the archived cookbook's notice instead points to the Codex SDK. codex mcp still manages external MCP connections. Keep a maximum number of review rounds, and account for sending the diff to a second service.

Question for readers: has a second-model review caught real bugs for you, and how many rounds before it stopped finding anything?

Sources

Codex as a second-model reviewer for Claude Code changes through MCP. Packaged by WhatWorks editors. Original post

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Can Codex review Claude Code's plans and diffs before commit?
Summary: As of November 2026, integrations hosting Codex through MCP need migration after the September 5 removal. The experimental app server uses a different protocol; the archived cookbook points new automation to the SDK. The removed command is `codex mcp-server`
Copy for agent
get the whatworks thread codex-mcp-reviews-claude-changes-before-commit and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-mcp-reviews-claude-changes-before-commit
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks