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

Method printConfig

src/installer/targets/cursor.ts:151–155  ·  view source on GitHub ↗
(loc: Location)

Source from the content-addressed store, hash-verified

149 }
150
151 printConfig(loc: Location): string {
152 const target = mcpJsonPath(loc);
153 const snippet = JSON.stringify({ mcpServers: { codegraph: buildCursorMcpConfig(loc) } }, null, 2);
154 return `# Add to ${target}\n\n${snippet}\n`;
155 }
156
157 describePaths(loc: Location): string[] {
158 return loc === 'local'

Callers

nothing calls this directly

Calls 2

buildCursorMcpConfigFunction · 0.85
mcpJsonPathFunction · 0.70

Tested by

no test coverage detected