OptionalcodeEnable code execution mode (simple boolean or advanced configuration)
OptionalonOptional callback function to handle elicitation requests from servers.
When provided, the client will declare elicitation capability and handle
elicitation/create requests by calling this callback.
Elicitation allows servers to request additional information from users:
OptionalonOptional callback function for server notifications. Applied as default when per-server config does not specify one.
OptionalonOptional callback function to handle sampling requests from servers.
When provided, the client will declare sampling capability and handle
sampling/createMessage requests by calling this callback.
Options for configuring MCPClient behavior.