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

Function readFullSettings

src/mcp/config.ts:212–214  ·  view source on GitHub ↗

Read a settings.json file, returning the full object (not just mcpServers).

(filePath: string)

Source from the content-addressed store, hash-verified

210
211/** Read a settings.json file, returning the full object (not just mcpServers). */
212function readFullSettings(filePath: string): Record<string, unknown> {
213 return readJson(filePath) ?? {}
214}
215
216/** Write a settings.json file, preserving existing keys. */
217function writeFullSettings(filePath: string, data: Record<string, unknown>): void {

Callers 2

addMcpServerFunction · 0.85
removeMcpServerFunction · 0.85

Calls 1

readJsonFunction · 0.70

Tested by

no test coverage detected