Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
buildWarnEnvConflicts.ts826 B
import { TSClientOptions } from '../TSClient/TSClient' /** * Builds the necessary bits so that our users can get a helpful warning during * "generate" in case of conflicts between their environment & their env files. * @param edge * @param runtimeBase * @param runtimeNameJs * @returns */ export function buildWarnEnvConflicts( edge: boolean, runtimeBase: string, runtimeNameJs: TSClientOptions['runtimeNameJs'], ) { if (edge === true) return '' return ` const { warnEnvConflicts } = require('${runtimeBase}/${runtimeNameJs}.js') warnEnvConflicts({ rootEnvPath: config.relativeEnvPaths.rootEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.rootEnvPath), schemaEnvPath: config.relativeEnvPaths.schemaEnvPath && path.resolve(config.dirname, config.relativeEnvPaths.schemaEnvPath) })` }

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