Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
utils.ts610 B
import Arg from 'arg' import dedent from 'strip-indent' /** * format */ export function format(input = ''): string { return dedent(input).trimRight() + '\n' } /** * Wrap arg to return an error instead of throwing */ export function arg<T extends Arg.Spec>( argv: string[], spec: T, stopAtPositional = true, permissive = false, ): Arg.Result<T> | Error { try { return Arg(spec, { argv, stopAtPositional, permissive }) } catch (e: any) { return e } } /** * Check if result is an error */ export function isError(result: any): result is Error { return result instanceof 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