MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / hasApiAccess

Function hasApiAccess

server/src/db/organization-db.ts:106–109  ·  view source on GitHub ↗
(tier: MembershipTier | null | undefined)

Source from the content-addressed store, hash-verified

104 * agents as publicly listed and to view the members-only discovery pool).
105 */
106export function hasApiAccess(tier: MembershipTier | null | undefined): boolean {
107 if (!tier) return false;
108 return (API_ACCESS_TIERS as readonly string[]).includes(tier);
109}
110
111export interface Organization {
112 workos_organization_id: string;

Callers 7

callerHasApiAccessMethod · 0.85
createRegistryApiRouterFunction · 0.85
applyAgentVisibilityFunction · 0.85
requireApiAccessTierFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected