datasource db {
provider = "sqlite"
}
generator client {
provider = "prisma-client-ts"
output = "./generated"
}
enum UserRole {
ADMIN
USER
GUEST
}
enum UserRoleMapped {
ADMIN @map("UserRole/ADMIN")
USER @map("UserRole/USER")
GUEST // unmapped value
@@map("user_role_mapped")
}
enum Status {
ACTIVE
INACTIVE
PENDING
}
model User {
id Int @id
role UserRole
status Status
}
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/prisma/prisma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server