Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
Parameter.ts614 B
import { BasicBuilder } from './BasicBuilder' import { TypeBuilder } from './TypeBuilder' import { Writer } from './Writer' export class Parameter implements BasicBuilder { private isOptional = false constructor( private name: string, private type: TypeBuilder, ) {} optional(): this { this.isOptional = true return this } write(writer: Writer): void { writer.write(this.name) if (this.isOptional) { writer.write('?') } writer.write(': ').write(this.type) } } export function parameter(name: string, type: TypeBuilder) { return new Parameter(name, type) }

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