Skip to content

Support per-server MCP OAuth callback ports - #38448

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7f65e5e7869358307e49779f1b75e8672b607736
Aug 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/7f65e5e7869358307e49779f1b75e8672b607736

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Support per-server MCP OAuth callback ports

What changed

  • Add oauth.callback_port to MCP server configuration and preserve it when
    serializing configuration edits.
  • Accept oauth.callbackPort from plugin MCP declarations and skill dependency
    metadata.
  • Prefer the server-specific callback port over mcp_oauth_callback_port for
    CLI login, app-server, plugin installation, executor, and skill dependency
    OAuth flows.

Testing

  • Cover configuration parsing, serialization, and fallback behavior.
  • Verify plugin, executor, and skill OAuth registrations use their configured
    callback ports instead of the global port.

## What changed

- Add `oauth.callback_port` to MCP server configuration and preserve it when
  serializing configuration edits.
- Accept `oauth.callbackPort` from plugin MCP declarations and skill dependency
  metadata.
- Prefer the server-specific callback port over `mcp_oauth_callback_port` for
  CLI login, app-server, plugin installation, executor, and skill dependency
  OAuth flows.

## Testing

- Cover configuration parsing, serialization, and fallback behavior.
- Verify plugin, executor, and skill OAuth registrations use their configured
  callback ports instead of the global port.

GitOrigin-RevId: 7f65e5e7869358307e49779f1b75e8672b607736
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/7f65e5e7869358307e49779f1b75e8672b607736 branch from 861fa7f to 1da59ad Compare August 13, 2026 22:43
@copyberry
copyberry Bot merged commit 1da59ad into main Aug 13, 2026
26 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/7f65e5e7869358307e49779f1b75e8672b607736 branch August 13, 2026 22:44
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 13, 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.

1 participant