MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / readProjectMcpJson

Function readProjectMcpJson

src/mcp/config.ts:207–209  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

205
206/** Read just the project-scope `.mcp.json` from the cwd (no parent walk). */
207export 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). */
212function readFullSettings(filePath: string): Record<string, unknown> {

Callers 2

addMcpServerFunction · 0.85
removeMcpServerFunction · 0.85

Calls 1

readMcpJsonFunction · 0.85

Tested by

no test coverage detected