Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
stringify.ts681 B
import { assertNever } from '@prisma/internals' import { BasicBuilder } from './BasicBuilder' import { Writer } from './Writer' type StringifyOptions = { indentLevel?: number newLine?: 'none' | 'leading' | 'trailing' | 'both' } export function stringify(builder: BasicBuilder, { indentLevel = 0, newLine = 'none' }: StringifyOptions = {}) { const str = new Writer(indentLevel, undefined).write(builder).toString() switch (newLine) { case 'none': return str case 'leading': return '\n' + str case 'trailing': return str + '\n' case 'both': return '\n' + str + '\n' default: assertNever(newLine, 'Unexpected value') } }

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