Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
merge.ts362 B
/* eslint-disable @typescript-eslint/no-unsafe-argument */ import type { L, U } from 'ts-toolbelt' import { reduce } from './reduce' function merge<O extends object>(objects: L.List<O>): U.Merge<O> { return reduce(objects, (acc, object) => ({ ...acc, ...object }), {} as U.Merge<O>) } // TODO: check perf diff between reduce and for loop export { merge }

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