@modelcontextprotocol/sdk
    Preparing search index...

    Interface InitializeResult

    After receiving an initialize request from the client, the server sends this response.

    interface InitializeResult {
        _meta?: { [key: string]: unknown };
        capabilities: ServerCapabilities;
        instructions?: string;
        protocolVersion: string;
        serverInfo: Implementation;
        [key: string]: unknown;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: unknown
    Index

    Properties

    _meta?: { [key: string]: unknown }

    See General fields: _meta for notes on _meta usage.

    capabilities: ServerCapabilities
    instructions?: string

    Instructions describing how to use the server and its features.

    This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a "hint" to the model. For example, this information MAY be added to the system prompt.

    protocolVersion: string

    The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.

    serverInfo: Implementation