Skip to content

Support OAuth options in codex mcp add#24120

Merged
mzeng-openai merged 2 commits into
mainfrom
dev/mzeng/mcp-add-oauth-options
May 22, 2026
Merged

Support OAuth options in codex mcp add#24120
mzeng-openai merged 2 commits into
mainfrom
dev/mzeng/mcp-add-oauth-options

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

Summary

  • add --oauth-client-id and --oauth-resource options for streamable HTTP codex mcp add registrations
  • persist those options in MCP server config and use them during the immediate OAuth login flow
  • cover add-time serialization of both OAuth options in the CLI integration tests

Testing

  • just fmt
  • cargo test -p codex-cli
  • just fix -p codex-cli

@mzeng-openai mzeng-openai marked this pull request as ready for review May 22, 2026 18:49
@mzeng-openai mzeng-openai merged commit 6963145 into main May 22, 2026
45 of 47 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/mcp-add-oauth-options branch May 22, 2026 20:21
@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 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