Module initialization

Module initialization 

Source
Expand description

Types for the MCP connection initialization and handshake process.

This module defines the data structures used during the initial handshake between an MCP client and server, where they negotiate capabilities and exchange implementation details.

Structsยง

InitializeRequest
The initialize request is sent by the client as the first message after connection.
InitializeResult
The response to a successful initialize request.
InitializedNotification
A notification sent from the client to the server after receiving a successful InitializeResult, confirming that the client is ready to proceed.