Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
copyFilePlugin.ts421 B
import type { Plugin } from 'esbuild' import fs from 'fs/promises' /** * Copies the specified files after the build is done. */ const copyFilePlugin = (actions: { from: string; to: string }[]): Plugin => ({ name: 'copyFilePlugin', setup(build) { build.onEnd(async () => { for (const action of actions) { await fs.copyFile(action.from, action.to) } }) }, }) export { copyFilePlugin }

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