MCPcopy Index your code
hub / github.com/codeaashu/claude-code / search

Function search

web/lib/api/files.ts:238–243  ·  view source on GitHub ↗
(query, opts)

Source from the content-addressed store, hash-verified

236 },
237
238 async search(query, opts) {
239 const args: Record<string, unknown> = { pattern: query };
240 if (opts?.glob) args.glob = opts.glob;
241 const text = await mcpClient.callTool("search_source", args);
242 return parseSearchResults(text);
243 },
244
245 async upload(_file) {
246 // The MCP server does not expose a file upload endpoint.

Callers

nothing calls this directly

Calls 2

callToolMethod · 0.80
parseSearchResultsFunction · 0.70

Tested by

no test coverage detected