InitializeRequest

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

The initialize request is the first message exchanged in the MCP protocol handshake. It allows the client to communicate its capabilities and protocol version to the server, and receive the server's capabilities in response.

Constructors

Link copied to clipboard
constructor(params: InitializeRequestParams)

Properties

Link copied to clipboard

The capabilities that this client supports. Describes which optional features the client has implemented.

Link copied to clipboard

Information about the client implementation, including name, version, and branding.

Link copied to clipboard

Metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard
open override val method: Method
Link copied to clipboard
open override val params: InitializeRequestParams

The initialization parameters including protocol version and client capabilities.

Link copied to clipboard

The latest version of the Model Context Protocol that the client supports.

Functions

Link copied to clipboard

Converts the request to a JSON-RPC request.