Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
JestCli.ts847 B
import path from 'node:path' import { execaSync } from 'execa' const packageRoot = path.resolve(__dirname, '..', '..') export class JestCli { constructor( private args: string[] = [], private env: Record<string, string> = {}, private path = 'node_modules/.bin/jest', ) {} withArgs(args: string[]): JestCli { return new JestCli([...this.args, ...args], this.env, this.path) } withEnv(env: Record<string, string>): JestCli { return new JestCli(this.args, { ...this.env, ...env }, this.path) } withDebugger(): JestCli { const args = ['--inspect-brk', 'node_modules/jest/bin/jest.js', ...this.args] const cli = new JestCli(args, this.env, 'node') return cli } run(): void { execaSync(this.path, this.args, { env: this.env, stdio: 'inherit', cwd: packageRoot, }) } }

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