trellis
Version:
Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications
19 lines • 590 B
TypeScript
/**
* Standalone MCP discovery gateway HTTP server.
*
* `trellis mcp gateway serve` — discovery tools without a full room kernel.
*
* @module trellis/mcp
*/
export interface GatewayServeOptions {
port?: number;
hostname?: string;
configDir?: string;
publicUrl?: string;
}
export declare function createGatewayFetchHandler(opts?: GatewayServeOptions): Promise<(req: Request) => Promise<Response>>;
export declare function startGatewayServer(opts?: GatewayServeOptions): Promise<{
port: number;
stop: () => void;
}>;
//# sourceMappingURL=gateway-serve.d.ts.map