Summary
MCP client OAuth login against the Monid MCP server fails with an RFC 9207 issuer-mismatch error. The authorization server (Clerk) issues tokens from clerk.app.monid.ai, but the MCP resource metadata for https://mcp.monid.ai/v1 declares/expects issuer https://mcp.monid.ai.
Error
Couldn't complete authentication for "monid": Issuer mismatch in authorization response (RFC 9207): expected "https://mcp.monid.ai", received "https://clerk.app.monid.ai"
Client
Claude Code CLI, claude mcp login monid, HTTP transport pointed at https://mcp.monid.ai/v1.
Expected
The iss claim returned by the authorization server should match the issuer declared in the MCP server's protected-resource / authorization-server metadata (per RFC 9207 + the MCP OAuth spec), so RFC 9207-compliant clients can complete the flow.
Suggested fix
Either configure Clerk to issue tokens under the mcp.monid.ai issuer (e.g. via a custom domain/proxy), or update the resource metadata advertised at mcp.monid.ai to declare the actual Clerk issuer (clerk.app.monid.ai).
Impact
Any RFC 9207-strict MCP client (including Claude Code) cannot authenticate to the Monid MCP server at all.
Summary
MCP client OAuth login against the Monid MCP server fails with an RFC 9207 issuer-mismatch error. The authorization server (Clerk) issues tokens from
clerk.app.monid.ai, but the MCP resource metadata forhttps://mcp.monid.ai/v1declares/expects issuerhttps://mcp.monid.ai.Error
Client
Claude Code CLI,
claude mcp login monid, HTTP transport pointed athttps://mcp.monid.ai/v1.Expected
The
issclaim returned by the authorization server should match the issuer declared in the MCP server's protected-resource / authorization-server metadata (per RFC 9207 + the MCP OAuth spec), so RFC 9207-compliant clients can complete the flow.Suggested fix
Either configure Clerk to issue tokens under the
mcp.monid.aiissuer (e.g. via a custom domain/proxy), or update the resource metadata advertised atmcp.monid.aito declare the actual Clerk issuer (clerk.app.monid.ai).Impact
Any RFC 9207-strict MCP client (including Claude Code) cannot authenticate to the Monid MCP server at all.