Skip to content

Complete MCP 2026 client support - #35725

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d26a08883a2825e8ce2408ac498114b33859225e
Jul 28, 2026
Merged

Complete MCP 2026 client support#35725
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/d26a08883a2825e8ce2408ac498114b33859225e

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 28, 2026

Copy link
Copy Markdown

Complete MCP 2026 client support

What changed

  • Drive multi-round tools/call and resources/read requests through
    input_required responses, preserving opaque request state and elicitation
    metadata across JSON, SSE, and stdio transports.
  • Decode modern discovery and elicitation result shapes while retaining legacy
    initialization, elicitation defaults, and discovery fallback behavior.
  • Apply the 8 MiB modern-protocol response limit to JSON, SSE events, and stdio
    messages, and reject executor stream recovery when output sequence gaps would
    corrupt the protocol stream.

Testing

Added integration coverage for discovery, multi-round requests, legacy
fallbacks, message limits, stdio launchers, SSE responses, session recovery,
and executor output recovery.

## What changed

- Drive multi-round `tools/call` and `resources/read` requests through
  `input_required` responses, preserving opaque request state and elicitation
  metadata across JSON, SSE, and stdio transports.
- Decode modern discovery and elicitation result shapes while retaining legacy
  initialization, elicitation defaults, and discovery fallback behavior.
- Apply the 8 MiB modern-protocol response limit to JSON, SSE events, and stdio
  messages, and reject executor stream recovery when output sequence gaps would
  corrupt the protocol stream.

## Testing

Added integration coverage for discovery, multi-round requests, legacy
fallbacks, message limits, stdio launchers, SSE responses, session recovery,
and executor output recovery.

GitOrigin-RevId: d26a08883a2825e8ce2408ac498114b33859225e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/d26a08883a2825e8ce2408ac498114b33859225e branch from 447ed20 to f2bee85 Compare July 28, 2026 06:08
@copyberry
copyberry Bot merged commit f2bee85 into main Jul 28, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/d26a08883a2825e8ce2408ac498114b33859225e branch July 28, 2026 06:09
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.