Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,231
  • Linux
  • Apple
tests.ts913 B
import testMatrix from './_matrix' // @ts-ignore import type { Prisma as PrismaNamespace } from './generated/prisma/client' declare let Prisma: typeof PrismaNamespace testMatrix.setupTestSuite( ({ clientRuntime, generatorType }) => { describeIf(generatorType === 'prisma-client-js')('Prisma.dmmf in JS client', () => { testIf(clientRuntime !== 'wasm-engine-edge')('exports Prisma.dmmf (default)', () => { expect(Prisma.dmmf).toMatchSnapshot() }) testIf(clientRuntime === 'wasm-engine-edge')('exports Prisma.dmmf (wasm)', () => { expect(() => Prisma.dmmf).toThrowErrorMatchingInlineSnapshot( `"Prisma.dmmf is not available when running in edge runtimes."`, ) }) }) }, { skipDb: true, skipDefaultClientInstance: true, skipDataProxy: { runtimes: ['edge', 'node'], reason: 'Data proxy embeds full DMMF', }, }, )

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