Skip to Content

Connect Codex to the Prepr MCP server

Add Prepr as a streamable HTTP MCP server in Codex, authorize access to your environment, and test the connection.

Open the MCP server settings

In the ChatGPT desktop app or Codex IDE extension, open Settings, select MCP servers, then select Add server.

Follow OpenAI’s Codex MCP guide  for the current desktop app, IDE extension, CLI, and config.toml setup options.

Add the Prepr MCP server

Create a streamable HTTP server using:

  • Name: Prepr
  • Server URL: https://mcp.prepr.io

Save the server, then restart the app or IDE extension when prompted.

Authorize access

Select Authenticate for the Prepr server, then complete the OAuth flow and select the Prepr environment you want Codex to access.

If OAuth isn’t available in your setup, configure an MCP token as a bearer token instead.

Send your first request

To confirm that Codex can access your Prepr environment, send the following prompt:

Find the five most recently updated content items in Prepr and show their titles and publication statuses.

Codex can use the tools exposed by the Prepr MCP server to inspect your environment and work with your content.

The server also inspects the AI context defined in your environment settings to interpret requests more accurately.

What’s next?

Explore typical use cases or review the available tools and actions.

Last updated on