Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
getLogLevel.test.ts885 B
import { getLogLevel } from '../runtime/getLogLevel' test('info and warn', () => { const level = getLogLevel([ { emit: 'event', level: 'info', }, { emit: 'event', level: 'warn', }, ]) expect(level).toMatchInlineSnapshot(`"info"`) }) test('query', () => { const level = getLogLevel([ { emit: 'event', level: 'query', }, ]) expect(level).toMatchInlineSnapshot(`undefined`) }) test('strings and objects', () => { const level = getLogLevel([ { emit: 'event', level: 'query', }, 'warn', ]) expect(level).toMatchInlineSnapshot(`"warn"`) }) test('strings', () => { const level = getLogLevel('warn') expect(level).toMatchInlineSnapshot(`"warn"`) }) test('strings array', () => { const level = getLogLevel(['warn', 'error']) expect(level).toMatchInlineSnapshot(`"error"`) })

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