MCP Apps
    Preparing search index...

    Type Alias LegacyRequestHandlerSetter<Modern>

    LegacyRequestHandlerSetter: Modern & <S extends LegacyMethodSchema>(
        schema: S,
        handler: LegacyRequestHandler<S>,
    ) => void

    setRequestHandler with the 1.x (Schema, handler) form kept as a deprecated overload next to the 2.x forms in Modern.

    Type Parameters

    • Modern

    Type Declaration