Make MCP Server

Official
  • src
export type Scenario = { id: number; name: string; description?: string; scheduling: { type: string; }; }; export type ScenariosServerResponse = { scenarios: Scenario[]; }; export type Input = { name?: string; type: string; required?: boolean; default?: string | number | boolean | null; options?: { value: string; }[]; help?: string; spec?: Input[] | Input; }; export type ScenarioInteface = { input: Input[]; output: null; }; export type ScenarioInterfaceServerResponse = { interface: ScenarioInteface; }; export type ScenarioRunServerResponse = { executionId: string; outputs: unknown; };