Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
ConstDeclaration.test.ts594 B
import { expect, test } from 'vitest' import { constDeclaration } from './ConstDeclaration' import { docComment } from './DocComment' import { namedType } from './NamedType' import { stringify } from './stringify' const A = namedType('A') test('basic', () => { expect(stringify(constDeclaration('B', A))).toMatchInlineSnapshot(`"const B: A"`) }) test('with doc comment', () => { const decl = constDeclaration('B', A).setDocComment(docComment('Some important value')) expect(stringify(decl)).toMatchInlineSnapshot(` "/** * Some important value */ const B: A" `) })

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