Skip to content
VS Code

gpt image mcp for VS Code

io.github.youbotapi/gpt-image-mcp

Generate and edit images with GPT Image 2.5 for $0.029 — free key, 50 credits, no card.

client:VS Code transport:stdio runtime:npm

Install gpt image mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "youbot-api-key",
      "description": "YOUBOT_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "youbot-image-dir",
      "description": "YOUBOT_IMAGE_DIR",
      "password": true
    }
  ],
  "servers": {
    "gpt-image-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gpt-image-2-5-mcp"
      ],
      "env": {
        "YOUBOT_API_KEY": "${input:youbot-api-key}",
        "YOUBOT_IMAGE_DIR": "${input:youbot-image-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

gpt image mcp in other clients