export interface McpTool { name: string; description?: string; inputSchema: Record; } export interface McpServer { id: string; name: string; transport: 'stdio' | 'streamable-http'; enabled: boolean; credentialId: string; revision: number; tools: McpTool[]; updatedAt: number; refreshedAt?: number; error?: string; } export interface McpBinding { companionId: string; serverId: string; } export interface McpConfig { transport: McpServer['transport']; url?: string; headers?: Record; command?: string; args?: string[]; env?: Record; cwd?: string; } export type McpServerView = Omit; export interface McpCatalog { servers: McpServerView[]; bindings: McpBinding[]; } export interface McpEditView { name: string; revision: number; config: McpConfig; } //# sourceMappingURL=domain.d.ts.map