UNPKG

@auth0/auth0-mcp-server

Version:

Auth0 Model Context Protocol (MCP) Server (Beta) — A secure and extendable implementation of an MCP server that provides AI assistants with controlled access to the Auth0 Management API through natural language. This project is in beta and not intended fo

62 lines (61 loc) • 1.4 kB
export declare enum ServerMode { Stdio = "stdio", StreamableHttp = "streamable-http" } export interface ToolAnnotations { destructiveHint?: boolean; idempotentHint?: boolean; openWorldHint?: boolean; readOnlyHint?: boolean; title?: string; } export interface Tool { name: string; description: string; inputSchema?: Record<string, any>; _meta?: { requiredScopes: string[]; readOnly?: boolean; localOnly?: boolean; }; annotations?: ToolAnnotations; } export interface HandlerRequest { token: string; parameters: Record<string, any>; } export interface HandlerConfig { domain: string | undefined; mode?: ServerMode; headers?: Record<string, string>; } export interface HandlerResponse { content: Array<{ type: string; [key: string]: any; }>; isError: boolean; } export interface ClientOptions { tools: string[]; readOnly?: boolean; } export interface Auth0Application { client_id: string; name: string; [key: string]: any; } export interface Auth0ResourceServer { id: string; name: string; identifier: string; [key: string]: any; } export interface Auth0PaginatedResponse { clients?: Auth0Application[]; resource_servers?: Auth0ResourceServer[]; total?: number; page?: number; per_page?: number; [key: string]: any; }