Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
Datasources.ts438 B
import { DataSource } from '@prisma/generator' import indent from 'indent-string' import type { Generable } from './Generable' export class Datasources implements Generable { constructor(protected readonly internalDatasources: DataSource[]) {} public toTS(): string { const sources = this.internalDatasources return `export type Datasources = { ${indent(sources.map((s) => `${s.name}?: Datasource`).join('\n'), 2)} }` } }

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