Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
43,956
  • Linux
  • Apple
.envrc3.18 kB
# Note: The default database name for the main connection string of each database has to be `tests` (or `master` for SQL Server) as we we search and replace that value later in our test setup # PostgreSQL export TEST_POSTGRES_URI="postgres://prisma:prisma@localhost:5432/tests" export TEST_POSTGRES_URI_MIGRATE="postgres://prisma:prisma@localhost:5432/tests-migrate" export TEST_POSTGRES_SHADOWDB_URI_MIGRATE="postgres://prisma:prisma@localhost:5432/tests-migrate-shadowdb" # Note: the isolated instance is only needed for one test (client/src/__tests__/integration/errors/connection-limit-postgres/test.ts) export TEST_POSTGRES_ISOLATED_URI="postgres://prisma:prisma@localhost:5435/tests" # MySQL export TEST_MYSQL_URI="mysql://root:root@localhost:3306/tests" export TEST_MYSQL_URI_MIGRATE="mysql://root:root@localhost:3306/tests-migrate" export TEST_MYSQL_SHADOWDB_URI_MIGRATE="mysql://root:root@localhost:3306/tests-migrate-shadowdb" # Note: the isolated instance is only needed for one test (client/src/__tests__/integration/errors/connection-limit-mysql/test.ts) export TEST_MYSQL_ISOLATED_URI="mysql://root:root@localhost:3307/tests" # MariaDB export TEST_MARIADB_URI="mysql://root:root@localhost:4306/tests" # SQL Server export TEST_MSSQL_JDBC_URI="sqlserver://localhost:1433;database=master;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;" export TEST_MSSQL_JDBC_URI_MIGRATE="sqlserver://localhost:1433;database=tests-migrate;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;" export TEST_MSSQL_SHADOWDB_JDBC_URI_MIGRATE="sqlserver://localhost:1433;database=tests-migrate-shadowdb;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;" export TEST_MSSQL_URI="mssql://SA:Pr1sm4_Pr1sm4@localhost:1433/master" # for `mssql` lib used in some tests # MongoDB export TEST_MONGO_URI="mongodb://localhost:27018/tests" export TEST_MONGO_URI_MIGRATE="mongodb://localhost:27017/tests-migrate" export TEST_MONGO_URI_MIGRATE_EXISTING_DB="mongodb://localhost:27017/tests-migrate-existing-db" # CockroachDB export TEST_COCKROACH_URI="postgresql://prisma@localhost:26257/tests" export TEST_COCKROACH_URI_MIGRATE="postgresql://prisma@localhost:26257/tests-migrate" export TEST_COCKROACH_SHADOWDB_URI_MIGRATE="postgresql://prisma@localhost:26257/tests-migrate-shadowdb" # Prisma Client - Functional test suite export TEST_FUNCTIONAL_POSTGRES_URI="postgres://prisma:prisma@localhost:5432/PRISMA_DB_NAME" export TEST_FUNCTIONAL_POSTGRES_16_URI="postgres://prisma:prisma@localhost:15432/PRISMA_DB_NAME" export TEST_FUNCTIONAL_MYSQL_URI="mysql://root:root@localhost:3306/PRISMA_DB_NAME" export TEST_FUNCTIONAL_VITESS_8_URI="mysql://root:root@localhost:33807/PRISMA_DB_NAME" export TEST_FUNCTIONAL_MSSQL_URI="sqlserver://localhost:1433;database=PRISMA_DB_NAME;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;" export TEST_FUNCTIONAL_MONGO_URI="mongodb://localhost:27018/PRISMA_DB_NAME" export TEST_FUNCTIONAL_COCKROACH_URI="postgresql://prisma@localhost:26257/PRISMA_DB_NAME" # To hide "Update available 0.0.0 -> x.x.x" export PRISMA_HIDE_UPDATE_MESSAGE="true" if [ -f .envrc.local ]; then watch_file .envrc.local source .envrc.local fi

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