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

File browser-approval.test.ts

e2e/scenarios/browser-approval.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Browser approval of a gated MCP action, end to end through the real console.
2//
3// A `require_approval` policy turns a built-in tool into an action that pauses
4// for a human. The MCP session runs in `elicitation_mode=browser`, so the gated

Callers

nothing calls this directly

Calls 6

scenarioFunction · 0.90
parseBrowserApprovalFunction · 0.90
composePluginApiFunction · 0.85
decideInBrowserFunction · 0.85
callMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected