Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,231
  • Linux
  • Apple
edge.ts634 B
import { mockAdapterFactory } from '../../_utils/mock-adapter' test('driver adapters cannot be used via @prisma/client/edge', () => { jest.isolateModules(() => { const { PrismaClient } = require('@prisma/client/edge') const newClient = () => new PrismaClient({ adapter: mockAdapterFactory('postgres'), }) expect(newClient).toThrowErrorMatchingInlineSnapshot(` "Prisma Client was configured to use the \`adapter\` option but it was imported via its \`/edge\` endpoint. Please either remove the \`/edge\` endpoint or remove the \`adapter\` from the Prisma Client constructor." `) }) }) export {}

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