Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
setup-postgres.sh916 B
#!/bin/bash set -ex if [ "$RUNNER_OS" = "Windows" ]; then export PGDATA="$RUNNER_TEMP\\pgdata" export PGUSER="$USERNAME" export PATH="$PATH:$(cygpath "$PGBIN")" export PQ_LIB_DIR="$PGROOT\\lib" fi if [ "$RUNNER_OS" = "macOS" ]; then export PGDATA="$RUNNER_TEMP/pgdata" export PGUSER="$USER" brew install postgresql@14 || true fi pg_ctl init pg_ctl start createuser --createdb prisma createdb -O prisma tests psql -c "ALTER USER prisma PASSWORD 'prisma';" tests echo 'TEST_POSTGRES_URI=postgres://prisma:prisma@localhost:5432/tests' >> "$GITHUB_ENV" echo 'TEST_FUNCTIONAL_POSTGRES_URI=postgres://prisma:prisma@localhost:5432/PRISMA_DB_NAME' >> "$GITHUB_ENV" echo 'TEST_POSTGRES_URI_MIGRATE=postgres://prisma:prisma@localhost:5432/tests-migrate' >> "$GITHUB_ENV" echo 'TEST_POSTGRES_SHADOWDB_URI_MIGRATE=postgres://prisma:prisma@localhost:5432/tests-migrate-shadowdb' >> "$GITHUB_ENV"

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