[Home](/index.md) › [MCP servers](/mcp.md) › Prisma MCP server

# Prisma MCP server

MCP server

- 28 callable tools
- 6 capabilities

[Installation guide](https://www.prisma.io/docs/ai/tools/mcp-server)

## Overview

Prisma publishes a hosted MCP server that lets AI tools manage Prisma Postgres databases, Prisma Compute deployments and Object Storage buckets. It is reached at a single remote endpoint and signs in with a Prisma account.

### Capabilities

- Create, list and delete Prisma Postgres databases and their connection strings
- Restore Prisma Postgres backups into new databases
- Manage Object Storage buckets and their access keys
- List Compute apps, builds and deployments and read runtime logs
- Start, stop, promote, roll back and delete Compute deployments
- Search the official Prisma documentation

## Works with

The products your agent can work with through this server.

- [Prisma Postgres](/tools/prisma-postgres.md): Serverless PostgreSQL database

## Tools

The callable functions your agent uses to work with this server.

### `fetch_workspace_details`

Fetch the details of a Prisma Postgres workspace.

### `list_prisma_postgres_databases`

Fetch a list of available Prisma Postgres databases for the user's workspace.

### `create_prisma_postgres_database`

Create a managed Prisma Postgres database and a new project.

### `delete_prisma_postgres_database`

Permanently delete a Prisma Postgres database by ID.

### `list_prisma_postgres_connection_strings`

Fetch a list of available connection strings for the given database id.

### `create_prisma_postgres_connection_string`

Create a new connection string for a Prisma Postgres database with the given id.

### `delete_prisma_postgres_connection_string`

Delete a connection string with the given connection string id.

### `list_prisma_postgres_backups`

List available automated backups for a Prisma Postgres database.

### `create_prisma_postgres_recovery`

Restore a Prisma Postgres database to a new database with the given backup id.

### `list_object_store_buckets`

List object-store buckets in the workspace, optionally filtered by project id.

### `create_object_store_bucket`

Create a new object-store bucket in the given project.

### `delete_object_store_bucket`

Permanently delete an object-store bucket, all objects stored in it, and all its access keys.

### `create_object_store_bucket_key`

Create an S3-compatible access key for an object-store bucket.

### `delete_object_store_bucket_key`

Delete an object-store bucket access key.

### `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.

### `list_prisma_compute_apps`

List Prisma Compute apps in the selected workspace, optionally filtered by project.

### `list_prisma_compute_builds`

List builds, newest first, with optional project, branch, and state filters.

### `list_prisma_compute_deployments`

List deployments for a Prisma Compute app, newest first.

### `get_prisma_compute_deployment_logs`

Read runtime logs for a deployment, one page at a time.

### `promote_prisma_compute_deployment`

Make a running deployment the live version of an app.

### `rollback_prisma_compute_app`

Make an existing deployment live, starting it first if it is stopped.

### `start_prisma_compute_deployment`

Start an existing deployment from an already uploaded build.

### `stop_prisma_compute_deployment`

Stop a deployment, disconnecting it from the app's public URL if it is the live version.

### `delete_prisma_compute_deployment`

Permanently delete a deployment, stopping it first if needed.

### `delete_prisma_compute_app`

Permanently delete an app.

### `set_prisma_compute_env_var`

Set an environment variable for a project's production or preview environment, or override it for one preview branch.

### `delete_prisma_compute_env_var`

Permanently delete an environment variable by ID.

### `get_prisma_composer_topology`

Show the saved connections between a project's Composer services and resources, with Console links and stored app URLs.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add Prisma MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http prisma https://mcp.prisma.io/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add Prisma MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=prisma&config=eyJ1cmwiOiJodHRwczovL21jcC5wcmlzbWEuaW8vbWNwIn0%3D)

```json
{
  "mcpServers": {
    "prisma": {
      "url": "https://mcp.prisma.io/mcp"
    }
  }
}
```

### Add Prisma MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "prisma": {
      "type": "http",
      "url": "https://mcp.prisma.io/mcp"
    }
  }
}
```

### Add Prisma MCP server to Codex

Run this in your terminal:

```sh
codex mcp add prisma --url https://mcp.prisma.io/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.prisma]
url = "https://mcp.prisma.io/mcp"
```

If the server uses OAuth, sign in with `codex mcp login prisma`.

### Add Prisma MCP server to Claude

Add it as a custom connector with this URL:

```
https://mcp.prisma.io/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add Prisma MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://mcp.prisma.io/mcp
```

[Read the installation guide](https://www.prisma.io/docs/ai/tools/mcp-server)

## Sources

Documentation and source code reviewed on 19 November 2026.

- [prisma.io/docs/ai/tools/mcp-server](https://www.prisma.io/docs/ai/tools/mcp-server)
- [prisma.io/docs/ai/mcp-tools](https://www.prisma.io/docs/ai/mcp-tools)
- [prisma.io/docs/postgres](https://www.prisma.io/docs/postgres)
- [prisma.io/docs/compute](https://www.prisma.io/docs/compute)
- [prisma.io/docs/storage](https://www.prisma.io/docs/storage)
- [prisma.io/docs/ai/tools/chatgpt](https://www.prisma.io/docs/ai/tools/chatgpt)
