Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
jest.setup.js650 B
const path = require('node:path') global.beforeEach(() => { /** * Set up JITI aliasing for the test environment. * This allows us to load local modules in fixture tests using the `src/` and `test-utils/` aliases. * Importing `src/index`, in particular, emulates real-world usage of `import { defineConfig } from '@prisma/config'`. * * See: https://github.com/unjs/jiti?tab=readme-ov-file#alias. */ process.env['JITI_ALIAS'] = JSON.stringify({ 'src/': path.join(__dirname, 'src'), 'test-utils/': path.join(__dirname, 'src', '__tests__', '_utils'), }) }) global.afterEach(() => { delete process.env['JITI_ALIAS'] })

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