OptionalalgorithmsExpected audience (aud): your MCP server's resource identifier (RFC 8707). A token minted
for a different resource is rejected, which is what stops token-passthrough attacks.
OptionalclockClock skew tolerance in seconds for exp/nbf. Default 5.
OptionalfetchInjectable fetch for issuer discovery and the JWKS request.
Expected token issuer (iss). Also used to auto-discover the JWKS if jwksUri is omitted.
OptionaljwksJWKS URI. If omitted it is discovered from the issuer's AS metadata (jwks_uri).
OptionalkeyProvide the key directly (a KeyLike/JWKS/resolver) instead of discovering it. Mainly for tests.
OptionalscopeClaim to read scopes from. By default tries scope (space-delimited) then scp (array).
OptionaltimeoutTimeout (ms) for JWKS fetch and issuer discovery. Default 10000.
Allowed signing algorithms. Default
['RS256', 'ES256']. Never allownone.