diff --git a/apps/docs/content/docs/ai/tools/cursor.mdx b/apps/docs/content/docs/ai/tools/cursor.mdx index 9a81fe9cbb..e67dd9a1dc 100644 --- a/apps/docs/content/docs/ai/tools/cursor.mdx +++ b/apps/docs/content/docs/ai/tools/cursor.mdx @@ -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. + + + ## 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,