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

Method printConfig

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

buildCursorMcpConfigFunction · 0.85
mcpJsonPathFunction · 0.70

Tested by

no test coverage detected