OfficialDatabaseslocal stdio / remote HTTP

Prisma MCP

Lets agents run Prisma migrations locally and manage Prisma Postgres databases remotely.

Install

Claude Code

claude mcp add prisma-local npx prisma mcp

Claude Code

claude mcp add prisma-remote npx mcp-remote https://mcp.prisma.io/mcp

Cursor

{"mcpServers":{"Prisma-Local":{"command":"npx","args":["-y","prisma","mcp"]},"Prisma-Remote":{"command":"npx","args":["-y","mcp-remote","https://mcp.prisma.io/mcp"]}}}

Copilot (VS Code)

{"servers":{"Prisma-Local":{"command":"npx","args":["-y","prisma","mcp"]},"Prisma-Remote":{"command":"npx","args":["-y","mcp-remote","https://mcp.prisma.io/mcp"]}}}

Commands and configuration as given in the server’s documentation (Documentation). Replace placeholders such as API keys with your own values.

Prisma’s official MCP servers for running migrations locally and managing Prisma Postgres remotely.

The Prisma MCP server comes in two parts from Prisma. The local server runs Prisma migrations over stdio, and the remote server at mcp.prisma.io/mcp manages Prisma Postgres databases over HTTP. Both sign in through a Prisma Console login. Prisma’s docs show setup for Claude Code, Cursor and Copilot in VS Code, with a local and a remote entry for each.

The local one (npx prisma mcp) wraps CLI workflows such as migrate status, migrate dev, migrate reset, Console login, database creation and Prisma Studio. The remote one at mcp.prisma.io/mcp manages Prisma Postgres databases, connection strings and backups, and it can run SQL and introspect schemas. The prisma/mcp repository is documentation and has no license file.

Questions

What is the difference between the local and the remote Prisma MCP server?
The local one (npx prisma mcp) wraps CLI workflows such as migrate dev and Prisma Studio; the remote one manages Prisma Postgres databases, connection strings and backups.
How do I add the Prisma MCP server to Claude Code?
Run claude mcp add prisma-local npx prisma mcp for the local server and claude mcp add prisma-remote npx mcp-remote https://mcp.prisma.io/mcp for the remote one.
How does the Prisma MCP server authenticate?
Through a Prisma Console login.
What license does the Prisma MCP repository have?
The prisma/mcp repository is documentation and has no license file.

Sources

Checked October 2, 2026.

Databases

View all
Aftergradient

What are you looking for?

Search commands, errors, tools