Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
ModelsFile.ts529 B
import { GenerateContext } from '../GenerateContext' const jsDocHeader = `/* * This is a barrel export file for all models and their related types. * * 🟢 You can import this file directly. */ ` export function createModelsFile(context: GenerateContext, modelsNames: string[]): string { const exports = modelsNames.map((m) => `export type * from './models/${context.importFileName(m)}'`) exports.push(`export type * from './${context.importFileName('commonInputTypes')}'`) return jsDocHeader + exports.join('\n') }

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