@modelcontextprotocol/sdk
    Preparing search index...

    Interface InitializeRequest

    This request is sent from the client to the server when it first connects, asking it to begin initialization.

    interface InitializeRequest {
        id: RequestId;
        jsonrpc: "2.0";
        method: "initialize";
        params: {
            capabilities: ClientCapabilities;
            clientInfo: Implementation;
            protocolVersion: string;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    jsonrpc: "2.0"
    method: "initialize"
    params: {
        capabilities: ClientCapabilities;
        clientInfo: Implementation;
        protocolVersion: string;
    }

    Type Declaration

    • capabilities: ClientCapabilities
    • clientInfo: Implementation
    • protocolVersion: string

      The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.