{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.meet30997/codex-openai-image-mcp",
  "slug": "io.github.meet30997.codex-openai-image-mcp",
  "title": "Codex / OpenAI Image",
  "summary": "Generate, edit and make matching sets of images with the Codex CLI or the OpenAI Images API",
  "version": "0.1.2",
  "serverKey": "codex-openai-image-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.meet30997.codex-openai-image-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.meet30997.codex-openai-image-mcp/install.md",
  "trust": {
    "score": 88,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T18:25:49.964901992Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "codex-openai-image-mcp@0.1.2"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add codex-openai-image-mcp -e IMAGEGEN_PROVIDER=codex-cli -- npx -y codex-openai-image-mcp@0.1.2"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"codex-openai-image-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"codex-openai-image-mcp@0.1.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"IMAGEGEN_PROVIDER\": \"codex-cli\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"codex-openai-image-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"codex-openai-image-mcp@0.1.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"IMAGEGEN_PROVIDER\": \"codex-cli\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"IMAGEGEN_PROVIDER\",\n      \"id\": \"imagegen-provider\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"codex-openai-image-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"codex-openai-image-mcp@0.1.2\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"IMAGEGEN_PROVIDER\": \"${input:imagegen-provider}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.codex-openai-image-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"codex-openai-image-mcp@0.1.2\"]\nenv = { \"IMAGEGEN_PROVIDER\" = \"codex-cli\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "IMAGEGEN_PROVIDER",
      "required": true,
      "secret": false,
      "description": "Image backend: codex-cli (your ChatGPT plan via the Codex CLI), openai-api, or mock",
      "help": "Image backend: codex-cli (your ChatGPT plan via the Codex CLI), openai-api, or mock",
      "default": "codex-cli",
      "placeholder": "codex-cli"
    },
    {
      "name": "OPENAI_API_KEY",
      "required": false,
      "secret": true,
      "description": "OpenAI API key, only needed for the openai-api backend",
      "help": "OpenAI API key, only needed for the openai-api backend",
      "placeholder": "<OPENAI_API_KEY>"
    },
    {
      "name": "IMAGEGEN_OUT_DIR",
      "required": false,
      "secret": false,
      "description": "Folder for generated images, relative to the working folder (default generated-images)",
      "help": "Folder for generated images, relative to the working folder (default generated-images)",
      "placeholder": "<IMAGEGEN_OUT_DIR>"
    }
  ],
  "expectedTools": [
    "generate_image",
    "edit_image",
    "generate_set"
  ],
  "agentSteps": [
    "Ask the user for: IMAGEGEN_PROVIDER. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: generate_image, edit_image, generate_set.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T18:25:49.964901992Z"
}
