AxMCPClientOptions Generated TypeScript API reference. typescript api api/reference build/apidocs/Interface.AxMCPClientOptions.md interface AxMCPClientOptions

AxMCPClientOptions

Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/mcp/client.ts#L59

Properties

PropertyTypeDescription
capabilities?AxMCPClientCapabilitiesExtra client capabilities to advertise. Advertise only implemented ones.
clientInfo?Partial<AxMCPImplementationInfo>Client metadata sent in initialize.
debug?booleanEnable debug logging
functionOverrides?AxMCPFunctionOverride[]List of function overrides for tool/prompt/resource wrappers.
logger?AxLoggerFunctionLogger 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?stringMCP 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.
Docs