Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
nodeProtocolPlugin.ts658 B
import { builtinModules } from 'node:module' import type * as esbuild from 'esbuild' const unprefixedCoreModules = builtinModules.filter((name) => !name.startsWith('node:')) const coreModulePattern = new RegExp(`^(${unprefixedCoreModules.join('|')})$`) /** * Replaces all unprefixed Node.js core modules imports with the equivalent * imports with `node:` protocol for compatibility with other JavaScript runtimes. */ export const nodeProtocolPlugin: esbuild.Plugin = { name: 'nodeProtocolPlugin', setup(build) { build.onResolve({ filter: coreModulePattern }, (args) => { return { path: `node:${args.path}`, external: true } }) }, }

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