Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
test.ts617 B
import { faker } from '@faker-js/faker' import { createMemoryTest } from '../_utils/createMemoryTest' //@ts-ignore type PrismaModule = typeof import('./.generated/node_modules/@prisma/client') void createMemoryTest({ async prepare({ PrismaClient }: PrismaModule) { const client = new PrismaClient() await client.$connect() return client }, async run(client) { const data = Array.from({ length: 50 }, () => { return { email: faker.internet.email(), } }) await client.user.createMany({ data }) }, async cleanup(client) { await client.$disconnect() }, })

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