MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / printConfig

Method printConfig

src/installer/targets/claude.ts:212–216  ·  view source on GitHub ↗
(loc: Location)

Source from the content-addressed store, hash-verified

210 }
211
212 printConfig(loc: Location): string {
213 const target = mcpJsonPath(loc);
214 const snippet = JSON.stringify({ mcpServers: { codegraph: getMcpServerConfig() } }, null, 2);
215 return `# Add to ${target}\n\n${snippet}\n`;
216 }
217
218 describePaths(loc: Location): string[] {
219 return [mcpJsonPath(loc), settingsJsonPath(loc), instructionsPath(loc)];

Callers

nothing calls this directly

Calls 2

getMcpServerConfigFunction · 0.90
mcpJsonPathFunction · 0.70

Tested by

no test coverage detected