Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
test.ts564 B
import testMatrix from './_matrix' // @ts-ignore import type { PrismaClient } from './generated/prisma/client' declare let prisma: PrismaClient testMatrix.setupTestSuite((_suiteConfig, _suiteMeta) => { test('calling upsert two times in a row does nothing', async () => { for (let i = 0; i < 2; i++) { const node = await prisma.node.upsert({ where: { identifier: 1 }, create: { identifier: 1, value: 5 }, update: { value: 5 }, }) expect(node.identifier).toEqual(1) expect(node.value).toEqual(5) } }) })

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