Prisma MCP Server
Officialby Prisma
The official Prisma MCP server gives AI coding agents direct access to your database workflows through the Model Context Protocol. It comes in two flavors: a local server for developers running migrations and managing schemas on their machine, and a remote server for AI platforms that need to provision and manage Prisma Postgres databases programmatically. The local server plugs into Cursor, VS Code, Windsurf, Claude Code, and Claude Desktop. Run your Prisma migrations, check migration status, reset databases, and launch Prisma Studio — all through your AI agent without touching the terminal. The remote server adds cloud database operations: create databases, manage connection strings, run SQL queries, introspect schemas, and handle backups. Installation is one command — no separate packages to manage. The server runs through the Prisma CLI itself, keeping everything in one toolchain.
Installation
Key Features
- ✓Run Prisma migrations directly from your AI agent
- ✓Manage database schemas and connection strings via MCP
- ✓Execute SQL queries and introspect schemas remotely
- ✓Create and restore database backups through AI tools
- ✓Supports Cursor, VS Code, Windsurf, Claude Code, and Claude Desktop
- ✓Both local development and remote cloud database management
Use Cases
- →Running database migrations during AI-assisted development
- →Managing Prisma Postgres instances through AI agents
- →Executing SQL queries and schema introspection from your IDE
- →Automating database backup and recovery workflows
- →Building AI platforms with integrated database provisioning