gpt-image-mcp
v0.2.2Generate and edit images with GPT Image 2.5 for $0.029 — free key, 50 credits, no card.
Values you need
| Variable | What it is | |
|---|---|---|
YOUBOT_API_KEY | required secret | API key from you.bot — NOT an OpenAI key. Free at https://you.bot, 50 credits (~17 images) on signup, no credit card. Keys start with sk-live-. |
YOUBOT_IMAGE_DIR | optional | Optional. If set, every generated image is also saved to this folder. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add gpt-image-mcp -e 'YOUBOT_API_KEY=<YOUBOT_API_KEY>' -- npx -y gpt-image-2-5-mcp@0.2.2Add to
claude_desktop_config.json{
"mcpServers": {
"gpt-image-mcp": {
"args": [
"-y",
"gpt-image-2-5-mcp@0.2.2"
],
"command": "npx",
"env": {
"YOUBOT_API_KEY": "<YOUBOT_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gpt-image-mcp": {
"args": [
"-y",
"gpt-image-2-5-mcp@0.2.2"
],
"command": "npx",
"env": {
"YOUBOT_API_KEY": "<YOUBOT_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "YOUBOT_API_KEY",
"id": "youbot-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"gpt-image-mcp": {
"args": [
"-y",
"gpt-image-2-5-mcp@0.2.2"
],
"command": "npx",
"env": {
"YOUBOT_API_KEY": "${input:youbot-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gpt-image-mcp]
command = "npx"
args = ["-y", "gpt-image-2-5-mcp@0.2.2"]
env = { "YOUBOT_API_KEY" = "<YOUBOT_API_KEY>" }For AI agents
- Ask the user for: YOUBOT_API_KEY. 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, check_credits.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json