Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
resolveDatasources.ts412 B
import path from 'node:path' export function absolutizeRelativePath(url: string, cwd: string, outputDir: string, absolutePaths?: boolean): string { let filePath = url if (filePath.startsWith('file:')) { filePath = filePath.slice(5) } const absoluteTarget = path.resolve(cwd, filePath) if (absolutePaths) { return absoluteTarget } return `${path.relative(outputDir, absoluteTarget)}` }

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