Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
Parameter.test.ts456 B
import { expect, test } from 'vitest' import { namedType } from './NamedType' import { parameter } from './Parameter' import { stringify } from './stringify' const A = namedType('A') test('name and type', () => { const param = parameter('foo', A) expect(stringify(param)).toMatchInlineSnapshot(`"foo: A"`) }) test('optional', () => { const param = parameter('foo', A).optional() expect(stringify(param)).toMatchInlineSnapshot(`"foo?: 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