openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 544 B
TypeScript
type StdioMcpServerLaunchConfig = {
command: string;
args?: string[];
env?: Record<string, string>;
cwd?: string;
};
type StdioMcpServerLaunchResult = {
ok: true;
config: StdioMcpServerLaunchConfig;
} | {
ok: false;
reason: string;
};
export declare function resolveStdioMcpServerLaunchConfig(raw: unknown): StdioMcpServerLaunchResult;
export declare function describeStdioMcpServerLaunchConfig(config: StdioMcpServerLaunchConfig): string;
export type { StdioMcpServerLaunchConfig, StdioMcpServerLaunchResult };