P

MCP Entry

Prisma MCP

Provides AI agents access to Prisma schemas, migration planning, and database introspection capabilities. Agents can propose migrations, explore data models, and generate type-safe queries based on your Prisma setup. Works with local projects and remote Prisma Data Proxy deployments.

Category Database
Install npm
Runtime Node.js
prismapostgresorm

Use cases

  • Developer explores database schema to understand entity relationships
  • Architect drafts migration plans for adding new features to data model
  • TypeScript developer generates type definitions from Prisma schema
  • DBA reviews generated SQL before applying migrations to production
  • New team member understands codebase by querying data model structure

Key features

  • Claude Desktop
  • Claude Code
  • Cursor
  • VS Code
  • Windsurf

Frequently Asked Questions

What databases does Prisma MCP support?
PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, and CockroachDB are supported. Each requires the appropriate Prisma data source configuration.
Can agents run migrations?
Agents can generate migration plans and SQL. Actual migration execution requires user confirmation for safety. Use --dry-run to preview changes first.
Does it work with Prisma Data Proxy for connection pooling?
Yes, the MCP can connect through Prisma Data Proxy for managed connection pooling. Configure the DATA_PROXY_URL environment variable.

Related

Related

3 Indexed items