Skip to content

doc/mixed auth example - #325

Open
valentinbeggi wants to merge 4 commits into
mainfrom
doc/auth-example
Open

doc/mixed auth example#325
valentinbeggi wants to merge 4 commits into
mainfrom
doc/auth-example

Conversation

@valentinbeggi

@valentinbeggi valentinbeggi commented Jan 16, 2026

Copy link
Copy Markdown
Collaborator

Mixed auth example

Note that it doesn't work very well in chatGPT. chatGPT should show UI for login in case the user is unauthenticated, except that they require that the tools return a securitySchemes key, which is not yet in the MCP spec nor in TS sdk

modelcontextprotocol/modelcontextprotocol#1488

#301

Comment thread .vscode/settings.json
Comment on lines +5 to +6
"source.organizeImports.biome": "explicit",
"source.fixAll.biome": "explicit"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need to manually set those 2 ?

Comment on lines +12 to +15
"server:build": "tsc -p tsconfig.server.json",
"server:start": "node dist/index.js",
"web:build": "tsc -b web && vite build -c web/vite.config.ts",
"web:preview": "vite preview -c web/vite.config.ts"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

those are legacy, you can remove

@qchuchu

qchuchu commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

@valentinbeggi @neil-ac something is blocked here ? :)

@valentinbeggi

Copy link
Copy Markdown
Collaborator Author

@qchuchu yes it's not working 🦧

cc modelcontextprotocol/modelcontextprotocol#1488

@qchuchu qchuchu added the blocked When PR cannot be merged because of external dependencies label Feb 19, 2026
@qchuchu qchuchu changed the title doc/auth example doc/mixed auth example Feb 19, 2026
@paulleseute

Copy link
Copy Markdown
Contributor

@valentinbeggi should we revive this ? mixed auth is supported by openai

@neil-ac

neil-ac commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Apparently it works as well in Claude (haven't tested myself): https://claude.com/docs/connectors/building/lazy-authentication

-> +1 on this! I will need this for the V2s of some MCP App projects. V1 is often focused on unauthenticated product discovery, and V2 for authenticated user flows, could be cool to handle both with a single App

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

Labels

blocked When PR cannot be merged because of external dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants