Skip to content

Add OAuth support for remote mcp servers #408

Description

Remote MCP servers that expect oauth authentication currently throw a 401 error.

message: Error POSTing to endpoint (HTTP 401): {"error":"invalid_token","error_description":"Missing or invalid access token"} stack: Error: Error POSTing to endpoint (HTTP 401): {"error":"invalid_token","error_description":"Missing or invalid access token"}
    at $Y.send (/snapshot/copilot-client/node_modules/@modelcontextprotocol/sdk/src/client/streamableHttp.ts:414:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Examples are popular services like Sentry, Linear or even github (access through PAT possible, but that's not great).
Being able to easily interact with these official MCPs would be a game changer.
https://docs.sentry.io/product/sentry-mcp/
https://linear.app/changelog/2025-05-01-mcp

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions