Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
concat.ts702 B
/* eslint-disable @typescript-eslint/no-unsafe-argument */ import type { L } from 'ts-toolbelt' /** * Combines two lists into a new one. * (more efficient than native concat) * * @param list0 * @param list1 * @returns */ function concat<I0, I1>(list0: L.List<I0>, list1: L.List<I1>) { let length = list0.length + list1.length // tipping point where implementation becomes slower if (length > 200) return list0.concat(list1 as any[]) const _list: (I0 | I1)[] = new Array(length) for (let i = list1.length - 1; i >= 0; --i) { _list[--length] = list1[i] } for (let i = list0.length - 1; i >= 0; --i) { _list[--length] = list0[i] } return _list } export { concat }

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