Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
tests.ts834 B
import testMatrix from './_matrix' // @ts-ignore import type { Prisma as PrismaNamespace, PrismaClient } from './generated/prisma/client' declare let prisma: PrismaClient declare let Prisma: typeof PrismaNamespace testMatrix.setupTestSuite( () => { test('allows to use DbNull together with query extensions', async () => { const xprisma = prisma.$extends({ query: { $allModels: { $allOperations({ args, query }) { return query(args) }, }, }, }) await expect(xprisma.user.create({ data: { json: Prisma.DbNull } })).resolves.not.toThrow() }) }, { optOut: { from: ['sqlserver', 'mongodb'], reason: ` sqlserver JSON column is not supported mongodb - DbNull is not supported `, }, }, )

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