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

Function hasCodeGraphMcpServer

src/installer/targets/hermes.ts:269–273  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

267}
268
269function hasCodeGraphMcpServer(content: string): boolean {
270 const lines = splitLines(content);
271 const parent = topLevelRange(lines, 'mcp_servers');
272 return !!parent && !!childRange(lines, parent, 'codegraph');
273}
274
275function upsertCodeGraphMcpServer(content: string): string {
276 const lines = splitLines(content);

Callers 1

detectMethod · 0.85

Calls 3

splitLinesFunction · 0.85
topLevelRangeFunction · 0.85
childRangeFunction · 0.85

Tested by

no test coverage detected