Prisma MCP Server

Databasestdiohttp-streaming
Repository

Prisma's official MCP server that lets AI tools manage Prisma ORM projects and Prisma Postgres databases through natural language. Provides both a local server for working with a project's Prisma schema and migrations, and a remote server for provisioning and managing Prisma Postgres databases. Useful for scaffolding models, generating and applying migrations, and running database workflows from an AI coding assistant.

Connect

Add this configuration to .claude/mcp.json

Transport:
{
  "mcpServers": {
    "prisma": {
      "command": "npx",
      "args": [
        "-y",
        "prisma",
        "mcp"
      ],
      "env": {
        "PRISMA_POSTGRES_API_KEY": "<YOUR_PRISMA_POSTGRES_API_KEY>"
      }
    }
  }
}

Tools (2)

migrate

Create and apply Prisma migrations from changes to the Prisma schema.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name for the migration"
    }
  }
}

create_database

Provision a new Prisma Postgres database in a chosen region.

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the database to create"
    },
    "region": {
      "type": "string",
      "description": "Region to provision the database in"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Prisma (@prisma)
Repository
https://github.com/prisma/mcp
Stars
0
Last Updated
July 12, 2026