Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
tests.ts1.22 kB
import { Providers } from '../../_utils/providers' import testMatrix from './_matrix' // @ts-ignore import type { PrismaClient } from './generated/prisma/client' declare let prisma: PrismaClient testMatrix.setupTestSuite( () => { // TODO: this currently fails with "The column `j1.id` does not exist in the current database.". // Close https://github.com/prisma/prisma/issues/21352 once fixed. test('[1] should not fail', async () => { await prisma.relation1.findMany({ select: { id: true, }, where: { user: { email: 'info@example.com', }, }, }) }) // TODO: this currently fails with "The column `j1.field` does not exist in the current database.". // Close https://github.com/prisma/prisma/issues/21352 once fixed. test('[2] should not fail', async () => { await prisma.relation2.findMany({ select: { field: true, }, where: { user: { id: 'info@example.com', }, }, }) }) }, { optOut: { from: [Providers.MONGODB], reason: 'Only SQL databases were affected by regression #21352', }, }, )

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