MCP client setup: add image tools wherever your agent lives
One Image MCP Server endpoint and one API key work in all 20 clients below — but each wraps them in a different config shape, and that is what usually breaks. The server is a standard Model Context Protocol endpoint. Pick your client for the exact file, the exact field names and the gotcha specific to it.
Choose your client
Claude Desktop
The chat app. Paste one JSON block, quit and reopen, and Claude can make images mid-conversation.
config claude_desktop_config.json · custom connector
transport npx bridge, or connector + header
Claude Code
One command. Watch the scope flag — the default is local, meaning this project only.
config claude mcp add
transport HTTP or skill/CLI
Cursor
User or project scope, and ${env:…} works inside headers so a project config is safe to commit.
config ~/.cursor/mcp.json
transport HTTP or npx bridge
Windsurf / Devin Desktop
Devin Local, the default agent, reads its own mcp_config.json; the legacy Cascade agent still reads ~/.codeium/windsurf.
config ~/.config/devin/mcp_config.json
transport HTTP via url
GitHub Copilot
Agent mode, the portable mcpServers format, and the key read from the environment rather than committed.
config .mcp.json · ~/.copilot/mcp-config.json
transport HTTP
Cline
Autonomous plans, with an autoApprove array drawn along the line between fixed and model-priced calls.
config MCP Servers panel
transport HTTP · set type explicitly
ChatGPT & OpenAI
Gated by developer mode and plan. The connector form takes a URL, so the key rides in the query string.
config Custom connector / Agents SDK
transport HTTP · key in query
Any other MCP client
Point it at the endpoint and send your key as a header. If it can only spawn processes, use the npx bridge; if it can only take a URL, append the key as a query parameter.
https://mcp.imagemcpserver.com/mcpGeneric setup docs →More MCP clients
Shorter guides, each built around the one field or file that client spells differently from everyone else — and how to tell, in that client, whether it actually connected.
Gemini CLI MCP setup
config ~/.gemini/settings.json (user) · .gemini/settings.json (project)
key mcpServers
Codex MCP setup
config ~/.codex/config.toml (user) · .codex/config.toml (trusted projects)
key [mcp_servers.<name>]
Zed MCP setup
config ~/.config/zed/settings.json (macOS/Linux) · %APPDATA%\Zed\settings.json (Windows)
key context_servers
Goose MCP setup
config ~/.config/goose/config.yaml (macOS/Linux) · %APPDATA%\Block\goose\config\config.yaml (Windows)
key extensions
Roo Code MCP setup
config mcp_settings.json (global) · .roo/mcp.json (project, wins on conflict)
key mcpServers
Kilo Code MCP setup
config ~/.config/kilo/kilo.jsonc (global) · kilo.jsonc or .kilo/kilo.jsonc (project, wins)
key mcp
OpenCode MCP setup
config ~/.config/opencode/opencode.json(c) (global) · opencode.json(c) or .opencode/opencode.json(c) (project)
key mcp.servers
Kiro MCP setup
config .kiro/settings/mcp.json (workspace, wins) · ~/.kiro/settings/mcp.json (user)
key mcpServers
Amp MCP setup
config ~/.config/amp/settings.json (user) · .amp/settings.json (workspace, wins)
key amp.mcpServers
Antigravity MCP setup
config ~/.gemini/config/mcp_config.json (global) · .agents/mcp_config.json (workspace)
key mcpServers
Trae MCP setup
config .trae/mcp.json (project) · Agents → MCP → Add Manually (global)
key mcpServers
Droid MCP setup
config ~/.factory/mcp.json (user) · .factory/mcp.json (project, committed)
key mcpServers
Hermes Agent MCP setup
config ~/.hermes/config.yaml · mcp_servers key
key mcp_servers
What each client actually needs
Same endpoint, same key, 20 different wrappers. Every one of these clients differs from the others in at least one field name — which is why a config that works in Cursor does nothing in Zed. Each guide carries the date its vendor’s docs were last verified.
| Client | Config lives in | Top-level key | Remote URL field | Scope |
|---|---|---|---|---|
| Claude Desktop | claude_desktop_config.json · custom connector | mcpServers | bridge, or connector + request header | One global file |
| Claude Code | claude mcp add | — (CLI flags) | --transport http | local · project · user |
| Cursor | ~/.cursor/mcp.json | mcpServers | url | user or project |
| Windsurf / Devin Desktop | .devin/mcp_config.json · ~/.config/devin/mcp_config.json (legacy: ~/.codeium/windsurf/mcp_config.json) | mcpServers | url (legacy Cascade: serverUrl or url) | project · local · user |
| GitHub Copilot | .mcp.json · ~/.copilot/mcp-config.json | mcpServers (legacy .vscode: servers) | url + "type": "http" | workspace · user |
| Cline | MCP Servers panel · ~/.cline/data/settings/cline_mcp_settings.json (CLI) | mcpServers | url + "type": "streamableHttp" | One global file |
| ChatGPT | Custom connector UI | — (no file) | URL field, key in query | Per account |
| Gemini CLI | ~/.gemini/settings.json (user) · .gemini/settings.json (project) | mcpServers | httpUrl | user · project |
| Codex | ~/.codex/config.toml (user) · .codex/config.toml (trusted projects) | [mcp_servers.<name>] | url (TOML) | user · trusted project |
| Zed | ~/.config/zed/settings.json (macOS/Linux) · %APPDATA%\Zed\settings.json (Windows) | context_servers | url + Authorization header | user |
| Goose | ~/.config/goose/config.yaml (macOS/Linux) · %APPDATA%\Block\goose\config\config.yaml (Windows) | extensions | uri + type: streamable_http | user |
| Roo Code | mcp_settings.json (global) · .roo/mcp.json (project, wins on conflict) | mcpServers | url + "type": "streamable-http" | global · project |
| Kilo Code | ~/.config/kilo/kilo.jsonc (global) · kilo.jsonc or .kilo/kilo.jsonc (project, wins) | mcp | url + "type": "remote" | global · project |
| OpenCode | ~/.config/opencode/opencode.json(c) (global) · opencode.json(c) or .opencode/opencode.json(c) (project) | mcp.servers | url + "type": "remote" | global · project |
| Kiro | .kiro/settings/mcp.json (workspace, wins) · ~/.kiro/settings/mcp.json (user) | mcpServers | url | workspace · user |
| Amp | ~/.config/amp/settings.json (user) · .amp/settings.json (workspace, wins) | amp.mcpServers | url | workspace · user |
| Antigravity | ~/.gemini/config/mcp_config.json (global) · .agents/mcp_config.json (workspace) | mcpServers | serverUrl or url | global · workspace |
| Trae | .trae/mcp.json (project) · Agents → MCP → Add Manually (global) | mcpServers | url (or ?apikey= URL) | project · global |
| Droid | ~/.factory/mcp.json (user) · .factory/mcp.json (project, committed) | mcpServers | url + "type": "http" | user · project |
| Hermes Agent | ~/.hermes/config.yaml · mcp_servers key | mcp_servers | url | One global file |
One key, five spellings
mcpServers is the common case, but VS Code’s legacy .vscode/mcp.json says servers, Zed context_servers, OpenCode mcp.servers, Kilo Code mcp and Goose extensions. A config moved between them fails silently rather than erroring.
The transport default
Cline falls back to legacy SSE when type is omitted. Set "type": "streamableHttp" or it talks the wrong dialect.
Headers are not universal
ChatGPT’s connector form takes a URL rather than headers, so the key goes in the query string there — as it does in Trae builds whose dialog has only a URL field.
The three things every client needs
If your client is not listed, you still have everything you need. Two of these three never change; only the third does — and the table above is what that variation looks like in practice.
The endpoint
https://mcp.imagemcpserver.com/mcpStreamable HTTP. There is also a stdio process for clients that prefer to spawn one locally.
The credential
x-api-key: sk-img-gen-…Authorization: Bearer works too, and ?apikey= for clients that cannot send headers.
The config location
client-specificA JSON file, a CLI command or a settings panel. That is the only part that varies.
What shows up after you connect
11 MCP tools, each with a full JSON schema: 8 image tools and 3 utility tools for the credit balance, the model list and batching. The agent learns the parameters, the enums and the required fields from the protocol — you never have to explain the API in a prompt.
generate_imagegenerate_transparent_imageedit_imageremove_backgroundupscale_imagetext_to_svgcompress_imageconvert_formatmulticallget_user_infolist_modelsFirst thing to ask, in any client
“How many image credits do I have left?”
It forces a real tool call, the call is free, and a real number back means the whole chain — config, transport, key, account — is working. If it answers vaguely, the server is not loaded.
MCP client questions
Which clients support MCP?
The twenty documented here: Claude Desktop, Claude Code, Cursor, Windsurf (now Devin Desktop), GitHub Copilot, Cline, ChatGPT, Gemini CLI, Codex, Zed, Goose, Roo Code, Kilo Code, OpenCode, Kiro, Amp, Antigravity, Trae, Droid and Hermes Agent. Support is not uniform, though: clients differ in the config key they expect, whether they can reach a remote server without a bridge, and how narrowly you can scope or approve individual tools.
Do I still need the npx mcp-remote bridge?
Less often than you used to. Nearly every client here can reach a remote HTTP server directly. Claude Desktop is the exception for its config file, which still needs the mcp-remote bridge to send a header; Anthropic now documents a Request headers field for custom connectors, which is the other route there.
Why does a config that works in one client fail in another?
Almost always a field name. VS Code’s legacy .vscode/mcp.json uses servers; its portable .mcp.json and most other clients use mcpServers, while Zed wants context_servers and OpenCode mcp.servers. Gemini CLI wants httpUrl, not url. Cline needs an explicit "type": "streamableHttp" or it falls back to legacy SSE. The endpoint and the key are identical everywhere; the wrapper around them is not.
Can I use the same API key in every client?
Yes, and one key works across the REST API and the CLI too. In practice it is worth issuing a separate key per surface — editor, CI, production — so any one of them can be revoked without disturbing the others.
What if my client is not listed?
You still have everything you need. Point it at the endpoint and send your key as an x-api-key header; if it can only spawn a process, use the npx bridge; if it can only accept a URL, append the key as a query parameter. Those three shapes cover every MCP client we have seen.
Where these details come from
Each client’s row was checked against that vendor’s own documentation while writing its guide; the sources are linked at the foot of every page above. Client MCP surfaces move quickly, so each guide carries the date its claims were verified.
You need a key before any of this works
$5 Testing plan, 100 credits once, no subscription. The key is issued instantly and works in every client on this page.