Skip to content

Support MCP form input in full-access user threads - #37864

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/053bfe397a5c79eceef90a81d13e2aca6353af43
Aug 10, 2026
Merged

Support MCP form input in full-access user threads#37864
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/053bfe397a5c79eceef90a81d13e2aca6353af43

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 10, 2026

Copy link
Copy Markdown

Support MCP form input in full-access user threads

Why

Standard MCP forms can require user-entered values even when tool permissions are
otherwise auto-approved in full-access sessions.

What changed

  • Recognize the openai/standard-form-input client extension and surface
    non-approval forms in full-access, user-initiated root threads.
  • Keep approval forms, automation and subagent threads, headless sessions, and
    clients without the capability on their existing decline or review paths.
  • Treat the capability as client-only so it is not advertised to MCP servers,
    and enable it after session startup so required servers cannot block startup
    waiting for form input.

Testing

Add unit and app-server coverage for accepted form round trips, declined cases,
approval metadata safeguards, resumed threads, and extension filtering.

## Why

Standard MCP forms can require user-entered values even when tool permissions are
otherwise auto-approved in full-access sessions.

## What changed

- Recognize the `openai/standard-form-input` client extension and surface
  non-approval forms in full-access, user-initiated root threads.
- Keep approval forms, automation and subagent threads, headless sessions, and
  clients without the capability on their existing decline or review paths.
- Treat the capability as client-only so it is not advertised to MCP servers,
  and enable it after session startup so required servers cannot block startup
  waiting for form input.

## Testing

Add unit and app-server coverage for accepted form round trips, declined cases,
approval metadata safeguards, resumed threads, and extension filtering.

GitOrigin-RevId: 053bfe397a5c79eceef90a81d13e2aca6353af43
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/053bfe397a5c79eceef90a81d13e2aca6353af43 branch from a9de0e2 to 4b0e2a0 Compare August 10, 2026 18:20
@copyberry
copyberry Bot merged commit 4b0e2a0 into main Aug 10, 2026
27 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/053bfe397a5c79eceef90a81d13e2aca6353af43 branch August 10, 2026 18:21
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 10, 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.

2 participants