Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
chmodPlusX.ts416 B
import fs from 'node:fs' export function chmodPlusX(file: string): void { // Note: skip for windows as chmod does on exist there // and will error with `EACCES: permission denied` if (process.platform === 'win32') return const s = fs.statSync(file) const newMode = s.mode | 64 | 8 | 1 if (s.mode === newMode) { return } const base8 = newMode.toString(8).slice(-3) fs.chmodSync(file, base8) }

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