Back to Prisma

Prisma MCP

packages/cli/src/mcp/README.md

7.9.0-dev.4648 B
Original Source

Prisma MCP

MCP or Model Context Protocol allows the Prisma ORM to wrap CLI commands into workflows that work well with LLMs and AI code editors.

Using Prisma MCP

The Prisma ORM and CLI uses a locally run MCP server that wraps CLI commands like prisma migrate or prisma db and require local file access to run during development.

A list of MCP tools are in ./MCP.ts.

Starting The Server

Start the local CLI MCP server using npx prisma mcp or follow the docs to add the local MCP Server to your code editor, LLM, or Agent.