MCP TypeScript SDK (V2)
    Preparing search index...

    Options for handling a request

    interface HandleRequestOptions {
        authInfo?: AuthInfo;
        parsedBody?: unknown;
    }
    Index

    Properties

    authInfo?: AuthInfo

    Authentication info from middleware. If provided, will be passed to message handlers.

    parsedBody?: unknown

    Pre-parsed request body. If provided, the transport will use this instead of parsing req.json(). Useful when using body-parser middleware that has already parsed the body.