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

Function toolkitPath

apps/host-cloudflare/src/mcp/auth.ts:31–31  ·  view source on GitHub ↗
(slug: string)

Source from the content-addressed store, hash-verified

29};
30
31const toolkitPath = (slug: string): string => `/mcp/toolkits/${encodeURIComponent(slug)}`;
32
33const resourcePathForRequest = (request: Request): string => {
34 const slug = toolkitSlugFromPath(new URL(request.url).pathname);

Callers 1

resourcePathForRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected