(cwd: string)
| 205 | |
| 206 | /** Read just the project-scope `.mcp.json` from the cwd (no parent walk). */ |
| 207 | export function readProjectMcpJson(cwd: string): Record<string, McpServerConfig> { |
| 208 | return readMcpJson(path.join(cwd, ".mcp.json")) |
| 209 | } |
| 210 | |
| 211 | /** Read a settings.json file, returning the full object (not just mcpServers). */ |
| 212 | function readFullSettings(filePath: string): Record<string, unknown> { |
no test coverage detected