Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
setup.ts632 B
const originalEnv = { ...process.env } const originalCwd = process.cwd() function restoreEnv() { for (const key of Object.keys(process.env)) { if (!(key in originalEnv)) { delete process.env[key] } } for (const [key, value] of Object.entries(originalEnv)) { if (value === undefined) { delete process.env[key] } else { process.env[key] = value } } } beforeEach(() => { process.chdir(originalCwd) restoreEnv() // To avoid the loading spinner prints in local cli output snapshot tests process.env.CI = 'true' }) afterEach(() => { process.chdir(originalCwd) restoreEnv() })

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