export type McpClientConfigFormat = "json" | "toml"; export interface McpClient { name: string; configPath: string; detected: boolean; format: McpClientConfigFormat; } /** * Project-scoped clients write their MCP config alongside the .uproject, * so enabling them only affects this project. Global/Desktop configs touch * every project the user opens — they should not be opted in by default. */ export declare function isProjectScopedClient(clientName: string): boolean; export declare function detectMcpClients(projectDir: string): McpClient[]; export declare function writeMcpConfig(client: McpClient, uprojectPath: string): void; export declare function writeJsonMcpConfig(configPath: string, uprojectPath: string): void; export declare function writeCodexMcpConfig(configPath: string, uprojectPath: string): void; export declare function upsertCodexMcpServer(existingToml: string, uprojectPath: string): string;