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

Function freshSlug

e2e/selfhost/mcp-oauth-scope-discovery.test.ts:31–31  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

29const DISCOVERED_SCOPES = ["channels:history", "users:read"] as const;
30
31const freshSlug = (prefix: string): string => `${prefix}-${randomBytes(4).toString("hex")}`;
32
33scenario(
34 "MCP OAuth · oauth.start requests the scopes the server advertises, not a declared set",

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected