Skip to main content
Glama
prisma

Prisma MCP Server

Official
by prisma

Looking for Prisma ORM 7? It lives on the v7 branch of this repository, and the prisma and @prisma/* packages on npm continue to be published from there.

Prisma Next is currently in Early Access and we're building it in the open with the community. APIs will still evolve as your feedback shapes them, so we don't recommend it for production workloads yet. Come along for the ride: star the repo, follow @prisma on X, or read along on the Prisma blog.

Prisma Next is a TypeScript rewrite of Prisma ORM, designed to be extensible, composable, and AI-agent friendly by default. Read the full announcement: The Next Evolution of Prisma ORM.

Prerequisites

  • Node.js 24 or newer

  • A package manager (npm, pnpm, or yarn)

Related MCP server: PostgreSQL MCP

Getting started

1. Scaffold a new project

The interactive scaffolder picks a JavaScript framework (Next.js, Vite, Hono, and others) and wires Prisma Next in with your chosen database (PostgreSQL or MongoDB):

npm create prisma@next

You finish with a runnable app, a starter contract, and the agent skills already registered.

2. Or, add Prisma Next to an existing project

Run this from your repo root:

npx prisma-next@latest init

prisma-next@latest init writes prisma-next.config.ts, scaffolds a starter contract and db.ts under src/prisma/, installs the runtime, emits the contract, and registers the agent skills. It does not touch your framework or build setup.

3. Use your AI agent for everything Prisma Next

Both installers leave a top-level prisma-next.md primer at your project root for any agent to read first. prisma-next@latest init additionally materialises one SKILL.md per workflow in two places, so different agent runtimes can find them at their expected paths:

  • .claude/skills/<skill-name>/SKILL.md — picked up by Claude Code

  • .agents/skills/<skill-name>/SKILL.md — universal location for Cursor, Copilot Agent, and other runtimes

A skills-lock.json at the project root tracks which skill versions are installed. Your editor's AI assistant auto-loads the right skill when your prompt matches.

Just describe what you want. For example:

"Add a posts model with a relation to users, then write a query that loads each user's three most recent posts."

The agent loads the prisma-8 skill, opens its contract and queries references, then drives the change end-to-end.

For the full catalogue and what each skill covers, see skills/README.md.

Found a bug, missing a feature, or have a question for the team?

Ask your agent. The prisma-8 skill's feedback flow drafts a structured GitHub issue or hands you a Prisma Discord link for live Q&A. You can review and confirm before anything is submitted.

For extension authors

Prisma Next has a minimal core. Everything around it, including Postgres support itself, is built on the same public SPI that's available to any author. If you've wanted to integrate your tool, your database, or your library with Prisma, this is the way in.

A few extensions already shipping:

  • @internal/extension-pgvector: vector columns and similarity operators for semantic search.

  • @internal/extension-paradedb: typed BM25 indexes with multiple tokenizers for full-text search.

  • @internal/extension-postgis: geospatial types and queries.

  • @cipherstash/prisma-next: searchable encryption and data-level access control.

Want to ship your own? The Authoring Prisma Next Extensions blog walks through the SPI, the layers your extension can hook into, and how the team features new extensions in the Prisma Next directory.

Supported databases

Prisma 8 carries PostgreSQL to general availability — and that is all at this stage:

  • PostgreSQL — the primary target; general availability at Prisma 8

  • MongoDB — early access; proves the framework works beyond SQL

  • SQLite — a proof of concept today

MySQL follows later. See the roadmap for what must happen before the 8.0.0-rc.1 release.

Contributing

See CONTRIBUTING.md for setup, commands, DCO signoff, and PR expectations. For substantive changes, please open an issue first so we can give direction-fit feedback before you invest implementation time.

Security issues: follow the Private Vulnerability Reporting flow in SECURITY.md. Please do not file them as public issues.

Community

Built something with Prisma Next? Tag @prisma on X. The best community builds get a shout-out and a link here.

License

Apache 2.0. See LICENSE.

A
license - permissive license
-
quality - not tested
A
maintenance

Maintenance

Maintainers
13dResponse time
2wRelease cycle
28Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Provides AI-driven PostgreSQL database management with secure OAuth 2.1 authentication, enabling users to administer, monitor, and query databases with support for extensions like pgvector, PostGIS, and pg_cron.
    Last updated
    199
  • A
    license
    A
    quality
    C
    maintenance
    Database management — connect, query, describe schemas, run migrations, and monitor active queries across PostgreSQL, MySQL, and SQLite.
    Last updated
    15
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Enables provisioning and managing PostgreSQL databases, running SQL queries, and evolving schemas with tracked migrations, with automatic account creation and no configuration needed.
    Last updated
    16
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for managing Prisma Postgres.

  • Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…

  • Comprehensive PostgreSQL documentation and best practices, including ecosystem tools

View all MCP Connectors

Appeared in Searches

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server