Skip to main content
Glama

@arizeai/phoenix-mcp

Official
by Arize-ai
authErrors.ts915 B
/** * Authentication message handling utilities. * * SECURITY: Only displays messages for codes in the allowed lists. * This prevents social engineering attacks via manipulated query parameters. */ const AUTH_SUCCESS_MESSAGES: Record<string, string> = { password_reset: "Password has been reset.", }; /** * Returns a safe error message for the given code, or null if invalid. * Error messages are provided by the backend via window.Config. */ export function getAuthErrorMessage(errorCode: string | null): string | null { return errorCode ? (window.Config.authErrorMessages?.[errorCode] ?? null) : null; } /** * Returns a safe success message for the given code, or null if invalid. * Success messages are frontend-only. */ export function getAuthSuccessMessage( successCode: string | null ): string | null { return successCode ? (AUTH_SUCCESS_MESSAGES[successCode] ?? null) : null; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server