Skip to main content
Glama
prisma

Prisma MCP Server

Official
by prisma
empty.ts328 B
import { expectTypeOf } from 'expect-type' import { PrismaClient } from './generated/prisma/client' async function main() { const prisma = new PrismaClient({}) const user = await prisma.user.findFirst({ select: { id: true, }, }) expectTypeOf(user).toEqualTypeOf<{ id: number } | null>() } void main()

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/prisma/prisma'

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