mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-05 20:14:47 +00:00
Linear and Sentry publish https://host/mcp as their protected resource. DocsGPTOAuth gave the MCP SDK only the server's origin, so the SDK's resource check (RFC 8707) failed before sign-in with "Protected resource https://mcp.linear.app/mcp does not match expected https://mcp.linear.app". The provider now gets the full MCP URL; servers that publish their origin still pass, and tokens stay keyed by origin.