# Codex Imagem [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/mcp-dir/codex_image-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/codex-imagem

## Description
Generate images with your own ChatGPT subscription (Plus, Pro or Team), without spending API credits

## Tools
Capabilities this server exposes over MCP:

- **codex_image_generate** — Gera uma imagem a partir de um texto, usando a cota de imagens da assinatura ChatGPT conectada (não consome créditos de API). Retorna um link de download do PNG, que também fica na aba Arquivos do mcp.ai. Leva cerca de 1 minuto. A dimensão é escolhida pelo gerador e não pode ser fixada; descreva enquadramento e proporção dentro do próprio `prompt` (ex.: 'composição horizontal, bem largo'). Uma imagem por chamada.
- **codex_image_subscription** — Mostra qual assinatura ChatGPT está conectada (e-mail e plano). Não gera imagem nem consome cota.
- **show_version** — Show the current MCP platform and adapter versions.
- **report_bug** — Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
- **connect** — Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
- **toolkit_info** — Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
- **marketplace** — The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
- **authenticate** — MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "codex-imagem": {
    "url": "https://api.mcp.ai/p_codex_image"
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/codex-imagem/readme_

