Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
test.ts696 B
import testMatrix from './_matrix' // @ts-ignore import type { PrismaClient } from './generated/prisma/client' declare let prisma: PrismaClient testMatrix.setupTestSuite( () => { beforeAll(async () => { await prisma.$executeRaw`INSERT INTO \`company\` VALUES ('1','neplátce'),('2','plátce');` }) test('correctly returns mapped enums', async () => { const result = await prisma.company.findMany({ select: { companyID: true, typDPH: true, }, }) expect(result.length).toBe(2) }) }, { optOut: { from: ['postgresql', 'cockroachdb', 'mongodb', 'sqlite', 'sqlserver'], reason: 'MySQL', }, }, )

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