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

Function mcpAuthorized

apps/cloud/src/mcp/auth.ts:121–124  ·  view source on GitHub ↗
(token: VerifiedToken)

Source from the content-addressed store, hash-verified

119export type McpAuthResult = McpAuthorizedResult | McpUnauthorizedResult;
120
121export const mcpAuthorized = (token: VerifiedToken): McpAuthorizedResult => ({
122 _tag: "Authorized",
123 token,
124});
125
126export const mcpUnauthorized = (
127 reason: McpUnauthorizedReason,

Callers 2

auth.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected