Claude Image Generation in Claude Desktop via MCP
Claude image generation in Claude Desktop: a custom connector or the config file and its bridge, prompts for images and clips, and keeping spend in check.
Updated 6 min read
Claude image generation comes from tools: Anthropic's help center says plainly that Claude does not make photos or illustrations the way image generators do, but connected to an image generation MCP server, it can price, start and fetch images and video clips for you. Connect Frameport's server to Claude Desktop, and Claude can work with Nano Banana Pro, Frameport Image 1, Seedance 2.5 and the rest of the catalog, paid per image or per second from your balance.
This guide covers the two ways to connect Claude Desktop, the config file and the bridge it needs, prompts that work, and how to watch what Claude spends.
Two ways to connect Claude Desktop
| A custom connector | The config file and a bridge | |
|---|---|---|
| Where you add it | Customize › Connectors in the app | Settings › Developer › Edit Config |
| Where the calls come from | Anthropic's cloud | Your computer, through mcp-remote |
| What it needs | The Request headers section in the dialog | Node.js 18 or later |
| Where it works | Claude on the web, desktop and mobile | Claude Desktop on that computer |
A custom connector is the shorter route when your account has it. Open Customize › Connectors, choose Add, then Add custom connector, and enter a name and https://frameport.ai/mcp. For authentication, choose No sign-in, then under Request headers add authorization with the value Bearer followed by a space and your key: Claude sends the value exactly as typed, so the word Bearer must be there. Anthropic describes header authentication as a beta open to a limited set of organizations; if the dialog shows no Request headers section, use the config file instead. On the Free plan, one custom connector is allowed.
The config file works in any copy of Claude Desktop. It starts a small bridge on your computer that speaks to the remote server and sends your key with each call.
Edit the config file
Open the Claude menu, choose Settings…, then the Developer tab, and click Edit Config. That opens, or creates, the file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Add the server under mcpServers, next to any you already have:
{
"mcpServers": {
"frameport": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://frameport.ai/mcp", "--header", "Authorization:${AUTH_HEADER}"],
"env": { "AUTH_HEADER": "Bearer fp_live_..." }
}
}
}Quit Claude Desktop completely and open it again: it reads the file only when it starts. Then click + in the message box and open Connectors: the server is listed there, and Manage connectors shows its tools. Create a key for Claude alone under API keys in the dashboard, so its generations show under that key's name and you can revoke it without touching anything else.
The remote bridge and your key
mcp-remote is an open-source npm package that turns a remote MCP server into a local one, the kind Claude Desktop starts from its config file. A few details explain the config above and most failures:
- The key sits in
env, not inargs. The bridge's README notes that Claude Desktop on Windows does not escape spaces inargs, which breaksBearer <key>. Putting the value inAUTH_HEADER, with no space afterAuthorization:, works everywhere. - Node.js comes from your system.
npxneeds Node.js 18 or later, and Claude Desktop uses the system's Node even when a newer one is installed elsewhere. If the server never appears, runnode --versionin a terminal. - Timeouts stay out of the way. The bridge waits up to five minutes for an answer by default, and no call here comes close: the tools that start work answer as soon as the job is queued, and Claude reads it back with
get_generationuntil it is done. A long clip never holds a call open. - Logs say what went wrong. Claude Desktop writes
mcp.logand one log per server in~/Library/Logs/Claudeon macOS or%APPDATA%\Claude\logson Windows. Add--debugto the bridge'sargsfor its own detailed log. A401means a missing or revoked key.
Claude Desktop also installs desktop extensions packaged as .mcpb files, under Settings › Extensions. This setup needs none: the config entry is the whole of it. The MCP docs keep the snippet current.
Prompts for Claude image generation
Claude reads the tool descriptions, so plain requests are enough. Naming the model, the shape and a cap keeps the result predictable:
Which image models do you have, and what does one image cost on each? Don't start anything.
Make a 16:9 poster of a lighthouse at dawn in soft fog, with the words "North Light" in clean
capitals, on nano-banana-pro. Quote it first and set max_cost_usd to the quote.
Same poster, but at night with the lamp lit: use the first image's file id as the reference.
Turn that poster into a 5-second clip on seedance-2-5 at 720p, slow push-in, waves below.
Check back every 10 seconds until it is done, then give me the link.When an image is ready, get_generation returns it inside the answer, up to two pictures per read, so Claude can look at what it made and judge it against your words. Every file also comes as a signed link that opens without a key for about an hour; Claude gives it to you, and you open or save it. To have Claude write files to your disk, add a filesystem MCP server next to this one.
A picture you drop into the chat is something Claude can see, but not something the tools can send: they take a public https URL, or a file already in your workspace, such as an output's file_… id or an upload. A clip of 5 seconds on Seedance 2.5 at 720p costs $1.35; for cheaper drafts, Frameport Motion 1 makes 5 seconds at 480p for $0.10.
Watching what it spends
Every tool that starts work holds its price on the workspace's balance and charges only a success; a failure costs nothing. The rest is in your hands:
- Approve each paid call. Claude asks before it uses a tool: choose Allow once for
generate_image,generate_videoandedit_video, and Always allow for the free tools that only read:list_models,get_quote,get_generation,list_generationsandget_balance. On a custom connector, set this per tool under Tool permissions, with Needs approval for the paid ones, or Blocked for a tool you never want called. - Quote, then cap. "Quote it first and set max_cost_usd to the quote" makes Claude call
get_quote, then send a cap that refuses any higher price before anything is held. - No double charges. The paid tools take an
idempotency_key: a call retried with the same key and fields returns the first generation instead of a new one. - A bounded balance. A key spends from its workspace, with no limit of its own. To fix what Claude can spend, give it a workspace funded with that amount;
get_balancetells it what is left.
The connector can also be turned off for a single chat from the same + menu. The MCP server guide lists every tool, the same setup for Cursor is in Cursor MCP image generation, and for Claude in a terminal see Claude Code image generation. New to MCP itself? Start with what an MCP server for image generation is.
FAQ
Can Claude generate images?
Not by itself: Claude reads images but does not render photos or illustrations on its own. With an image generation MCP server connected, it can make them through tools, choosing the model you name and showing you the result.
Is Claude image generation free?
Connecting is free, and so are the key, quotes and reads. Images are paid per image from a prepaid balance, from $0.025 depending on the model, and a failed image costs nothing. Your Claude plan is billed apart.
Can Claude make videos in Claude Desktop?
Yes. generate_video starts a clip from a prompt, a first frame or reference pictures, and Claude reads it back every 10 seconds or so until it is done. The video models of the catalog, such as Seedance 2.5, all work through the same server.
Why does the Claude Desktop MCP bridge not start or time out?
Most often Node.js is missing or too old, the JSON has a typo, or the key is wrong. Check node --version, validate the file, restart Claude Desktop, and read mcp.log. The tools themselves answer quickly, since none waits for a render to finish.
Do I need an .mcpb extension for Claude Desktop?
No. A .mcpb file packages a server that runs on your computer; this one runs remotely, so a custom connector or the config entry with mcp-remote is all it takes.