Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,181
  • Linux
  • Apple
README.md1.57 kB
# Docker You will need to change directory before executing the commands below with: ```sh cd docker ``` See [the Docker Compose configurations for our tests databases locally and also used by GitHub Actions in CI](./docker-compose.yml). ## Using `docker compose` for databases This is only intended to be run in a development environment where ports 3306 / default for MySQL - 5432 / default for PostgreSQL and 4306 custom port - MariaDB are free and not used. If they are already used make sure to change the ports like this ```yaml ports: - '3307:3306' # only change the first number ``` ## Customizing images (optional) Docker images can be overridden by creating a `docker-compose.override.yml`. > By default, Compose reads two files, a `docker-compose.yml` and an optional `docker-compose.override.yml` file. By convention, the `docker-compose.yml` contains your base configuration. The override file, as its name implies, can contain configuration overrides for existing services or entirely new services. > > (https://docs.docker.com/compose/extends/#understanding-multiple-compose-files) ## Usage ### Start In detached/background mode using `-d` (recommended) ```sh docker compose up -d # Or start only one service docker compose up -d mysql # To see logs docker compose logs -f mysql ``` In attached mode, the logs will be streamed in the terminal: ```sh docker compose up # Or start only one service docker compose up mysql ``` ### Stop ```sh docker compose down ``` ### Delete all ```sh docker compose down -v --rmi all --remove-orphans ```

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