Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
globalSetup.js888 B
'use strict' const glob = require('globby') const fs = require('fs-extra') const { setupQueryEngine } = require('../../_utils/setupQueryEngine') // needed for jest to serialize BigInt: https://github.com/jestjs/jest/issues/11617 BigInt.prototype.toJSON = function () { return Number(this) } module.exports = async (globalConfig) => { process.env['JEST_MAX_WORKERS'] = globalConfig.maxWorkers // expose info to test setup await setupQueryEngine() // we clear up all the files before we run the tests that are not type tests if (process.argv.join(' ').includes('--testPathIgnorePatterns typescript')) { glob // TODO: drop node_modules cleanup? .sync(['./tests/functional/**/.generated/', './tests/functional/**/node_modules/'], { onlyDirectories: true, dot: true, }) .forEach((dir) => fs.removeSync(dir, { recursive: true })) } }

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