feat(mcp): add HTTP headers helper support#25173
Draft
mom-oai wants to merge 1 commit into
Draft
Conversation
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Internal Intake Note
This is a draft PR for an external contribution from Dennis Henry / Okta.
Per the Codex contribution guidelines, external code contributions are by invitation only. This PR should be treated as an intake/review thread until a Codex maintainer confirms that this change aligns with the intended MCP auth direction and should proceed.
Current branch state:
dennishenry/codex:mcp_headers_helpera27251e(feat: add headersHelper support for codex)mainSummary
Adds support for configuring an MCP streamable HTTP headers helper. The helper is a command that returns a JSON object of HTTP headers, allowing Codex to dynamically provide request headers for MCP servers that require externally generated auth headers.
The change wires
http_headers_helperthrough:headersHelperNotable Behavior
--http-headers-helper--http-headers-helper-arg--http-headers-helper-cwdcodex mcp addwhen a headers helper is configured, so the helper is not run during add.http_headers_helperto local streamable HTTP MCP servers.Testing
The branch includes tests covering:
.mcp.jsonmigration fromheadersHelperReview Requested
Please confirm: