Skip to content

docs(parser): audit Codex v0.147.0 MCP SDK 3.0.0 and 2026-07-28 protocol (#222) - #225

Merged
delexw merged 1 commit into
mainfrom
fix-issue-222
Aug 12, 2026
Merged

docs(parser): audit Codex v0.147.0 MCP SDK 3.0.0 and 2026-07-28 protocol (#222)#225
delexw merged 1 commit into
mainfrom
fix-issue-222

Conversation

@delexw

@delexw delexw commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Codex v0.147.0 bumped the bundled MCP SDK to 3.0.0 (#36001) and added an opt-in MCP 2026-07-28 protocol revision (#35724, #35725, #35590, #35742). This PR verifies both concerns raised in #222 directly against the actual openai/codex source and confirms neither requires a parser change.

What was verified

  • MCP SDK 3.0.0 bump (#36001) — verified not applicable. The diff only renames internal SDK types (MetaMetaObject) and improves OAuth transport error handling. No changes to codex-rs/protocol or rollout serialization.
  • MCP 2026-07-28 protocol (#35724, #35725, #35590, #35742) — verified not applicable. These PRs change the wire protocol between Codex and MCP servers: paginated server/discover requests, multi-round tools/call negotiation, and non-blocking server startup. That pagination/negotiation is resolved internally by Codex before it ever builds the dynamic_tools field or tool-search results — none of the four PRs touch codex-rs/protocol (rollout item types), app-server/src/dynamic_tools.rs, or the model-facing tool_search_call/tool_search_call_output mechanism codex-trace already parses (issue [Compat] Codex v0.142.2: MCP tools now use tool search by default — discovery mechanism changed in session output #161's fix). The rollout JSONL shape is unchanged.

Documented this audit as a code comment in turn.rs next to the existing tool-search handling, following the same "verify against real upstream source, document non-applicable findings" pattern used in #213 for issue #210 — since both parts of #222 turned out to be non-applicable, there's no new field or parsing logic to add.

Testing

  • cargo test (360 tests): all pass
  • npx vitest run (148 tests): all pass
  • cargo clippy -- -D warnings: clean
  • tsc --noEmit, oxfmt --check: clean
  • oxlint: clean except one pre-existing, unrelated warning in MarkdownRenderer.tsx

Closes #222

…col for #222

Verified both changes against the openai/codex source (PRs #36001,
#35724, #35725, #35590, #35742): they only alter the wire protocol
between Codex and MCP servers (SDK type renames, paginated
server/discover requests, multi-round tools/call negotiation,
non-blocking server startup). None touch codex-rs/protocol,
app-server/src/dynamic_tools.rs, or the tool_search_call/
tool_search_call_output mechanism that codex-trace parses, so the
rollout JSONL shape is unaffected and no parser change is needed.
Documented the audit as a code comment for future reference.

Closes #222
@delexw
delexw merged commit e8da471 into main Aug 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Compat] Codex v0.147.0: MCP SDK upgraded to 3.0.0 and opt-in MCP 2026-07-28 protocol

1 participant