ClientOptions

class ClientOptions(val capabilities: ClientCapabilities = ClientCapabilities(), var enforceStrictCapabilities: Boolean = true) : ProtocolOptions(source)

Options for configuring the MCP client.

Constructors

Link copied to clipboard
constructor(capabilities: ClientCapabilities = ClientCapabilities(), enforceStrictCapabilities: Boolean = true)

Properties

Link copied to clipboard

The capabilities this client supports.

Link copied to clipboard

Whether to restrict emitted requests to only those that the remote side has indicated that they can handle, through their advertised capabilities.

Link copied to clipboard