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

Function mcpAuthorized

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

Source from the content-addressed store, hash-verified

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

Callers 2

auth.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected