Give Claude Desktop the ability to make images.
Claude is very good at deciding what an image should look like and completely unable to produce one. One MCP server entry closes that gap: it can generate, edit, cut out, upscale and vectorise, and hand you back a URL in the same message.
You
Make a hero image for a page about slow coffee. Wide, warm, no text in the picture.
Claude
→ generate_image({ aspectRatio: "21:9" })
Here it is — hosted at a URL you can drop straight into your markup. Want it cut out, or upscaled for print?
Four steps, once
- 1
Create an API key
Sign in and open the dashboard. Keys start with
sk-img-gen-and are shown once — copy it before you close the dialog. - 2
Open the config file
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json. Windows:%APPDATA%\\Claude\\claude_desktop_config.json. Create it if it is missing. - 3
Paste the server entry
Use the JSON on the right. If you already have an
mcpServersblock, addimagemcpalongside what is there. - 4
Quit and reopen Claude
A full quit, not just closing the window. On reopening, the image tools appear in the tool list.
{
"mcpServers": {
"imagemcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.imagemcpserver.com/mcp",
"--header",
"x-api-key:sk-img-gen-your_key_here"
]
}
}
}Check it worked
Ask Claude a question that forces a tool call rather than a guess:
“How many image credits do I have left?”
Claude should call get_user_info and answer with a real number. That call is free, so it costs nothing to test the connection. If it answers from memory or says it cannot, the server is not loaded.
If it is not loading
The JSON is invalid
A trailing comma or a missing brace makes Claude skip the whole file silently. Paste it into any JSON validator.
Claude was not fully quit
On macOS, closing the window leaves the app running. Use Quit, then reopen.
Node is missing
The config runs npx. Check with node --version in a terminal.
The key is wrong or revoked
Test it directly: curl the /auth/user-data endpoint with the key and see whether you get an account back.
Things worth asking once it is connected
“Generate three logo concepts for a bakery as SVG, then show me the code for each.”
text_to_svg × 3
“Take this photo, remove the background, and upscale it 4x for print.”
remove_background → upscale_image
“Make a 9:16 version of this hero image by extending the scene vertically.”
edit_image
“Generate six product shots in the same style — use this one as the reference.”
multicall + referenceImages
“Compress every image in this folder to WebP at quality 75.”
multicall + compress_image
“Which models can I use, and what does each one cost?”
list_models
Claude Desktop setup questions
Where does the Claude Desktop config file live?
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows: %APPDATA%\Claude\claude_desktop_config.json. If the file does not exist yet, create it — the JSON below is a complete file on its own.
Do I need to install anything first?
Node.js, because the config uses npx to run the mcp-remote bridge. Nothing else — there is no package to install globally and no local server to keep running.
Claude does not see the tools. What went wrong?
Three usual causes: the config file has a trailing comma or other JSON error, Claude was not fully quit and reopened (closing the window is not enough on macOS), or the API key in the header is wrong. Check the developer settings for the server’s status, then ask Claude to list its tools.
Is my API key safe in that file?
It sits in a local config file on your own machine, in plain text, the same way every MCP server credential does. Treat it like an SSH config: do not commit it, and rotate the key from the dashboard if it leaks. Keys can be revoked individually.
Does this cost anything to try?
No. A free account comes with 30 credits a month, which is enough for a handful of generations, a few background removals or thirty compressions.