docs(mcp): add headless and ssh guidance with API key authentication - #2180
Open
Adityakk9031 wants to merge 1 commit into
Open
Adityakk9031 wants to merge 1 commit into
Adityakk9031 wants to merge 1 commit into
Conversation
2 tasks done
This branch has not been deployed
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.
Description
Closes #2168.
When connecting to hosted Executor v2 from headless, remote, or SSH environments (such as Codex CLI/App Server, CI, or remote machines), browser OAuth flows present two pain points:
"Authentication required".http://localhost:<port>fail or require manual tunnel forwarding in remote SSH sessions.Executor Cloud already supports long-lived API key authentication over
Authorization: Bearer <api-key>. This PR updates the MCP Connect card UI and the hosted documentation to guide users on using API keys for remote/SSH and headless clients.Changes
packages/react/src/components/mcp-install-card.tsx: Added clear guidance under HTTP connection settings pointing remote/SSH users to create and use an API key via--header 'Authorization: Bearer <api-key>'.apps/docs/hosted/cloud.mdx: Documented both Browser OAuth and API Key authentication methods with sample configs for Codex (~/.codex/config.toml) and generic MCP clients.apps/docs/mcp-proxy.mdx: Added header authentication instructions for remote/headless setups..changeset/headless-ssh-mcp-auth-api-keys.md: Changeset for@executor-js/react.Verification
bun x oxfmt --checkon all modified filesbun run lintpassedbun x vitest run src/components/mcp-install-card.test.tsinpackages/reactpassed