Codex Imagem

io.github.mcp-dirPublished by GitHub account mcp-dirv0.1.0Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableMedia & DesignAI & ML

Overview

AI-generated overview

Generates images from text prompts using a connected ChatGPT subscription, returning a PNG download link, and reports which subscription is linked.

What you can do
  • Generate an image from a text description using the image quota of the connected ChatGPT subscription, returning a PNG download link; dimensions are chosen by the generator and cannot be fixed.
  • Check which ChatGPT subscription is connected, including e-mail and plan, without consuming quota.
  • Inspect connection status, pending connect links, installed MCPs and their connected accounts, and platform and adapter versions.
  • Search and describe entries in the mcp.ai marketplace catalog, and authenticate with an access token.
  • Send bug reports or feedback, optionally with recent conversation messages for reproduction.
When to use it
Useful when you want an assistant to create images (mascots, product shots, illustrations) from natural-language prompts without spending API credits, drawing on an existing ChatGPT Plus, Pro or Team plan. Also handy for confirming which account is linked before generating.
Requirements
Remote MCP endpoint over HTTP at api.mcp.ai, usable from any MCP-over-HTTP client such as Claude, Cursor, VS Code or ChatGPT. A connected ChatGPT subscription (Plus, Pro or Team) via Codex login, done through a magic-link sign-in. Optionally an access token sent as an Authorization Bearer header for a permanent connection.
Before you install
Generation consumes the image quota of the connected ChatGPT subscription rather than API credits. The subscription check exposes the linked account's e-mail and plan. Prompts and returned data go to OpenAI and to the host LLM you choose, which the README notes is outside the provider's control. The hosted server is proprietary, and the authenticate tool involves handling an access token.

Installation

In SourceWeft

  1. Open Codex Imagem in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.mcp-dir%2Fcodex_image-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "codex-imagem": {
      "type": "http",
      "url": "https://api.mcp.ai/p_codex_image"
    }
  }
}

README

Codex Imagem

Codex Imagem para Claude, ChatGPT e agentes de IA

Gere imagens pela sua própria assinatura do ChatGPT (Plus, Pro ou Team), sem gastar créditos de API. Conecte o login do Codex uma vez e peça a imagem em linguagem natural, o arquivo fica salvo na sua conta do mcp.ai.

  • 📊 2 ferramentas
  • 🔒 Somente leitura
  • 💬 Funciona com qualquer cliente MCP: Claude Desktop, Cursor, VS Code, Cline, Continue
  • 🔑 Login via magic-link (sem senha)

English version · Documentação completa · Skill pra agentes


Instalar em 1 clique

Claude (Web e Desktop)

A Anthropic unificou a instalação de MCPs em claude.ai/customize/connectors. O mesmo link serve pra Claude Web e Claude Desktop (basta estar logado):

➕ Abrir no Claude e conectar

Manual (se o deeplink não abrir): claude.ai/customize/connectors → + → Adicionar conector personalizado → cole Nome Codex Imagem e URL https://api.mcp.ai/p_codex_image.

Cursor

➕ Instalar Codex Imagem no Cursor

VS Code (Copilot Chat)

➕ Instalar Codex Imagem no VS Code

ChatGPT, Manus, OpenClaw e mais 40+ clientes

Funciona em qualquer cliente MCP que suporte MCP over HTTP. A URL do servidor é sempre:

https://api.mcp.ai/p_codex_image

Detalhes por cliente: INSTALL.md.


Exemplos de uso

Gere uma imagem de um mascote de raposa para a minha marca, estilo flatCrie uma foto de produto de uma caneca de cerâmica em fundo claroQual assinatura do ChatGPT está conectada aqui?

2 ferramentas disponíveis

ToolDescrição
codex_image_generateGera uma imagem a partir de um texto, usando a cota de imagens da assinatura ChatGPT conectada (não consome créditos de API).
codex_image_subscriptionMostra qual assinatura ChatGPT está conectada (e-mail e plano).

Detalhe de cada tool: docs/ferramentas.md


Preços

Grátis.


Privacidade & LGPD

  • Somente leitura, nenhuma ferramenta altera dados na origem.
  • Sub-processadores: OpenAI, o LLM host que você escolher (Claude, ChatGPT, Cursor, agente próprio). Lista completa em docs/privacidade-lgpd.md.
  • Os dados retornados pelas tools são enviados ao LLM host que você escolher, sub-processador fora do nosso controle. Recomendamos planos com opt-out de treinamento.

Perguntas frequentes

O servidor é open source? O servidor é proprietário (hosted). Este repositório é o wrapper público com manifestos, docs e skills — tudo MIT.

Posso usar com agente próprio (não Claude/Cursor)? Sim — qualquer cliente que suporte MCP over HTTP. URL: https://api.mcp.ai/p_codex_image.


Suporte


Licença

MIT — veja LICENSE. O servidor MCP em api.mcp.ai/p_codex_image é proprietário (hosted); este repositório (manifestos, docs, skills) é MIT.

Source: README.md at commit 205bc96

Tools

8

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.

Parameterspromptrequiredaccount

codex_image_subscription

Mostra qual assinatura ChatGPT está conectada (e-mail e plano). Não gera imagem nem consome cota.

Parametersaccount

show_version

Show Version

Show the current MCP platform and adapter versions.

Takes no parameters.

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

Parameterscontextmessagerequiredconversation

connect

Connection Status

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.

Takes no parameters.

toolkit_info

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.

Takes no parameters.

marketplace

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.

Parameterslimitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool+11 more

authenticate

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.

Parameterstoken

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts