Prisma MCP logo

Prisma MCP

by prisma

Manage Prisma Postgres databases, backups, recovery, connection strings, schemas, and SQL through MCP.

Install Prisma MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://mcp.prisma.io/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

prisma/mcp exposes Prisma Postgres database management through MCP, with a hosted Streamable HTTP endpoint at mcp.prisma.io/mcp. Its tools cover database and connection-string lifecycle operations, backups and recovery, schema introspection, and SQL execution. Connect an MCP-compatible client and sign in with a Prisma account to use the hosted service. Reach for it when an agent needs to inspect or administer Prisma Postgres resources without building or uploading application code.

Use cases

  • Create and remove Prisma Postgres databases
  • Run SQL queries through an AI client
  • Inspect a database schema before changing it
  • Create backups and restore databases
  • Manage Prisma Postgres connection strings

Key features

  • Prisma Postgres database lifecycle management
  • SQL query execution
  • Schema introspection
  • Backup creation and listing
  • Database recovery from backups
  • Connection-string management

Tools10

What Prisma MCP lets your agent do. Expand a tool for its parameters.

Self-reported~235 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked 14d ago

We have not completed a health check for this listing yet.

11/19 checks healthy over the last 92d

Supply-chain signal

1 high-severity advisory on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 0Medium 0Low 0

Scanned 22d ago via OSV.dev · https://mcp.prisma.io/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars49Stargazers on the source repository.
npm downloads1.6MPackage downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Prisma MCP works

What prisma/mcp does

prisma/mcp provides MCP tools for managing Prisma Postgres databases. It can list databases in a user's workspace, create and remove databases, manage database connection strings, create backups, restore a database from a backup, inspect a database schema, and execute SQL queries.

The hosted service is available at https://mcp.prisma.io/mcp using Streamable HTTP. It is intended for use from AI clients that support MCP and lets an agent work with Prisma Postgres resources through structured tool calls.

How it works

An MCP client connects to the hosted endpoint and authenticates with a Prisma account. The client then exposes the available database operations to an AI agent. Operations that target a particular resource use identifiers such as database IDs, environment IDs, backup IDs, or connection-string IDs.

SQL execution and schema introspection operate against a selected Prisma Postgres database. Backup listing uses a database and environment identifier, while recovery creates a new database from a selected backup.

Setup and configuration

Use the hosted Streamable HTTP endpoint:

https://mcp.prisma.io/mcp

Add that endpoint to an MCP-compatible AI client, then sign in with a Prisma account when prompted. The hosted deployment avoids running a local process and does not require environment variables in the documented connection flow.

A local command, npx prisma mcp, was previously included in the Prisma ORM CLI for Prisma versions 6.6 through 7.x. That command is not included in Prisma 8. The repository for the server is archived and no longer maintained, so the hosted endpoint is the relevant deployment path.

Tools and capabilities

  • List Prisma Postgres databases available in a workspace.
  • Create and delete managed Prisma Postgres databases.
  • Create, list, and delete database connection strings.
  • Create backups and list backups for a database and environment.
  • Restore a database into a new database from a backup.
  • Run SQL queries against a selected database.
  • Introspect a database schema.

Limitations and notes

The server does not build or upload code. Its documented database tools operate on Prisma Postgres resources and related connection strings, backups, recovery operations, schemas, and SQL queries.

The local Prisma ORM CLI integration is historical rather than a supported Prisma 8 command. Authentication is handled through a Prisma account when connecting to the hosted service.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Prisma MCP

prisma/mcp is an MCP server that connects AI clients to Prisma Postgres and provides tools to list, create, delete, back up, recover, inspect, and query databases, plus manage connection strings. The hosted endpoint uses Streamable HTTP, and users sign in with a Prisma account when connecting.

Connect your MCP client to https://mcp.prisma.io/mcp over Streamable HTTP, then sign in with a Prisma account. The former `npx prisma mcp` local command was available in Prisma ORM CLI versions 6.6 through 7.x and is not included in Prisma 8.

Yes, Cursor can connect to prisma/mcp as an MCP client using its hosted Streamable HTTP endpoint. Configure the server at https://mcp.prisma.io/mcp and authenticate with a Prisma account.

Yes, prisma/mcp provides an SQL query tool for executing queries against a selected Prisma Postgres database. The client supplies the database identifier when invoking the operation.

Yes, prisma/mcp can restore a Prisma Postgres database into a new database from a selected backup. Backup and environment identifiers are used to select the recovery source.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPrisma MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/prisma-mcp?style=directory)](https://allmcps.com/mcp/prisma-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/prisma-mcp"><img src="https://allmcps.com/api/badge/prisma-mcp?style=directory" alt="Prisma MCP on AllMCPs" /></a>