Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,210
  • Linux
  • Apple
dotenv-3-conflict.test.ts666 B
import { jestConsoleContext, jestContext } from '@prisma/get-platform' const ctx = jestContext.new().add(jestConsoleContext()).assemble() it('should throw error', async () => { ctx.fixture('dotenv-3-conflict') expect.assertions(1) await expect( ctx.cli('validate').catch((e) => { const message = e.message.split('\n').slice(1).join('\n') throw new Error(message) }), ).rejects.toThrowErrorMatchingInlineSnapshot(` "Error: There is a conflict between env var in .env and prisma/.env Conflicting env vars: SHOULD_THROW We suggest to move the contents of prisma/.env to .env to consolidate your env vars. " `) })

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