MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcp-oauth-callback-background-sync.test.ts

File mcp-oauth-callback-background-sync.test.ts

e2e/selfhost/mcp-oauth-callback-background-sync.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// An OAuth callback commits the fresh grant before it synchronizes a remote
2// MCP catalog. A slow tools/list response must not keep the popup request open;
3// the host keeps catalog work alive and the tools converge afterward.
4import { randomBytes } from "node:crypto";

Callers

nothing calls this directly

Calls 13

scenarioFunction · 0.90
serveMcpServerWithOAuthFunction · 0.90
visitFunction · 0.90
composePluginApiFunction · 0.85
makeApiClientFunction · 0.85
deriveMcpNamespaceFunction · 0.85
resolveMethod · 0.80
toStringMethod · 0.80
retryMethod · 0.80
submitProviderLoginFunction · 0.70
setMethod · 0.65
listMethod · 0.65

Tested by

no test coverage detected