diff --git a/apps/docs/content/docs/ai/tools/mcp-server.mdx b/apps/docs/content/docs/ai/tools/mcp-server.mdx index da9892a819..c7faae9a95 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 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 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 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 to deploy a project to Prisma Compute." ## Integrating in AI tools