@koduhai/mcp-kit/auth — make a remote (Streamable HTTP) MCP server a spec-compliant
OAuth 2.1 Resource Server. Supplies the token verifiers the MCP SDK needs but does not
ship (JWKS + introspection) and a one-call protectMcpServer assembly.
Discover an Authorization Server's metadata (RFC 8414) from its issuer URL. Tries the
OAuth well-known path first, then OIDC discovery. The result feeds protectMcpServer
(and supplies jwks_uri for jwtVerifier).
@koduhai/mcp-kit/auth — make a remote (Streamable HTTP) MCP server a spec-compliant OAuth 2.1 Resource Server. Supplies the token verifiers the MCP SDK needs but does not ship (JWKS + introspection) and a one-call
protectMcpServerassembly.Peers:
@modelcontextprotocol/sdk,express,jose.