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

Function listVisiblePathsCode

e2e/local/toolkits-mcp.test.ts:124–127  ·  view source on GitHub ↗
(integration: string)

Source from the content-addressed store, hash-verified

122`;
123
124const listVisiblePathsCode = (integration: string) => `
125const listed = await tools.search({ namespace: ${JSON.stringify(integration)}, query: "ping", limit: 100 });
126return JSON.stringify({ paths: listed.items.map((item) => item.path).sort() });
127`;
128
129const makeMcp = async (url: string, token: string, name: string) => {
130 const client = new Client({ name, version: "1.0.0" }, { capabilities: {} });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected