Skip to content

docs: clarify requiresOAuth applies to all remote MCP transports, not just sse#589

Open
Educg550 wants to merge 1 commit into
LibreChat-AI:mainfrom
Educg550:docs/requires-oauth-not-sse-only
Open

docs: clarify requiresOAuth applies to all remote MCP transports, not just sse#589
Educg550 wants to merge 1 commit into
LibreChat-AI:mainfrom
Educg550:docs/requires-oauth-not-sse-only

Conversation

@Educg550
Copy link
Copy Markdown

The requiresOAuth option was documented as sse type only, but it lives in the shared base MCP options schema and is honored at runtime for every URL-based transport (sse, streamable-http, websocket). This PR corrects the type annotation and notes accordingly, and adds guidance that requiresOAuth: false should be set for servers protected only by a static Authorization header (e.g. a Bearer API key) — since startup auto-detection probes the server without the configured headers and can misclassify such a server as OAuth-protected when it answers with a 401/WWW-Authenticate: Bearer challenge.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

@Educg550 is attempting to deploy a commit to the LibreChat's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant