Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
handle.ts528 B
function handleSync<R, E = Error>(fn: () => R): R | E { try { return fn() } catch (e: unknown) { return e as E } } async function handleAsync<R, E = Error>(fn: () => Promise<R> | R): Promise<R | E> { try { return await fn() } catch (e: unknown) { return e as E } } /** * Executes a function, catches exceptions, and returns any outcome. * @param fn to be executed */ const handle = handleSync as typeof handleSync & { async: typeof handleAsync } handle.async = handleAsync export { handle }

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