Codex Imagem logo

Codex Imagem

Generates images through a connected ChatGPT Plus, Pro, or Team subscription over MCP HTTP.

Install Codex Imagem

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://api.mcp.ai/p_codex_image

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Claude Code command
claude mcp add --transport http codex-imagem https://api.mcp.ai/p_codex_image

Run in your terminal, then run /mcp in Claude Code to sign in if the server asks.

Overview

Codex Imagem MCP server generates images from natural-language prompts using the image quota of a connected ChatGPT Plus, Pro, or Team subscription. It exposes an MCP-over-HTTP endpoint with two read-only tools: one for image generation and another for checking the connected subscription. Use it from an MCP client when you want image generation without using separate API credits; authentication uses a passwordless magic link.

Use cases

  • Generate branded mascot concepts from text prompts
  • Create product images with specified backgrounds
  • Check the connected ChatGPT subscription before generation
  • Connect image generation to an MCP-compatible agent

Key features

  • ChatGPT subscription-based image generation
  • MCP over HTTP endpoint
  • Passwordless magic-link login
  • Subscription email and plan lookup
  • Read-only tool access
  • No separate API credits for generation

Tools8

What Codex Imagem lets your agent do. Expand a tool for its parameters.

Verified live~1.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

16/24 checks healthy over the last 78d

What it can do

From the 8 tools this server returned when we ran it.

Can delete or modify data · 1Handles credentials · 3Makes network requests · 1Read-only tools · 7

Observed 2026-10-16 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3mo agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Codex Imagem works

What Codex Imagem does

Codex Imagem MCP server connects an MCP client to a ChatGPT subscription and turns text prompts into generated images. The supported subscription types are ChatGPT Plus, Pro, and Team. Generated files are saved to the user’s mcp.ai account, while the image request uses the image quota associated with the connected ChatGPT account rather than separate API credits.

The service exposes two tools. codex_image_generate accepts a text description and requests an image. codex_image_subscription reports the email address and plan for the ChatGPT subscription currently connected. Both tools are read-only: they do not modify data in the source account.

How it works

Connect the Codex login once through the service’s passwordless magic-link flow. After authentication, an MCP-compatible client can send natural-language requests to the hosted endpoint. The client does not need a local image-generation runtime because the MCP service is hosted at https://api.mcp.ai/p_codex_image.

A typical request might ask for a flat-style fox mascot or a product photo of a ceramic mug on a light background. The subscription tool can be used when an agent needs to confirm which ChatGPT email and plan are connected before generating an image.

Setup and configuration

To use the Codex Imagem MCP server, configure an MCP client with the hosted HTTP URL:

https://api.mcp.ai/p_codex_image

It also states that the endpoint works with any client supporting MCP over HTTP, including ChatGPT, Manus, OpenClaw, and other compatible clients. No environment variables or local credentials are specified for the hosted connection. Authentication is handled through the magic-link login.

The repository is an MIT-licensed public wrapper containing manifests, documentation, and agent skills. The hosted MCP service itself is proprietary.

Tools and capabilities

  • Generate an image from a natural-language text prompt with codex_image_generate.
  • Check the connected ChatGPT email and subscription plan with codex_image_subscription.
  • Use the connected ChatGPT image quota instead of API credits.
  • Retrieve generated files through the user’s mcp.ai account.
  • Connect over MCP HTTP from supported clients.

Limitations and notes

The Codex Imagem MCP server depends on an eligible connected ChatGPT subscription: Plus, Pro, or Team. The material does not describe support for other plans or provide a separate image API mode.

Tool results are sent to the selected LLM host, such as Claude, ChatGPT, Cursor, or a custom agent. OpenAI and the chosen LLM host are listed as subprocessors, and the README recommends considering plans with training opt-out controls.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Codex Imagem

Codex Imagem is an MCP server that connects an agent to a linked ChatGPT Plus, Pro, or Team subscription through MCP over HTTP. It provides codex_image_generate for text-to-image requests and codex_image_subscription to show the connected email and plan, without consuming separate API credits.

Configure your MCP client with https://api.mcp.ai/p_codex_image. The README provides installation links for Claude, Cursor, and VS Code; other clients can connect if they support MCP over HTTP. Authentication uses a passwordless magic link.

Yes, Codex Imagem works with Cursor. The README provides a Cursor installation link, and the hosted MCP endpoint is https://api.mcp.ai/p_codex_image.

Codex Imagem supports ChatGPT Plus, Pro, and Team subscriptions. Image generation uses the image quota of the connected subscription rather than separate API credits.

Yes, it uses the image quota from the connected ChatGPT subscription instead of API credits. The service still requires an eligible ChatGPT Plus, Pro, or Team account.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCodex Imagem AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/codex-imagem?style=directory)](https://allmcps.com/mcp/codex-imagem)
HTML Embed
<a href="https://allmcps.com/mcp/codex-imagem"><img src="https://allmcps.com/api/badge/codex-imagem?style=directory" alt="Codex Imagem on AllMCPs" /></a>