From 825020223ef8c8dbc467541d21b3116d550ceb6e Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:00:22 +0200 Subject: [PATCH 1/3] docs(mcp): document search_prisma_documentation tool Adds the new `search_prisma_documentation` tool to the Prisma MCP server docs: a read-only tool that answers natural-language Prisma questions grounded in the official documentation with citations. Public-facing behavior only. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/docs/content/docs/ai/tools/mcp-server.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/docs/content/docs/ai/tools/mcp-server.mdx b/apps/docs/content/docs/ai/tools/mcp-server.mdx index da9892a819..feb5d25684 100644 --- a/apps/docs/content/docs/ai/tools/mcp-server.mdx +++ b/apps/docs/content/docs/ai/tools/mcp-server.mdx @@ -27,9 +27,16 @@ Prisma provides an MCP server that lets AI tools manage Prisma Postgres database - `ListDatabasesTool`: Fetch a list of available Prisma Postgres Databases for user's workspace. - `ExecuteSqlQueryTool`: Execute a SQL query on a Prisma Postgres database with the given id. - `IntrospectSchemaTool`: Introspect the schema of a Prisma Postgres database with the given id. +- `search_prisma_documentation`: Answer a natural-language question about Prisma using the official Prisma documentation, returning a cited answer with links back to the docs. Once you're connected to the Prisma MCP server, you can also always prompt your AI agent to "List the Prisma tools" to get a full overview of the latest supported tools. +### Searching the Prisma documentation + +The `search_prisma_documentation` tool lets your AI agent answer questions about Prisma Postgres, Prisma ORM, Accelerate, Optimize, Prisma Compute, schema design, migrations, and more, grounded in the official documentation, without leaving your editor or terminal. + +Because it's read-only and exposed by the Prisma MCP server you're already connected to, there's no extra setup or second integration to install. When you ask your agent a Prisma question, it picks up the tool automatically and returns an answer with citations linking back to the relevant pages on [prisma.io/docs](https://www.prisma.io/docs). This keeps the agent's answers current and accurate instead of relying on whatever it happened to learn during training. + ## Usage The Prisma MCP server follows the standard JSON-based configuration for MCP servers. Here's what it looks like: @@ -51,6 +58,7 @@ The Prisma MCP server follows the standard JSON-based configuration for MCP serv - "Seed my database with real-looking data but create a backup beforehand." - "Show me all available backups of my database." - "Show me all customers and run an analysis over their orders." +- "Search the Prisma docs and explain how connection pooling works on Prisma Postgres." ## Integrating in AI tools From 5e76916594542323e38f8ee57ef410a074efe35a Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:01:40 +0200 Subject: [PATCH 2/3] docs(mcp): focus search docs tool on ORM/Compute/Postgres, fix docs link Drops Accelerate/Optimize from the product list and points the docs citation link at the relative root (/) instead of an absolute URL. Co-Authored-By: Claude Opus 4.8 (1M context) --- apps/docs/content/docs/ai/tools/mcp-server.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/docs/content/docs/ai/tools/mcp-server.mdx b/apps/docs/content/docs/ai/tools/mcp-server.mdx index feb5d25684..a24c409ebd 100644 --- a/apps/docs/content/docs/ai/tools/mcp-server.mdx +++ b/apps/docs/content/docs/ai/tools/mcp-server.mdx @@ -33,9 +33,9 @@ Once you're connected to the Prisma MCP server, you can also always prompt your ### Searching the Prisma documentation -The `search_prisma_documentation` tool lets your AI agent answer questions about Prisma Postgres, Prisma ORM, Accelerate, Optimize, Prisma Compute, schema design, migrations, and more, grounded in the official documentation, without leaving your editor or terminal. +The `search_prisma_documentation` tool lets your AI agent answer questions about Prisma ORM, Prisma Postgres, Prisma Compute, schema design, migrations, and more, grounded in the official documentation, without leaving your editor or terminal. -Because it's read-only and exposed by the Prisma MCP server you're already connected to, there's no extra setup or second integration to install. When you ask your agent a Prisma question, it picks up the tool automatically and returns an answer with citations linking back to the relevant pages on [prisma.io/docs](https://www.prisma.io/docs). This keeps the agent's answers current and accurate instead of relying on whatever it happened to learn during training. +Because it's read-only and exposed by the Prisma MCP server you're already connected to, there's no extra setup or second integration to install. When you ask your agent a Prisma question, it picks up the tool automatically and returns an answer with citations linking back to the relevant pages in the [Prisma documentation](/). This keeps the agent's answers current and accurate instead of relying on whatever it happened to learn during training. ## Usage From 7b983ba68c36f4662b28ec76f3af5200fbac4d20 Mon Sep 17 00:00:00 2001 From: Ankur Datta <64993082+ankur-arch@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:12:29 +0200 Subject: [PATCH 3/3] Update apps/docs/content/docs/ai/tools/mcp-server.mdx --- apps/docs/content/docs/ai/tools/mcp-server.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/ai/tools/mcp-server.mdx b/apps/docs/content/docs/ai/tools/mcp-server.mdx index a24c409ebd..c7faae9a95 100644 --- a/apps/docs/content/docs/ai/tools/mcp-server.mdx +++ b/apps/docs/content/docs/ai/tools/mcp-server.mdx @@ -58,7 +58,7 @@ The Prisma MCP server follows the standard JSON-based configuration for MCP serv - "Seed my database with real-looking data but create a backup beforehand." - "Show me all available backups of my database." - "Show me all customers and run an analysis over their orders." -- "Search the Prisma docs and explain how connection pooling works on Prisma Postgres." +- "Search the Prisma docs and explain how to deploy a project to Prisma Compute." ## Integrating in AI tools