/** * Unified MCP host setup for Codex, Hermes, and Claude (Option C). * * All hosts register the same `@agenticros/claude-code` stdio server with an * absolute path and empty AGENTICROS_ROBOT_NAMESPACE. */ import { type CodexConfigScope } from "./codex-config.js"; import { type ClaudeConfigTarget } from "./claude-config.js"; export type McpHostId = "codex" | "hermes" | "claude"; export interface McpSetupOptions { /** Configure all hosts (default when no host flags). */ all?: boolean; codex?: boolean; hermes?: boolean; claude?: boolean; /** Codex project `.codex/config.toml` and/or Claude `.mcp.json` in repo root. */ project?: boolean; /** Claude Desktop `claude_desktop_config.json` only (with --claude). */ desktop?: boolean; /** Codex scope when only codex is targeted via legacy `codex setup --project`. */ codexScope?: CodexConfigScope; quiet?: boolean; repoRoot?: string; cwd?: string; } export interface McpDoctorOptions { json?: boolean; quiet?: boolean; hosts?: McpHostId[]; repoRoot?: string; } export declare function codexOnPath(): Promise; export declare function hermesOnPath(): Promise; export declare function claudeOnPath(): Promise; export declare function resolveMcpHosts(opts: McpSetupOptions): McpHostId[]; export declare function requireMcpEntry(): string; export declare function setupCodexMcp(mcpEntry: string, scope: CodexConfigScope, cwd?: string): string; export declare function setupHermesMcp(mcpEntry: string): string; export declare function setupClaudeMcp(mcpEntry: string, target: ClaudeConfigTarget, cwd?: string): string; export declare function mcpSetupCommand(opts?: McpSetupOptions): Promise; export declare function buildMcpDoctorChecks(mcpEntryExpected: string | undefined, repoRoot?: string, hosts?: McpHostId[]): Array<{ id: string; label: string; severity: "green" | "yellow" | "red"; hint?: string; detail?: string; }>; export interface McpDoctorResult { hosts: McpHostId[]; mcpEntry: string | undefined; checks: ReturnType; exitCode: number; } export declare function mcpDoctorCommand(opts?: McpDoctorOptions): Promise; //# sourceMappingURL=mcp-setup.d.ts.map