Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,180
  • Linux
  • Apple
bench.ts1.04 kB
import { execaCommand } from 'execa' import globby from 'globby' async function main() { let benchmarks = await globby(['./packages/**/*.bench.ts', '!./packages/type-benchmark-tests/**'], { gitignore: true, }) if (process.argv.length > 2) { const filterRegex = new RegExp(process.argv[2]) benchmarks = benchmarks.filter((name) => filterRegex.test(name)) if (benchmarks.length === 0) { throw new Error(`No benchmarks found that match the pattern ${filterRegex}`) } } await run(benchmarks) } async function run(benchmarks: string[]) { let failedCount = 0 for (const location of benchmarks) { try { await execaCommand(`node -r esbuild-register ${location}`, { stdio: 'inherit', }) } catch (e) { console.error(e) failedCount++ } } if (failedCount > 0) { const pluralMarker = failedCount === 1 ? '' : 's' throw new Error(`${failedCount} benchmark${pluralMarker} failed`) } } main().catch((e) => { console.error(e) process.exit(1) })

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