AxMCPClientOptions
Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/mcp/client.ts#L59
Properties
| Property | Type | Description |
|---|---|---|
capabilities? | AxMCPClientCapabilities | Extra client capabilities to advertise. Advertise only implemented ones. |
clientInfo? | Partial<AxMCPImplementationInfo> | Client metadata sent in initialize. |
debug? | boolean | Enable debug logging |
functionOverrides? | AxMCPFunctionOverride[] | List of function overrides for tool/prompt/resource wrappers. |
logger? | AxLoggerFunction | Logger function for debug output |
onLoggingMessage? | (params: Readonly<Record<string, unknown>>) => void | Promise<void> | - |
onNotification? | (notification: Readonly<AxMCPJSONRPCNotification>) => void | Promise<void> | Generic notification callback for all server notifications. |
onPromptsChanged? | () => void | Promise<void> | - |
onResourcesChanged? | () => void | Promise<void> | - |
onResourceUpdated? | (uri: string) => void | Promise<void> | - |
onToolsChanged? | () => void | Promise<void> | - |
protocolVersion? | string | MCP protocol version to request during initialize. Defaults to latest. |
roots? | readonly AxMCPRoot[] | Optional roots support. When set, Ax advertises and answers roots/list. |
supportedProtocolVersions? | readonly string[] | Protocol versions this client can accept during negotiation. |