This is the documentation for the v2 beta — looking for the v1 documentation?
Skip to content

MCP TypeScript SDK (V2) / @modelcontextprotocol/server-legacy / index

index

References

AccessDeniedError

Re-exports AccessDeniedError


allowedMethods

Re-exports allowedMethods


authenticateClient

Re-exports authenticateClient


AuthInfo

Re-exports AuthInfo


AuthMetadataOptions

Re-exports AuthMetadataOptions


authorizationHandler

Re-exports authorizationHandler


AuthorizationHandlerOptions

Re-exports AuthorizationHandlerOptions


AuthorizationParams

Re-exports AuthorizationParams


AuthRouterOptions

Re-exports AuthRouterOptions


BearerAuthMiddlewareOptions

Re-exports BearerAuthMiddlewareOptions


ClientAuthenticationMiddlewareOptions

Re-exports ClientAuthenticationMiddlewareOptions


clientRegistrationHandler

Re-exports clientRegistrationHandler


ClientRegistrationHandlerOptions

Re-exports ClientRegistrationHandlerOptions


createOAuthMetadata

Re-exports createOAuthMetadata


CustomOAuthError

Re-exports CustomOAuthError


getOAuthProtectedResourceMetadataUrl

Re-exports getOAuthProtectedResourceMetadataUrl


InsufficientScopeError

Re-exports InsufficientScopeError


InvalidClientError

Re-exports InvalidClientError


InvalidClientMetadataError

Re-exports InvalidClientMetadataError


InvalidGrantError

Re-exports InvalidGrantError


InvalidRequestError

Re-exports InvalidRequestError


InvalidScopeError

Re-exports InvalidScopeError


InvalidTargetError

Re-exports InvalidTargetError


InvalidTokenError

Re-exports InvalidTokenError


mcpAuthMetadataRouter

Re-exports mcpAuthMetadataRouter


mcpAuthRouter

Re-exports mcpAuthRouter


metadataHandler

Re-exports metadataHandler


MethodNotAllowedError

Re-exports MethodNotAllowedError


OAUTH_ERRORS

Re-exports OAUTH_ERRORS


OAuthError

Re-exports OAuthError


OAuthRegisteredClientsStore

Re-exports OAuthRegisteredClientsStore


OAuthServerProvider

Re-exports OAuthServerProvider


OAuthTokenVerifier

Re-exports OAuthTokenVerifier


ProxyEndpoints

Re-exports ProxyEndpoints


ProxyOAuthServerProvider

Re-exports ProxyOAuthServerProvider


ProxyOptions

Re-exports ProxyOptions


redirectUriMatches

Re-exports redirectUriMatches


requireBearerAuth

Re-exports requireBearerAuth


revocationHandler

Re-exports revocationHandler


RevocationHandlerOptions

Re-exports RevocationHandlerOptions


ServerError

Re-exports ServerError


SSEServerTransport

Re-exports SSEServerTransport


SSEServerTransportOptions

Re-exports SSEServerTransportOptions


TemporarilyUnavailableError

Re-exports TemporarilyUnavailableError


tokenHandler

Re-exports tokenHandler


TokenHandlerOptions

Re-exports TokenHandlerOptions


TooManyRequestsError

Re-exports TooManyRequestsError


UnauthorizedClientError

Re-exports UnauthorizedClientError


UnsupportedGrantTypeError

Re-exports UnsupportedGrantTypeError


UnsupportedResponseTypeError

Re-exports UnsupportedResponseTypeError


UnsupportedTokenTypeError

Re-exports UnsupportedTokenTypeError