vapor-chamber API reference - v1.16.0
    Preparing search index...

    Type Alias McpBus

    Minimal bus surface the MCP layer needs — any schema bus (sync or async) satisfies it.

    type McpBus = {
        dispatch: (
            action: string,
            target: any,
            payload?: any,
        ) => CommandResult | Promise<CommandResult>;
        getSchema: () => BusSchema;
    }
    Index
    dispatch: (
        action: string,
        target: any,
        payload?: any,
    ) => CommandResult | Promise<CommandResult>
    getSchema: () => BusSchema