MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcp-browser-approve.test.ts

File mcp-browser-approve.test.ts

e2e/local/mcp-browser-approve.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Local-only — the MCP BROWSER-APPROVAL flow, the gap a code review found:
2// `resume.$executionId.tsx` POSTed to the bearer-gated `/api/mcp-sessions/*`
3// with no Authorization header, so standalone-web approvals 401'd. The existing
4// approval scenario (selfhost/mcp-approve.test.ts) approves PROGRAMMATICALLY via

Callers

nothing calls this directly

Calls 10

scenarioFunction · 0.90
withLocalServerFunction · 0.90
composePluginApiFunction · 0.85
toStringMethod · 0.80
setMethod · 0.80
countMethod · 0.80
connectMethod · 0.65
closeMethod · 0.65
stepFunction · 0.50
fetchFunction · 0.50

Tested by

no test coverage detected