Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
env-disabled.test.ts699 B
import { stripVTControlCharacters } from 'node:util' import { sanitizeTestLogs } from '../util' describe('debug', () => { test('empty env var works as expected', async () => { process.env.DEBUG = '' const { Debug, getLogs } = await import('../index') const debug = Debug('my-namespace') const logs: string[] = [] debug.log = (...args) => { logs.push(stripVTControlCharacters(`${args[0]}${args[1]}`).trim()) } debug('Does it even log?') debug('I dont know') expect(logs).toMatchInlineSnapshot(`[]`) expect(sanitizeTestLogs(getLogs())).toMatchInlineSnapshot(` "my-namespace Does it even log? my-namespace I dont know" `) }) })

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