Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
buildDebugInitialization.ts748 B
import { getRuntimeEdgeEnvVar } from './buildInjectableEdgeEnv' /** * Builds the code to initialize the `debug` package. * * The code running in the Edge Client entry point has access to `process.env` * if it's defined, but the code in the runtime bundle doesn't. Furthermore, in * some environments `DEBUG` may be defined as a global variable rather than * available in `process.env`. The entry point fetches the value of `DEBUG` and * passes into the `debug` package. * * @param edge Whether the edge runtime is used */ export function buildDebugInitialization(edge: boolean) { if (!edge) { return '' } const debugVar = getRuntimeEdgeEnvVar('DEBUG') return `\ if (${debugVar}) { runtime.Debug.enable(${debugVar}) } ` }

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