Skip to main content
Prisma Documentation Docs

Search documentation

Type to search this documentation.

On this pageOverview

ChatGPT (/docs/ai/tools/chatgpt)

For the complete Prisma documentation index, see llms.txt. A markdown version of any docs page is available by appending .md to its URL.

Learn how to add the Prisma MCP server to ChatGPT to manage your databases and Compute deployments.

Location: AI > AI Tools > ChatGPT

Connect ChatGPT to the Prisma MCP server to manage Prisma Postgres databases, Prisma Compute deployments, and Object Storage.

This guide explains how to add the Prisma MCP server to ChatGPT and use it through natural language prompts.

With the Prisma MCP server connected, you can manage resources in your selected workspace from the chat interface. The server supports:

  • Database management: Create, list, and delete your Prisma Postgres databases.
  • Connection strings: Generate, list, and revoke database connection strings.
  • Backup and recovery: List automated database backups and restore a backup into a new database.
  • Schema and data interaction: Execute SQL queries and introspect your database schema to understand its structure.
  • Workspace information: Fetch details about your Prisma workspace.
  • Compute deployments: List apps and builds, read runtime logs, manage existing deployments, and set environment variables.
  • Composer projects: Inspect how your services connect and get links to the project and apps in Prisma Console.
  • Object Storage: Create, list, and delete buckets, and manage bucket access keys.

See the full tool list and sample prompts.

  1. Open ChatGPT and go to Settings.
  2. Select Security and login and turn on Developer mode.
  1. Open [ChatGPT Plugins](https://chatgpt.com/plugins) and select the **+** button.
  2. Enter https://mcp.prisma.io/mcp as the MCP server URL, name the connection Prisma, and select OAuth authentication.
  3. Complete the connection prompts. When asked to authorize access, sign in with Prisma, select a workspace, and approve access.
  4. Finish creating the plugin. It should appear in your personal plugins.

These steps follow OpenAI's plugin setup guide. If your ChatGPT interface differs, use that guide for the current navigation.

  1. Open Prisma in [your personal plugins](https://chatgpt.com/plugins?view=personal) and select **+** to install it.
  2. Return to ChatGPT, switch from Chat to Work, and start a new chat.
  3. Type @, select Prisma, and ask: "List the databases in my Prisma workspace."

ChatGPT should call the database-list tool and return the databases in the workspace you selected, or an empty list if it has none.

Review the workspace and target resources before approving changes. Some tools can permanently delete data or stop a live deployment.

  • Agent Skills: Give your AI coding agent up-to-date Prisma knowledge with installable skills
  • Codex: Learn how to install the Prisma Codex plugin and use Prisma MCP from Codex
  • Cursor: Learn tips and best practices for using Prisma ORM with the Cursor AI code editor
  • GitHub Copilot: Learn about the features available with GitHub Copilot and Prisma ORM, plus best practices and tips
  • MCP server: Manage Prisma Postgres databases, Prisma Compute deployments, and Object Storage with the Prisma MCP server.
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu