interface McpConfigTarget { ide: string; file: string; /** JSON key that holds the server map in this IDE's config shape. */ serversKey: "mcpServers" | "servers"; /** file is an absolute, user-global path (not joined onto the project). */ absolute?: boolean; } /** * The Claude DESKTOP app reads a user-global config, not a per-project file — * which is why it shows "No servers added" in a project that has .mcp.json. * Deliberately NOT part of `--ide all`: a project-scoped command must not * touch user-global state unless that target is named explicitly. */ export declare function claudeDesktopConfigPath(platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv, home?: string): string; /** * Resolve the dedicated MCP stdio entry beside the CLI's own entry file. * argv[1] is the path Node is executing; npm shims, npx, and direct * `node dist/index.js` invocations all set it to the real JS entry. Null when * either the CLI entry or its dedicated sibling is absent, so a partial or * stale install is never persisted as a path that cannot start the server. */ export declare function resolveServeEntry(argv1?: string | undefined): string | null; export declare function installTarget(projectRoot: string, target: McpConfigTarget, entry?: string | null): "written" | "updated" | "unchanged"; export declare function mcpInstallCommand(options?: { ide?: string; }): Promise; export declare function mcpServeCommand(): Promise; export declare function mcpStatusCommand(): Promise; export {}; //# sourceMappingURL=mcp.d.ts.map