Type Alias: McpSessionContext
Makaio Framework / contracts / McpSessionContext
Type Alias: McpSessionContext
Section titled “Type Alias: McpSessionContext”McpSessionContext =
z.infer<typeofMcpSessionContextSchema>
Defined in: ../../../packages/contracts/src/mcp/schemas.ts:377
Type Composition
Section titled “Type Composition”McpSessionContextz.infer<typeof McpSessionContextSchema>typeof McpSessionContextSchema
Resolved Shape
Section titled “Resolved Shape”type McpSessionContext = { sessionId: string; projectId: string | null; profileId: string | null; servers: Array<{ name: string; transport: { type: 'stdio'; command: string; args?: Array<string> | undefined; env?: Record<string, string> | undefined; } | { url: string; type: 'sse'; headers?: Record<string, string> | undefined; } | { url: string; type: 'http'; headers?: Record<string, string> | undefined; }; exposureMode: 'direct' | 'discovery'; }>; directTools: Array<{ fullName: string; originalName: string; serverName: string; inputSchema: Record<string, unknown>; exposureMode: 'direct' | 'discovery' | 'hidden'; enabled: boolean; exposed: boolean; description?: string | undefined; enabledBy?: 'discovery' | 'toolset' | undefined; enabledAt?: number | undefined; }>; discoverableTools: Array<{ fullName: string; originalName: string; serverName: string; inputSchema: Record<string, unknown>; exposureMode: 'direct' | 'discovery' | 'hidden'; enabled: boolean; exposed: boolean; description?: string | undefined; enabledBy?: 'discovery' | 'toolset' | undefined; enabledAt?: number | undefined; }>;};