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

Function freshSlug

e2e/scenarios/auth-methods.test.ts:28–28  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

26const api = composePluginApi([mcpHttpPlugin(), graphqlHttpPlugin()] as const);
27
28const freshSlug = (prefix: string): string => `${prefix}_${randomBytes(4).toString("hex")}`;
29
30// Registration never dials the endpoint, so a closed local port is fine for
31// the catalog-only scenarios.

Callers 1

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected