OptionalfetchInjectable fetch for issuer discovery.
OptionalissuerIssuer URL to discover AS metadata from when oauthMetadata is not given.
OptionaloauthThe Authorization Server metadata. Provide this OR issuer to discover it.
OptionalrequiredScopes a token must carry to be allowed through (enforced on each request).
OptionalresourceHuman-readable resource name for the metadata document.
The public URL of this MCP server (its OAuth resource identifier).
OptionalscopesScopes advertised in Protected Resource Metadata.
OptionalserviceDocs URL advertised in the metadata document.
A token verifier — e.g. jwtVerifier or introspectionVerifier.
Your Express app. The RFC 9728 metadata endpoints are mounted on it.