Generate images with your own ChatGPT subscription (Plus, Pro or Team), without spending API credits. Connect your Codex login once and ask for the image in plain language, the file is saved to your mcp.ai account.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http codex-imagem https://api.mcp.ai/p_codex_image~/.codex/config.toml
[mcp_servers.codex-imagem]
url = "https://api.mcp.ai/p_codex_image"
# codex mcp add codex-imagem --url https://api.mcp.ai/p_codex_image~/.cursor/mcp.json
{
"mcpServers": {
"codex-imagem": {
"url": "https://api.mcp.ai/p_codex_image"
}
}
}.vscode/mcp.json
{
"servers": {
"codex-imagem": {
"type": "http",
"url": "https://api.mcp.ai/p_codex_image"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"codex-imagem": {
"httpUrl": "https://api.mcp.ai/p_codex_image"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"codex-imagem": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.mcp.ai/p_codex_image"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"codex-imagem": {
"url": "https://api.mcp.ai/p_codex_image"
}
}
}