Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
keyBy.ts441 B
export interface Dictionary<T> { [key: string]: T } /** * Reduce over the keys of the iterable. * @param collection Any array-like data structure. * @param iteratee Callback to be called on every element. */ export const keyBy: <T>(collection: T[], iteratee: (value: T) => string) => Dictionary<T> = (collection, iteratee) => { return collection.reduce<any>((acc, curr) => { acc[iteratee(curr)] = curr return acc }, {}) }

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