MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / searchNamespaceCode

Function searchNamespaceCode

packages/hosts/mcp/src/tool-server.ts:1731–1732  ·  view source on GitHub ↗
(integration: string, query: string | undefined)

Source from the content-addressed store, hash-verified

1729 // results, formatting, and telemetry match a hand-written
1730 // `tools.search({ namespace })` call.
1731 const searchNamespaceCode = (integration: string, query: string | undefined): string =>
1732 `return tools.search(${JSON.stringify({ query: query ?? "", namespace: integration })})`;
1733
1734 /** What the caller could bind an unresolved role to. Best effort: the
1735 * connections port is optional, and a failure to enumerate must not

Callers 1

createExecutorMcpServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected