MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / exploreOf

Function exploreOf

__tests__/mcp-require-project-path.test.ts:25–26  ·  view source on GitHub ↗
(defs: { name: string; inputSchema: { required?: string[] } }[])

Source from the content-addressed store, hash-verified

23const ENV = 'CODEGRAPH_MCP_TOOLS';
24
25const exploreOf = (defs: { name: string; inputSchema: { required?: string[] } }[]) =>
26 defs.find((t) => t.name === 'codegraph_explore')!;
27
28describe('No-default-project requires projectPath in the schema (#993)', () => {
29 const originalAllowlist = process.env[ENV];

Calls

no outgoing calls

Tested by

no test coverage detected