How to integrate Prismic MCP with Codex

Connect Codex to Prismic MCP. Find all blog posts tagged 'launch', get latest articles ordered by publish date, and more using natural language, with authentication handled for you.

Prismic logoPrismic
Api Key

Prismic is a headless CMS for managing, editing, and delivering content across digital platforms. It empowers teams to update websites and apps instantly, without developer bottlenecks.

5 Tools

Introduction

Codex is one of the most popular coding harnesses out there. And MCP makes the experience even better. With the Prismic MCP integration, Codex can query documents, run full-text search, list tags and custom types, and fetch repository info, all without leaving the terminal or the app, whichever you prefer.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Prismic with

Why use Composio?

Apart from a managed and hosted MCP server, you will get:

  • CodeAct: A dedicated workbench that allows GPT to write its code to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool responses: Handle them to minimise context rot.
  • Dynamic just-in-time access to 20,000 tools across 1700+ other Apps for cross-app workflows. It loads the tools you need, so GPTs aren't overwhelmed by tools you don't need.

How to install Prismic MCP in Codex

Run the setup command

Run this command in your terminal to add the Composio MCP server to Codex.

Terminal

It will initiate the authentication in a browser window, authorize Codex to access your Composio account.

Composio authentication page

(Optional) Authenticate with OAuth

To authenticate manually, run the login command to open a browser window and authorize Codex to access your Composio account.

bash
codex mcp login composio

Verify the connection

Run codex mcp list to confirm Composio appears as a registered MCP server.

bash
codex mcp list

Codex App

Codex App follows the same approach as VS Code.

  1. Click ⚙️ on the bottom left → MCP Servers → + Add servers → Streamable HTTP:
  2. Fill the header and Key fields with { "x-consumer-api-key" = "ck_*******" }.
  3. The Key is the Composio API key, that you can find on dashboard.composio.dev
  4. Click on Authenticate and authorize Codex to your Composio account and you're all set.
Codex App MCP setup
  1. Restart and verify if it's there in .codex/config.toml
bash
[mcp_servers.composio]
url = "https://connect.composio.dev/mcp"
http_headers = { "x-consumer-api-key" = "ck_*******" }

Try it

Ask Codex for a Prismic task. The first time, Composio asks you to connect your Prismic account.

For example, ask it to:

  • "Find all blog posts tagged 'launch'"
  • "Get latest articles ordered by publish date"
  • "Fetch document details by Prismic ID"

What is the Prismic MCP server, and what's possible with it?

The Prismic MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Prismic account. It provides structured and secure access to your content repository, so your agent can search, retrieve, filter, and organize content, as well as gather repository details—all without manual coding.

  • Full-text and predicate-based search: Instantly ask the agent to find documents using keywords, tags, or advanced predicates for highly targeted content discovery.
  • Retrieve documents by custom fields or type: Fetch content based on custom fields, document types, or tags, making it easy to surface exactly what you need from your CMS.
  • Get and sort documents with advanced ordering: Let your agent return documents ordered by fields like date or title, supporting content workflows where order matters.
  • Fetch detailed repository metadata: Have the agent pull repository settings, available refs, types, and supported languages for a comprehensive view of your content environment.
  • Access integration fields and enriched content: Retrieve documents including data from integration fields, so your agent can work with richer, more connected content structures.

Conclusion

You've successfully integrated Prismic with Codex using Composio's MCP server. Now you can interact with Prismic directly from your terminal, VS Code, or the Codex App using natural language commands.

Key benefits of this setup:

  • Seamless integration across CLI, VS Code, and standalone app
  • Natural language commands for Prismic operations
  • Managed authentication through Composio
  • Access to 20,000+ tools across 1700+ apps for cross-app workflows
  • CodeAct workbench for complex tool chaining

Next steps:

  • Try asking Codex to perform various Prismic operations
  • Explore cross-app workflows by connecting more toolkits
  • Build automation scripts that leverage Codex's AI capabilities
TOOLS

Supported Tools

Every Prismic action and event your agent gets out of the box.

Get Prismic Documents with Fulltext Search

Search Prismic documents with a supplied predicate, automatically using the current master ref.

Prismic: Query Documents

Tool to query Prismic documents using predicates and pagination.

Get Prismic Repository Info

Retrieves Prismic repository metadata, including available refs, custom type names, languages, and API forms.

Get Prismic Tags

Tool to retrieve all tags from Prismic repository.

Prismic: Get Custom Types

Retrieves custom types (content models) from a Prismic repository, including their IDs, labels, JSON structure definitions, and repeatability.

FAQ

Frequently asked questions

Start with Prismic.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Prismic tool your agent needs.Free to start.

Start building