Guide · comparison · checked 23 November 2026

Hosted vs open-source image MCP servers

A hosted image MCP server is a URL and one API key: someone else runs the server and pays the model providers, and you pay them per call. An open-source image MCP server runs on your own machine with your own model key, and you pay the provider directly. Neither is better in general. The choice comes down to who holds the keys, who pays the model bill, and who fixes it when a provider changes something.

By the Image MCP Server teamPublished Updated 8 min read

Who is writing this

We run a hosted image MCP server, so we are not neutral. Everything said here about the open-source projects comes from their own READMEs, linked, as of 23 November 2026. Where the self-hosted route is cheaper or more private, this page says so.

The comparison table

“Hosted” is this product; “self-hosted open source” is the general pattern the projects below follow. Individual projects differ, so check the README of the one you pick.

Hosted image MCP server compared with self-hosted open-source image MCP servers, checked 23 November 2026
 Hosted (Image MCP Server)Self-hosted open source
SetupCreate an account, buy credits, paste one config entry with the endpoint and your key. About five minutes.Install a runtime (Python or Node), install the server, get a key from the model provider, add a config entry that launches it.
TransportA remote URL over Streamable HTTP. Nothing runs on your machine.Usually a local process the client launches and talks to over stdio, on every machine that uses it.
Key managementOne key for every tool. Model-provider keys stay on the server side.Your provider key sits in the client config or environment on each machine.
Tools included11 MCP tools: 8 image tools (generate, transparent, edit, background removal, upscale, text-to-SVG, compress, convert) plus 3 utility tools.Whatever that project ships, often generation and editing for one provider. Combine servers to cover more.
Cost modelPrepaid credits per operation. No free tier; the Testing plan is $5 once for 100 credits.The provider’s own price per image, billed to you. The server software costs nothing.
MaintenanceThe operator updates the server, the model list and the tool schemas.You update the package and react when a provider renames or retires a model.
PrivacyPrompts and images pass through the operator’s backend and its model providers; generated and edited images are stored at public URLs.Prompts and images go from your machine to the provider you chose. Local-only processing servers send nothing.

Checked 23 November 2026.

Three open-source image MCP servers, in their own words

Not a ranking and not a complete list: three different shapes of self-hosted server, described only as far as their READMEs go. Two generate images with your model key; the third never calls a model at all.

nanobanana-mcp-server ↗

An image generation MCP server for Google’s Gemini image models.

You need
A Gemini API key (GEMINI_API_KEY) or Vertex AI credentials. Installs with uvx or pip.
Tools
generate_image, edit_image, upload_file
License
MIT

openai-gpt-image-mcp ↗

An MCP server for OpenAI’s image generation and editing APIs.

You need
An OpenAI API key (or an Azure OpenAI deployment). Clone, then build with yarn. The README notes a verified OpenAI organization is required for image API access.
Tools
create-image, edit-image
License
MIT

imagesorcery-mcp ↗

Local computer-vision image processing: crop, resize, rotate, detect objects, OCR, draw, overlay and fill. It does not generate images.

You need
Python 3.10 or later, installed with pipx (the README’s recommended method), plus some system libraries OpenCV relies on. The README says processing happens locally, without sending images to any servers.
Tools
crop, resize, rotate, detect, find, ocr, overlay, fill, blur and more, plus a remove-background prompt
License
MIT

Setup, side by side

The config entries look alike. The difference is everything that has to be true before they work: on the left, an account and credits; on the right, a runtime on every machine and a funded account with the model provider.

Hosted · Claude Code

claude mcp add --transport http imagemcp \
  https://mcp.imagemcpserver.com/mcp \
  --header "x-api-key: sk-img-gen-your_key_here"

Self-hosted · from the nanobanana README

{
  "mcpServers": {
    "nanobanana": {
      "command": "uvx",
      "args": ["nanobanana-mcp-server@latest"],
      "env": { "GEMINI_API_KEY": "your-gemini-api-key-here" }
    }
  }
}

Both are MCP over a standard transport: Streamable HTTP for the hosted URL, stdio for the local process. The model sees the same kind of tool list either way. Per-client steps for the hosted server are in the guides for Claude Code, Cursor, Claude Desktop and every other client.

Where the money goes

Take one image from the model this server uses by default, gemini-2.5-flash-image:

Self-hosted, your Google key

$0.039

Google’s paid-tier price per image, checked 23 November 2026.

Hosted, platform credits

$0.42–$1.20

15 credits, priced by how you buy them (see pricing).

