MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / requestOrgWriteAccess

Function requestOrgWriteAccess

packages/hosts/mcp/src/tool-server.ts:880–881  ·  view source on GitHub ↗
(extra: McpRequestJoinKeys)

Source from the content-addressed store, hash-verified

878};
879
880const requestOrgWriteAccess = (extra: McpRequestJoinKeys): OrgWriteAccess =>
881 extra.requestInfo?.headers[MCP_ORG_WRITE_ACCESS_HEADER] === "allowed" ? "allowed" : "denied";
882
883// `mcp.request.session_id` is emitted unconditionally (empty string when the
884// transport carries none) to match the worker-side `annotateMcpRequest`

Callers 1

runToolEffectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected