AxMCPEventSource
Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/mcpSource.ts#L55
Adapts MCP notifications and task snapshots into the generic event inbox.
Implements
Constructors
Constructor
new AxMCPEventSource(options: Readonly<AxMCPEventSourceOptions>): AxMCPEventSource;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/mcpSource.ts#L61
Parameters
| Parameter | Type |
|---|---|
options | Readonly<AxMCPEventSourceOptions> |
Returns
AxMCPEventSource
Properties
| Property | Modifier | Type |
|---|---|---|
id | readonly | string |
requiresDurable | readonly | boolean |
Methods
start()
start(context: Readonly<AxEventSourceContext>): Promise<AxEventSourceHandle>;Defined in: https://github.com/ax-llm/ax/blob/e4219a44b7581a55a40d9dd62d2c281062ff078d/src/ax/event/mcpSource.ts#L75
Parameters
| Parameter | Type |
|---|---|
context | Readonly<AxEventSourceContext> |
Returns
Promise<AxEventSourceHandle>