Skip to main content
Glama
UnauthorizedScreen.tsx1.43 kB
export function UnauthorizedScreen({ message }: { message?: string }) { return ( <div className="min-h-screen flex items-center justify-center bg-gray-50"> <div className="max-w-md w-full bg-white shadow-lg rounded-lg p-8 text-center"> <div className="mb-6"> <div className="mx-auto flex items-center justify-center h-12 w-12 rounded-full bg-red-100 mb-4"> <svg className="h-6 w-6 text-red-600" fill="none" viewBox="0 0 24 24" stroke="currentColor" > <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z" /> </svg> </div> <h2 className="text-2xl font-bold text-gray-900 mb-2"> Access Denied </h2> <p className="text-gray-600 mb-6"> {message || "You are not authorized to access this application."} </p> <div className="space-y-4"> <p className="text-sm text-gray-500"> Please contact your administrator if you believe this is an error. </p> </div> </div> </div> </div> ); } export default UnauthorizedScreen;

Latest Blog Posts

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/TheLunarCompany/lunar'

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