-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Description
using OAuth 2.1, installing an MCP server would get much simpler and secure.
entering just a url (eg https://api.githubcopilot.com/mcp/ for github mcp), the CLI can trigger an oauth flow to complete authorization without copying secrets or putting them in config or env variables.
the process would be very similar to what you do already for authorizing a model.
VSCode has an implementation as MCP host that can be used for reference.
example server: https://github.com/github/github-mcp-server
update: Claude Code added this too (MCP server is added with a cli command, and then auth flow is done when starting the tUI, I guess it makes sense bc there it handles re-connect, disconnect too)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels