Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
numeric.ts549 B
/** * Parses an integer string into a number. * * @param value - The integer string to parse. * @returns The parsed number. * @throws {Error} If the integer string is invalid. */ export function parseInteger(value: string): number { const number = Number.parseInt(value, 10) if (isNaN(number)) { throw new Error(`Invalid integer: ${value}`) } // Ensure we don't have trailing characters that were ignored by `parseInt`. if (number.toString() !== value) { throw new Error(`Invalid integer: ${value}`) } return number }

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