Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
missingGeneratorMessage.ts1.26 kB
import { blue, bold } from 'kleur/colors' import { highlightDatamodel } from '../highlight/highlight' import { link } from './link' export const missingGeneratorMessage = `\n${blue('info')} You don't have any generators defined in your ${bold( 'schema.prisma', )}, so nothing will be generated. You can define them like this: ${bold( highlightDatamodel(`generator client { provider = "prisma-client-js" }`), )}` export const missingModelMessage = `\nYou don't have any ${bold('models')} defined in your ${bold( 'schema.prisma', )}, so nothing will be generated. You can define a model like this: ${bold( highlightDatamodel(`model User { id Int @id @default(autoincrement()) email String @unique name String? }`), )} More information in our documentation: ${link('https://pris.ly/d/prisma-schema')} ` export const missingModelMessageMongoDB = `\nYou don't have any ${bold('models')} defined in your ${bold( 'schema.prisma', )}, so nothing will be generated. You can define a model like this: ${bold( highlightDatamodel(`model User { id String @id @default(auto()) @map("_id") @db.ObjectId email String @unique name String? }`), )} More information in our documentation: ${link('https://pris.ly/d/prisma-schema')} `

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