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

File mcp-browser-approval-org-scope.test.ts

e2e/cloud/mcp-browser-approval-org-scope.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Cloud-only: MCP browser approval URLs must preserve the session's org scope.
2//
3// The MCP session is created in org A, then the browser cookie is moved to org B
4// before the human opens the approval link. The returned approval URL itself

Callers

nothing calls this directly

Calls 13

scenarioFunction · 0.90
parseBrowserApprovalFunction · 0.90
composePluginApiFunction · 0.85
approvalApiRequestFunction · 0.85
callMethod · 0.80
toStringMethod · 0.80
cookieOfFunction · 0.70
activeOrgFunction · 0.70
createOrganizationFunction · 0.70
expectOrgShellFunction · 0.70
setWorkosSessionCookieFunction · 0.70
removeMethod · 0.65

Tested by

no test coverage detected