Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,213
  • Linux
  • Apple
fallback-logger.ts474 B
import { createMiddleware } from 'hono/factory' import { withActiveLogger } from '../../log/context' import { createConsoleLogger } from '../../log/factory' import { LogOptions } from '../../options' export const fallbackLoggerMiddleware = (options: LogOptions | undefined) => createMiddleware(async (_, next) => { if (options) { await withActiveLogger(createConsoleLogger(options.logFormat, options.logLevel), next) } else { await next() } })

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