# Prisma Postgres

Prisma Postgres connects your AI assistant to PostgreSQL databases via Prisma ORM for safe queries and schema migrations. Helps inspect and update relational data directly from the editor.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: docker
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/docker/mcp-registry/blob/98a203ca6e58c67031b8aaed037a26a07ec73ce3/servers/prisma-postgres/server.yaml
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/prisma-postgres

## What it does

The server links your coding environment to PostgreSQL databases using Prisma ORM. Instead of executing raw database scripts, the model works with typed queries and applies automated schema migrations. Type safety prevents malformed structures during updates.

Compatibility covers Claude Code, Codex, Cursor, and Zed among other MCP clients. Working with the server requires an accessible PostgreSQL instance alongside a configured Prisma setup.

Docker provides this integration. It suits workflows where an agent inspects database tables or writes migrations directly in the IDE.

## Requirements
- Needs: Docker
- Works with: PostgreSQL

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- run type-safe queries against PostgreSQL using Prisma
- apply automated database schema migrations
- inspect relational database schemas from the assistant prompt
- generate database operations without manual SQL authoring

## Example prompts
- Run the Prisma migration to add a new profile table to PostgreSQL.
- Query all active accounts from the PostgreSQL database using Prisma.
- Inspect the PostgreSQL schema and generate the corresponding Prisma model.

## Similar
- [prisma-postgres](https://affpapa.org/en/nevibecode/skills/prisma-postgres.md) — skill · 431100 installs
- [prisma-postgres-setup](https://affpapa.org/en/nevibecode/skills/prisma-postgres-setup.md) — skill · 425700 installs
- [prisma-patterns](https://affpapa.org/en/nevibecode/skills/prisma-patterns.md) — skill · 6300 installs
- [prisma-expert](https://affpapa.org/en/nevibecode/skills/sickn33-prisma-expert.md) — skill · 4200 installs
- [prisma](https://affpapa.org/en/nevibecode/skills/bobmatnyc-prisma.md) — skill · 222 installs
- [prisma-migration-assistant](https://affpapa.org/en/nevibecode/skills/prisma-migration-assistant.md) — skill · 316 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
