From 2409912c3b4fbcc35a4a895a4d36c2c727e80158 Mon Sep 17 00:00:00 2001 From: Mike Hartington Date: Mon, 20 Apr 2026 11:29:45 -0400 Subject: [PATCH 1/2] feat(docs): add cursor plugin link --- apps/docs/content/docs/ai/tools/cursor.mdx | 21 ++++++++++++++++++++- apps/docs/src/mdx-components.tsx | 2 ++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/docs/ai/tools/cursor.mdx b/apps/docs/content/docs/ai/tools/cursor.mdx index 9a81fe9cbb..673b623f57 100644 --- a/apps/docs/content/docs/ai/tools/cursor.mdx +++ b/apps/docs/content/docs/ai/tools/cursor.mdx @@ -20,18 +20,37 @@ 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 Prism MCP server, various skills for working with Prisma ORM and Prisma Postgres, and automation for database development + + + ## 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: + + 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. diff --git a/apps/docs/src/mdx-components.tsx b/apps/docs/src/mdx-components.tsx index ae586a68f9..b7d586bef7 100644 --- a/apps/docs/src/mdx-components.tsx +++ b/apps/docs/src/mdx-components.tsx @@ -30,6 +30,7 @@ import { TableCaption, Input, Alert, + Button } from "@prisma/eclipse"; function withDocsBasePathForImageSrc(src: unknown): unknown { @@ -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, From b454d0bf23f2257485fd0382bcb42c49b61fd2b9 Mon Sep 17 00:00:00 2001 From: Mike Hartington Date: Mon, 20 Apr 2026 14:21:18 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- apps/docs/content/docs/ai/tools/cursor.mdx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/docs/content/docs/ai/tools/cursor.mdx b/apps/docs/content/docs/ai/tools/cursor.mdx index 673b623f57..e67dd9a1dc 100644 --- a/apps/docs/content/docs/ai/tools/cursor.mdx +++ b/apps/docs/content/docs/ai/tools/cursor.mdx @@ -22,18 +22,17 @@ 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 Prism MCP server, various skills for working with Prisma ORM and Prisma Postgres, and automation for database development +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. ## Prisma MCP server