export type NativeMcpProvider = 'openai' | 'anthropic'; export interface RemoteMcpServer { kind?: 'server' | 'connector'; name: string; url?: string; connectorId?: string; description?: string; authorizationToken?: string; authorizationTokenEnv?: string; allowedTools?: string[]; enabled: boolean; trusted: boolean; deferLoading?: boolean; providers?: NativeMcpProvider[]; } export interface RemoteMcpLoadResult { path: string; servers: RemoteMcpServer[]; warnings: string[]; } export interface RedactedRemoteMcpEntry extends Omit { kind: 'server' | 'connector'; hasAuthorizationToken: boolean; authorizationTokenPreview?: string; } export interface RemoteMcpSettings { path: string; entries: RedactedRemoteMcpEntry[]; warnings: string[]; } export interface RemoteMcpSettingsInput { entries?: unknown; } export declare function remoteMcpConfigPath(projectRoot: string): string; export declare function loadRemoteMcpServers(projectRoot: string, provider: NativeMcpProvider): RemoteMcpLoadResult; export declare function listRemoteMcpSettings(projectRoot: string): RemoteMcpSettings; export declare function saveRemoteMcpSettings(projectRoot: string, input: RemoteMcpSettingsInput): RemoteMcpSettings; export declare function openAiMcpTools(servers: RemoteMcpServer[]): Record[]; export declare function anthropicMcpConfig(servers: RemoteMcpServer[]): { mcpServers: Record[]; toolsets: Record[]; }; //# sourceMappingURL=mcp-config.d.ts.map