Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
ValueBuilder.ts706 B
import { BasicBuilder } from './BasicBuilder' import { TypeBuilder } from './TypeBuilder' import { Writer } from './Writer' export abstract class ValueBuilder implements BasicBuilder { as(type: TypeBuilder): TypeAssertion { return new TypeAssertion(this, type) } abstract write(writer: Writer<undefined>): void } // Must be in the same file due to a circular dependency export class TypeAssertion extends ValueBuilder { #value: ValueBuilder #type: TypeBuilder constructor(value: ValueBuilder, type: TypeBuilder) { super() this.#value = value this.#type = type } override write(writer: Writer): void { writer.write(this.#value).write(' as ').write(this.#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