MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcp-oauth-scope-discovery-emulate.test.ts

File mcp-oauth-scope-discovery-emulate.test.ts

e2e/selfhost/mcp-oauth-scope-discovery-emulate.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Selfhost-only, emulate-backed counterpart to mcp-oauth-scope-discovery.test.ts.
2// Same claim — an MCP integration declares NO oauth scopes, so `oauth.start`
3// DISCOVERS them from the server's metadata at connect — but proven against a
4// REAL, deployed emulate MCP server instead of an in-process stub.

Callers

nothing calls this directly

Calls 7

scenarioFunction · 0.90
scopesFromAuthorizeUrlFunction · 0.90
composePluginApiFunction · 0.85
makeApiClientFunction · 0.85
cancelMethod · 0.80
freshSlugFunction · 0.70
startMethod · 0.65

Tested by

no test coverage detected