Codex Imagem

io.github.mcp-dir由 GitHub 帳號 mcp-dir 發布v0.1.0更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行媒體與設計AI 與機器學習

概覽

AI 產生的概覽

使用已連結的 ChatGPT 訂閱依文字提示生成圖片,回傳 PNG 下載連結,並可查看目前連結的訂閱資訊。

可以做什麼
  • 依文字描述生成圖片,使用已連結 ChatGPT 訂閱的圖片額度,回傳 PNG 下載連結;尺寸由生成器決定,無法指定。
  • 查看目前連結的 ChatGPT 訂閱,包含電子郵件與方案,且不消耗額度。
  • 查看連線狀態與待連線連結、已安裝的 MCP 及其連結帳號,以及平台與轉接器版本。
  • 在 mcp.ai marketplace 中搜尋並檢視 MCP 項目,並使用存取權杖完成驗證。
  • 送出錯誤回報或意見回饋,可選擇附上最近的對話訊息以便重現。
適用情境
適合讓助理依自然語言提示生成圖片(吉祥物、產品照、插畫),並希望使用既有的 ChatGPT Plus、Pro 或 Team 方案而不消耗 API 額度時。也適合在生成前確認目前連結的是哪個帳號。
執行需求
位於 api.mcp.ai 的遠端 HTTP MCP 端點,可用於任何支援 MCP over HTTP 的用戶端,例如 Claude、Cursor、VS Code 或 ChatGPT。需要已連結的 ChatGPT 訂閱(Plus、Pro 或 Team),透過 Codex 登入並以魔法連結方式完成。選用:以 Authorization Bearer 標頭提供存取權杖以取得長期連線。
安裝前請注意
生成會消耗所連結 ChatGPT 訂閱的圖片額度,而非 API 額度。訂閱查詢會顯示連結帳號的電子郵件與方案。提示詞與回傳資料會傳送給 OpenAI 以及你所選擇的宿主 LLM,README 說明後者不在提供者控制範圍內。託管伺服器為專有軟體,驗證工具涉及存取權杖的處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Codex Imagem,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.mcp-dir%2Fcodex_image-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "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.

來源:README.md,提交 205bc96

工具

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.

輸入參數prompt必填account

codex_image_subscription

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

輸入參數account

show_version

Show Version

Show the current MCP platform and adapter versions.

無需輸入參數。

report_bug

Report Bug

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

輸入參數contextmessage必填conversation

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.

無需輸入參數。

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.

無需輸入參數。

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.

輸入參數limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 個

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.

輸入參數token

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分