Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion apps/docs/content/docs/ai/tools/cursor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,36 @@ While this guide is focused on Cursor, these patterns should work with any AI ed

:::

## Prisma Plugin

The [Prisma plugin for Cursor](https://cursor.com/marketplace/prisma) provides integration with the Prisma MCP server, various skills for working with Prisma ORM and Prisma Postgres, and automation for database development.

<Button asChild variant="ppg" className="w-fit mx-0">
<a
href="https://cursor.com/marketplace/prisma"
target="_blank"
rel="noopener noreferrer"
aria-label="Install Prisma Plugin for Cursor"
>
Install the Prisma plugin for Cursor
</a>
</Button>
Comment thread
mhartington marked this conversation as resolved.

## Prisma MCP server

Prisma provides its own [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that lets you manage Prisma Postgres databases, model database schemas and chat through migrations. Learn more about how you can add it to Cursor [here](/ai/tools/mcp-server#cursor). You can also add the Prisma MCP server to Cursor using the [one-click installation](https://docs.cursor.com/context/model-context-protocol#one-click-installation) by clicking on the following link:

<Button asChild variant="ppg" className="w-fit mx-0">
<a
href="https://pris.ly/cursor-prisma-mcp-web"
target="_blank"
rel="noopener noreferrer"
aria-label="Install Prisma MCP server in Cursor"
>
<img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Install MCP Server" />
Install MCP Server
</a>
</Button>


This will prompt you to open the Cursor app in your browser. Once opened, you'll be guided to install the Prisma MCP server directly into your Cursor configuration.

Expand Down
2 changes: 2 additions & 0 deletions apps/docs/src/mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {
TableCaption,
Input,
Alert,
Button
} from "@prisma/eclipse";

function withDocsBasePathForImageSrc(src: unknown): unknown {
Expand All @@ -53,6 +54,7 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
TabsTrigger,
...components,
// Eclipse CodeBlock tab components - globally available for code blocks
Button,
CodeBlockTabs,
CodeBlockTabsList,
CodeBlockTabsTrigger,
Expand Down
Loading