Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
isInContainer.ts413 B
import fs from 'node:fs' /** * Check if we're running inside a container. * Checks for common signs of Docker, Podman, and Kubernetes. */ export function isInContainer(): boolean { try { return ( fs.existsSync('/.dockerenv') || fs.existsSync('/run/.containerenv') || process.pid === 1 || process.env.KUBERNETES_SERVICE_HOST !== undefined ) } catch { return false } }

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