export enum UserRole {
ADMIN = "ADMIN",
MEMBER = "MEMBER",
VIEWER = "VIEWER",
}
export function normalizeUserRole(role: string) {
return role.toLocaleLowerCase();
}
export function isUserRole(role: unknown): role is UserRole {
return typeof role === "string" && role in UserRole;
}
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