Async MCP wrapper around `codex exec` for long, honest adversarial code reviews (ChatGPT-account safe).
Four tools with complete schemas and descriptions. Naming follows verb_noun pattern (codex_review_start, codex_review_poll, codex_review_list, codex_ask). Descriptions are detailed (150-250 chars) and explain WHEN to use each tool. However, output schemas are not documented, LLMs cannot predict response structure. Parameters lack type constraints (enums, ranges). Error handling descriptions exist but lack recovery guidance. No tool annotations (readOnlyHint). Risk declarations in metadata are helpful but not part of MCP spec.
Ask codex a SHORT question and get the answer in one call (synchronous, bounded by timeoutMs). For quick consults where the async review flow is overkill. Runs read-only; ChatGPT-account safe; surfaces codex's real error. For anything that might run long, use codex_review_start instead.
List recent review jobs and whether each is still running.
Poll a review started with codex_review_start. Returns {status: running|done|error}. When done, includes the verdict (APPROVE/REJECT), the findings, or — on error — codex's REAL message (e.g. an unsupported model), not a misleading wrapper error.
Start an adversarial code review with `codex exec` (read-only sandbox) and return a job_id IMMEDIATELY — does not wait, so it survives long (20–40 min) reviews that would time out a synchronous tool call. Pipe the diff via `diff`. Poll with codex_review_poll. Runs on the account's default model (ChatGPT-account safe); never passes --ask-for-approval.
Output schemas not documented. LLMs cannot predict response structure (e.g., what fields does pollReview return? Is 'verdict' always present?). Forces agents to guess or fail on unexpected formats.
Parameters lack type constraints. 'model' accepts free-form strings with no enum or validation. 'timeoutMs' has no min/max bounds. LLMs may pass invalid values (negative timeouts, unsupported models).
codex_review_list has minimal description (11 chars: 'List recent review jobs and whether each is still running.'). No guidance on when to call it or what structure it returns. Violates 10 - 1024 char baseline.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
Error handling descriptions mention 'codex's REAL message' but do not guide LLM recovery. E.g., 'unsupported model' error should suggest 'omit the model parameter' or 'use default model'. Lacks recovery guidance pattern.
No tool annotations (readOnlyHint). All four tools are read-only or safe, but MCP spec allows explicit annotation via inputSchema.properties._meta.readOnlyHint. Omitting this forces LLMs to infer safety from descriptions.