MCPcopy Index your code
hub / github.com/Openpanel-dev/openpanel / McpAuthContext

Interface McpAuthContext

packages/mcp/src/auth.ts:9–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7const logger = createLogger({ name: 'mcp:auth' });
8
9export interface McpAuthContext {
10 /**
11 * Fixed project ID for read clients.
12 * null for root clients — they can query any project in their organization.
13 */
14 projectId: string | null;
15 organizationId: string;
16 clientType: 'read' | 'root';
17}
18
19export class McpAuthError extends Error {
20 constructor(message: string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected