Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
detectPrisma1.ts438 B
import fs from 'fs' import path from 'path' export function detectPrisma1() { if (fs.existsSync(path.join(process.cwd(), 'prisma.yml'))) { throw new Error( `We detected a Prisma 1 project. For Prisma 1, please use the \`prisma1\` CLI instead. You can install it with \`npm install -g prisma1\`. If you want to upgrade to Prisma 2+, please have a look at our upgrade guide: http://pris.ly/d/upgrading-to-prisma2`, ) } }

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