On raw model cost the self-hosted route wins, by a wide margin. What the hosted price buys is everything around the model: no server to run, one key for generation, editing, background removal, upscaling, vector output, compression and conversion, and a request log with the credits of every call. If you generate at volume, a monthly plan can bring its own OpenRouter key, which drops generation to a 2-credit fee ($0.10–$0.16) plus OpenRouter’s price for the model.

The free part of self-hosting is the server software. Generation is billed per image by the provider whichever route you take; only local processing, like the third project above, has no per-image cost.

Keys and privacy

Hosted

  • One sk-img-gen key per surface, revocable on its own. You never handle a model-provider key.
  • Prompts and images pass through our backend to the model providers we use, OpenRouter and Fal.ai.
  • Generated, edited and cut-out images are stored on Cloudflare R2 and served from a public https URL.
  • An OpenRouter key you connect for BYOK is stored encrypted with AES-256-GCM and never shown again.

Self-hosted

  • Your provider key lives in the client config or environment on each machine, so scope it and keep it out of git.
  • Prompts and images go from your machine straight to the provider you configured, with no middleman.
  • Outputs can go straight to your disk; both generation projects above document saving files to a path you choose.
  • A local-only server such as imagesorcery-mcp says it sends nothing anywhere.

If images must not leave your network, self-host. If the worry is a key leaking from a laptop, the hosted route keeps provider keys off the laptop entirely, and the one key that is there can be revoked without touching anything else. Our privacy policy covers retention.

Who maintains it

Image models move fast. Google, for example, lists gemini-2.5-flash-image as deprecated and due to shut down on 15 March 2027 (its pricing page, checked 23 November 2026). Changes like that land on somebody.

Hosted

The operator moves models, fixes schemas and ships new tools; clients pick up tool changes on their next tool list, with nothing to reinstall. You also depend on the operator’s uptime, prices and decisions, which is the real cost of not running it yourself.

Self-hosted

You update the package on every machine and follow the project for fixes. The nanobanana README, for one, documents environment variables for overriding model IDs in case Google renames or deprecates them. If the project stops being maintained, you fork it or move.

Which one fits

Self-host when…

  • Cost per image is what you are optimising, and you already have a provider account.
  • Images must not pass through a third party you have not vetted.
  • You only need one provider’s generation, or only local processing.
  • You are happy to update the server and track provider changes yourself.

Use a hosted server when…

  • You want image tools in your agent today, with nothing to install on each machine.
  • You need more than generation: cutouts, upscaling, vectors, compression and format conversion behind the same key.
  • Several people or machines share it, and handing out provider keys is the thing you want to avoid.
  • You want one request log with the cost of every call.

You can also run both: a client connects to several servers at once. A local server for crops and OCR next to a hosted one for generation and background removal is a reasonable setup. New to the protocol itself? Start with what MCP is, and if you are deciding whether you need MCP at all, read MCP vs REST API.

Image MCP server questions

What is an image MCP server?

An MCP server that gives an AI client image tools: generating, editing, cutting out, resizing or converting images. The client (Claude Code, Cursor, Claude Desktop and others) discovers the tools over the Model Context Protocol and the model decides when to call them.

Is a self-hosted image generation MCP server free?

The server software usually is; the image model is not. A self-hosted generation server calls a provider such as Google or OpenAI with your own key, and the provider bills you for every image. Google, for example, lists gemini-2.5-flash-image at $0.039 per image on its paid tier (checked 23 November 2026). Servers that only process images locally, without a model API, cost nothing beyond your own machine.

Which is cheaper per image?

Self-hosted, on raw model cost. Here the default model costs 15 credits, which is $0.42 to $1.20 depending on how you buy credits, well above the provider’s own price. You pay that premium for not running anything, for one key across every image tool, and for the tools that are not generation at all.

Can I bring my own model key to the hosted server?

On the monthly plans, yes. Connect an OpenRouter key and generation and editing cost a flat 2 credits per call, with the model billed to your OpenRouter account. Background removal, upscaling and text-to-SVG keep their normal prices.

Can I run both?

Yes. An MCP client can connect to several servers at once, each with its own tools. A local image-processing server for cropping and OCR can sit next to a hosted server for generation and cutouts.

Can I run your MCP server on my own machine?

The server process can run locally over stdio, but it is a thin layer over our hosted API: it still needs your API key and bills credits. That is not self-hosting in the sense this page means.

Running our server process locally is covered under MCP server setup; it still needs IMAGEMCP_API_KEY and bills credits.