Prismic MCP Server
Last updated
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 manages models and settings.
Prismic MCP is on for every repository unless a repository Administrator or Owner deactivates it. The setting applies to everyone with access to the repository.
Environments 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
Open the Prismic connector
Open the Prismic connector listing in Claude.
Connect Prismic
Click the connect button to add Prismic to Claude.
Sign in to Prismic
Claude asks you to sign in to your Prismic account. Authorize the connection to finish.
In 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.
claude mcp add --transport http --scope user prismic https://mcp.prismic.io/mcpThen, in Claude Code, run /mcp, select prismic, then Authenticate.
Open the Prismic plugin
Open the Prismic plugin listing in ChatGPT.
Install the plugin
Click the plus button to install Prismic.
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: in a terminal, run the following command. The server works in every project, and in the Codex app and IDE extension.
codex mcp add prismic --url https://mcp.prismic.io/mcpCodex opens your browser to sign in to Prismic. If you close it first, run codex mcp login prismic.
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.
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.jsonfile in your project and commit it.Add the Prismic MCP server
Add Prismic to the
mcpServersobject:mcp.json{ "mcpServers": { "Prismic": { "url": "https://mcp.prismic.io/mcp" } } }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.
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.
https://mcp.prismic.io/mcp- GitHub Copilot appAdd Prismic as a custom HTTP server in the MCP servers settings.
- Copilot CLIAdd Prismic as an HTTP server with the copilot mcp add command.
- Copilot cloud agentAdd Prismic to your repository's MCP configuration with a machine user token.
- VS CodeAdd Prismic as an HTTP server with the MCP: Add Server command.
- LangdockAdd Prismic as an integration with Connect remote MCP.
- Vercel ConnectUse 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
The MCP server can be used in scripts, CI workflows, and AI agents. You may use a machine user token to authenticate non-interactive environments like GitHub Actions.
Learn how to create a machine user
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.
Example prompts
You can use the following prompts once connected to Prismic.
Explore your content
What repositories do I have access to in Prismic?Show me the content types and locales configured in my-website.Search and read
Find all blog posts about product updates in my-website.Show me the content of the homepage.Which pages use our old logo image?Which published pages are missing an SEO description?Create and edit content
Create a new blog post about our latest feature release.On all blog posts about ABM, update the CTA card to promote our new feature.
Make each one relevant to the article.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
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
What does the spring campaign release change compared to the live site?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
Upload these product photos to my-website and tag them "spring-campaign".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 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, 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:
- Visit
https://prismic-auth.eu.auth0.com/v2/logoutto sign out of Prismic’s authentication server. - In your AI assistant, remove the Prismic connector and add it again.
- 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. |
Apps
Assistants that support MCP Apps, 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. |