---
title: "Prismic MCP Server"
description: "Create and publish Prismic content from AI assistants like Claude and ChatGPT, or coding agents like Claude Code, Codex, and Cursor."
category: "use-prismic"
lastUpdated: "2026-11-24T10:52:11.000Z"
---

The Prismic MCP server lets AI assistants work directly with your Prismic content. You can search documents, read and create content, upload assets, manage releases, and publish them from a conversation with Claude or ChatGPT.

Coding agents like Claude Code, Codex, and Cursor use it to write content, while the [Prismic CLI](https://prismic.io/docs/cli.md) manages models and settings.

Prismic MCP is on for every repository unless a repository Administrator or Owner [deactivates it](#deactivate-prismic-mcp). The setting applies to everyone with access to the repository.

[Environments](https://prismic.io/docs/environments.md) have their own setting, and a new environment takes a few minutes to get ready. If Prismic MCP is off on your production repository, new environments start with it off too.

# Connect to the MCP server

* **Claude:**

  1. **Open the Prismic connector**

     Open the [Prismic connector listing](https://claude.ai/customize/connectors/id/4b1276ea-658e-436e-92da-3716e6b2c922) in Claude.

  2. **Connect Prismic**

     Click the connect button to add Prismic to Claude.

  3. **Sign in to Prismic**

     Claude asks you to sign in to your Prismic account. Authorize the connection to finish.

  **In [Claude Code](https://claude.com/product/claude-code)**: in a terminal, run the following command. `--scope user` adds the server to every project. To share it with your team, use `--scope project`, which writes a `.mcp.json` file you can commit.

  ```sh
  claude mcp add --transport http --scope user prismic https://mcp.prismic.io/mcp
  ```

  Then, in Claude Code, run `/mcp`, select **prismic**, then **Authenticate**.

* **ChatGPT:**

  > **Important**
  >
  > ChatGPT plugins require a paid plan, such as **Plus**, **Pro**, **Business**, **Enterprise**, or **Edu**. In a workspace, your admin controls which plugins are available.

  1. **Open the Prismic plugin**

     Open the [Prismic plugin listing](https://chatgpt.com/plugins/plugin_asdk_app_69fb38b9480c81919e16addf9dc1ce64) in ChatGPT.

  2. **Install the plugin**

     Click the plus button to install Prismic.

  3. **Sign in to Prismic**

     ChatGPT asks you to connect your Prismic account, either during the install or the first time you use the plugin. Authorize the connection to finish.

  Once installed, start a new chat and ask ChatGPT to use Prismic, or type `@Prismic` to call it directly.

  **In [Codex](https://openai.com/codex/)**: in a terminal, run the following command. The server works in every project, and in the Codex app and IDE extension.

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

  Codex opens your browser to sign in to Prismic. If you close it first, run `codex mcp login prismic`.

* **Cursor:**

  1. **Open MCP settings**

     In Cursor, open **Cursor Settings** and go to **Tools & MCPs**. You can also click **Customize** on Cursor's main screen and select **MCP**.

  2. **Create a new server**

     Click **New MCP Server**. Cursor opens `~/.cursor/mcp.json`, which makes the server available in every project.

     To share the server with your team instead, create a `.cursor/mcp.json` file in your project and commit it.

  3. **Add the Prismic MCP server**

     Add Prismic to the `mcpServers` object:

     ```json filename=mcp.json
     {
       "mcpServers": {
         "Prismic": {
           "url": "https://mcp.prismic.io/mcp"
         }
       }
     }
     ```

  4. **Sign in to Prismic**

     Save the file. Prismic appears in **Tools & MCPs** marked **Needs authentication**. Click it and authorize the connection in your browser. Cursor then lists the Prismic tools.

* **Others:**

  Prismic works with any MCP client that supports remote servers. Follow your tool's setup guide, add a server with the following URL, and sign in to Prismic when prompted.

  ```plain
  https://mcp.prismic.io/mcp
  ```

  * [GitHub Copilot app](https://docs.github.com/en/copilot/how-tos/github-copilot-app/customize-github-copilot-app#configuring-mcp-servers): Add Prismic as a custom HTTP server in the MCP servers settings.
  * [Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers#using-the-copilot-mcp-add-subcommand): Add Prismic as an HTTP server with the copilot mcp add command.
  * [Copilot cloud agent](https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/configure-mcp-servers): Add Prismic to your repository's MCP configuration with a machine user token.
  * [VS Code](https://code.visualstudio.com/docs/agent-customization/mcp-servers#_add-an-mcp-server): Add Prismic as an HTTP server with the MCP: Add Server command.
  * [Langdock](https://docs.langdock.com/en/using-langdock/guides/integrations/mcp/mcp#getting-started): Add Prismic as an integration with Connect remote MCP.
  * [Vercel Connect](https://prismic.io/docs/ai.md#use-the-mcp-server-in-your-app): Use Prismic in your app on behalf of its users.

# Authentication

Most of the setups above sign you in as part of the connection flow. If yours didn't, your AI assistant prompts you the first time it calls a Prismic tool: click the authentication button, sign in on Prismic's login page, and authorize the connection.

Either way, you only sign in once. The MCP server uses your Prismic identity, so you only have access to repositories your account can access.

## Authenticate in non-interactive environments

> **Important**
>
> Support for non-interactive environments is enabled per repository. [Contact us](mailto:sales@prismic.io) to enable it on yours.

The MCP server can be used in scripts, CI workflows, and AI agents. You may use a [machine user token](https://prismic.io/docs/users.md#machine-users) to authenticate non-interactive environments like GitHub Actions.

[Learn how to create a machine user](https://prismic.io/docs/users.md#machine-users)

Then, add an MCP server with these two values:

* Server: `https://mcp.prismic.io/mcp`
* Header: `Authorization: Bearer <token>`

The token only gives access to its repository, with the machine user's role.

> **Caution**
>
> Keep the token secret. Do not commit it or put it in client-side code.

# Example prompts

You can use the following prompts once connected to Prismic.

## Explore your content

```md filename=Prompt
What repositories do I have access to in Prismic?
```

```md filename=Prompt
Show me the content types and locales configured in my-website.
```

## Search and read

```md filename=Prompt
Find all blog posts about product updates in my-website.
```

```md filename=Prompt
Show me the content of the homepage.
```

```md filename=Prompt
Which pages use our old logo image?
```

```md filename=Prompt
Which published pages are missing an SEO description?
```

## Create and edit content

```md filename=Prompt
Create a new blog post about our latest feature release.
```

```md filename=Prompt
On all blog posts about ABM, update the CTA card to promote our new feature.
Make each one relevant to the article.
```

```md filename=Prompt
Rewrite the hero description on the pricing page to be more concise.
```

The AI assistant reads the document, proposes changes, and saves everything to a release in Prismic for you to review.

## Publish a release

```md filename=Prompt
Publish the release you just created for the homepage updates.
```

The AI assistant can't unpublish or undo a publish. Ask for it explicitly after reviewing the staged changes. Your account needs a Publisher (Manager) role.

## Review and clean up a release

```md filename=Prompt
What does the spring campaign release change compared to the live site?
```

```md filename=Prompt
Remove the pricing page from the spring campaign release.
```

The AI assistant asks you to confirm before it removes a document from a release or deletes a release that has changes. Published pages stay live. Your account needs a Publisher (Manager) role.

## Manage assets

```md filename=Prompt
Upload these product photos to my-website and tag them "spring-campaign".
```

```md filename=Prompt
Add alt text and credits to the team photos in the asset library.
```

New alt text applies the next time an image is used. Pages that already use it keep their own alt text until you edit them.

# Deactivate Prismic MCP

Repository [Administrators and Owners](https://prismic.io/docs/users.md#repository-roles) can deactivate Prismic MCP in **Settings** > **Prismic MCP**. Prismic tools stop working on the repository immediately. If **Prismic MCP** doesn't appear in your settings, ask an Administrator.

To turn it back on, click **Activate** in the same place.

# Troubleshooting

## Prismic MCP is not activated

If your AI assistant says Prismic MCP is not activated for a repository, it is off there. Ask a repository Administrator to [turn it on](#deactivate-prismic-mcp), then try your request again.

## Prismic MCP is activating

If your AI assistant says Prismic MCP is activating for a repository, Prismic is still preparing its content. Wait a few minutes, then try your request again.

## The connector isn't working

If the Prismic connector stops working — for example, tools fail with authentication errors, or it stops responding after working previously — and removing and re-adding it doesn't fix the problem, your Prismic authentication session may be stuck. Your AI assistant reuses that session each time you reconnect, so the bad state persists.

To reset it:

1. Visit [`https://prismic-auth.eu.auth0.com/v2/logout`](https://prismic-auth.eu.auth0.com/v2/logout) to sign out of Prismic's authentication server.
2. In your AI assistant, remove the Prismic connector and add it again.
3. Sign in when prompted.

# Available tools

The MCP server exposes the following tools. Your AI assistant calls these automatically based on your prompts.

## Discovery

| Tool                     | Description                                                                                        |
| ------------------------ | -------------------------------------------------------------------------------------------------- |
| `list_asset_tags`        | List the tags used in the asset library, with how many assets carry each.                          |
| `list_custom_types`      | List all custom types (content models) in a repository with their id, label, and format.           |
| `list_document_versions` | List every version of a document, including drafts, published, archived, and release versions.     |
| `list_locales`           | List all locales configured in a repository.                                                       |
| `list_releases`          | List all releases in a repository, newest first.                                                   |
| `list_repositories`      | List all Prismic repositories you have access to. Called first to discover available repositories. |
| `list_shared_slices`     | List all shared slices in a repository with their variation names.                                 |

## Read

| Tool                  | Description                                                                                                                                                                                                                 |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `diff_documents`      | Compare two versions of a document, or two documents like the translations of a page, field by field.                                                                                                                       |
| `diff_release`        | List every document in a release and what it changes compared to the published content.                                                                                                                                     |
| `get_custom_type`     | Fetch a custom type's full field model and an empty content template for creating documents.                                                                                                                                |
| `get_document`        | Fetch a document's metadata and full content. Supports reading from a specific version or release.                                                                                                                          |
| `get_documents`       | Fetch several documents at once, with their metadata and only the fields you need. Supports reading from a release.                                                                                                         |
| `get_field_shapes`    | Fetch an example of filled content for each field type, so content is written in the format Prismic expects.                                                                                                                |
| `get_shared_slice`    | Fetch a shared slice's full model with all variations and ready-to-use empty variation bodies.                                                                                                                              |
| `list_content_checks` | List published pages with content gaps: missing SEO fields or share images, SEO text of the wrong length, missing translations, and broken links.                                                                           |
| `query_documents`     | Find every document that matches filters like custom type, locale, status, release, tags, dates, and field values. Returns all matches.                                                                                     |
| `search_assets`       | Search the asset library by keyword. A single query matches against filename, alt text, notes, and credits. Returns previews.                                                                                               |
| `search_documents`    | Search documents by keywords with optional filters for custom type, locale, status, and tags. Returns metadata, not full content.                                                                                           |
| `suggest_next_steps`  | **Internal**. After a release is presented or published, shows the next-steps card with a few tasks to try next. Click one to start it. The card needs an assistant that supports MCP Apps, and uses `app_track_next_step`. |

## Write

| Tool                | Description                                                                                                                                                                                                                                                                                                                     |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `archive_documents` | Remove a document's changes from a release. Its published page stays live. A document that exists only in the release moves to Archived. Requires a Publisher (Manager) role.                                                                                                                                                   |
| `create_document`   | Create a new document inside a release. Missing fields are filled with model defaults.                                                                                                                                                                                                                                          |
| `create_release`    | Create a new empty release. Returns its id for use with `create_document` and `update_documents`.                                                                                                                                                                                                                               |
| `delete_releases`   | Delete a release. Its changes move to Archived and published pages stay live. Requires a Publisher (Manager) role. Irreversible.                                                                                                                                                                                                |
| `present_release`   | Present a release for your review once your assistant has finished writing to it, with its documents and preview links. Does not publish it. In assistants that support MCP Apps, it also shows the release card, which uses `app_get_release_publication` and `app_confirm_publish_release` so you can publish with one click. |
| `publish_release`   | Publish a pending release, making all of its documents live. Requires a Publisher (Manager) role. Irreversible.                                                                                                                                                                                                                 |
| `replace_document`  | Replace a document's entire content in a release. Fields left out are cleared.                                                                                                                                                                                                                                                  |
| `submit_feedback`   | Send feedback about the Prismic MCP server to the Prismic team. Your assistant asks for your approval first.                                                                                                                                                                                                                    |
| `update_asset_tags` | Add or remove tags on assets in the asset library.                                                                                                                                                                                                                                                                              |
| `update_assets`     | Edit the alt text, credits, or private notes of assets in the asset library.                                                                                                                                                                                                                                                    |
| `update_document`   | **Deprecated.** Use `update_documents`, which edits one or more documents in a single call.                                                                                                                                                                                                                                     |
| `update_documents`  | Edit specific fields of one or more documents in a release. Content you don't change is kept.                                                                                                                                                                                                                                   |
| `update_release`    | Rename a pending release. A scheduled release keeps its schedule.                                                                                                                                                                                                                                                               |
| `upload_asset`      | Fetch an asset from a URL and upload it to the repository's asset library. Returns the Prismic CDN url for use in documents.                                                                                                                                                                                                    |
| `upload_assets`     | Upload several assets from URLs to the asset library in one call, with optional alt text, credits, and tags.                                                                                                                                                                                                                    |

> Document edits are saved to a [release](https://prismic.io/docs/releases.md), not published. Prefer reviewing staged changes and publishing from the Prismic dashboard. `publish_release` or `app_confirm_publish_release` (when the app is supported) is available when you explicitly ask your assistant to publish. Migration releases cannot be published via MCP. Other write tools apply right away: asset uploads and edits change the asset library, and renaming, archiving, and deleting change the release directly.

## Apps

Assistants that support [MCP Apps](https://apps.extensions.modelcontextprotocol.io/api/documents/overview.html), like Claude and ChatGPT, show interactive UI in the chat. The UI calls these tools, not your assistant. Other assistants show the same information as text.

| Tool                          | Description                                                                                                                                                  |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `app_confirm_publish_release` | **Write**. Publishes the release when you click Publish in the release card from `present_release`. Requires a Publisher (Manager) role.                     |
| `app_get_release_publication` | **Read**. Used internally with `app_confirm_publish_release` to show the release's current state in the release card from `present_release`.                 |
| `app_track_next_step`         | **Read**. Sends analytics about the next-steps card from `suggest_next_steps`: when it's shown and which task you click. Changes nothing in your repository. |
