import { Token } from '../../../../../zoo-message-ts/src/api/general/types.ts'; import { McpServer, McpServerType } from '../../../../../zoo-message-ts/src/api/mcp-servers/types.ts'; export type AddMcpServerInput = Token & { nodeAddress: string; } & ({ name: string; type: McpServerType.Command; command: string; env: Record; is_enabled: boolean; } | { name: string; type: McpServerType.Sse; url: string; is_enabled: boolean; } | { name: string; type: McpServerType.Http; url: string; is_enabled: boolean; }); export type AddMcpServerResponse = McpServer;