fimg

AI Image MCP Server for Your Agent

Connect your AI agent

Copy the prompt and send it to your agent. It sets everything up; you only sign in to fimg in your browser and click Allow.

Connect the fimg MCP server so you can generate images for me. Run:

claude mcp add --transport http --scope user fimg https://fimg.app/api/mcp
claude mcp login fimg

The login command opens my browser: wait while I sign in to fimg and click Allow. Then run claude mcp get fimg to confirm it is connected, and tell me to restart Claude Code if the fimg tools do not show up. Do not generate any images yet.

Your agent sets it up. You sign in to fimg once in your browser; no API key or config to copy.

Connect manually

Add this address as a remote MCP server (Streamable HTTP) in any agent that supports MCP sign-in. The first time it connects, your browser opens to sign in to fimg.

https://fimg.app/api/mcp
claude mcp add --transport http --scope user fimg https://fimg.app/api/mcp
claude mcp login fimg

What fimg adds to your agent

Seven tools your agent can call. Only generate_image uses credits; the rest are free.

  • generate_image

    Make an image with any paid model: prompt, model, aspect ratio, resolution, reference images and an optional fimg style. Returns the image link.

  • list_models

    List the models with their sizes, credits per image and how they compare with the official API price.

  • upload_image

    Send a picture from your computer so it can be edited, restyled or combined.

  • list_generators

    List fimg's styles, such as shonen anime, minimal logo or product photo, to apply to any model.

  • get_generation

    Check an image that is still in progress and get its link when it is ready.

  • list_generations

    List your recent images, from the website and your agent.

  • get_balance

    Check how many credits you have left.

How to use it

Talk to your agent as usual. Mention fimg or an image model and it reaches for the fimg tools on its own.

  • “Use fimg to make a 16:9 header image for my blog post about night trains.”

    generate_image
  • “With Nano Banana Pro on fimg, design three logo ideas for a bakery called Crumb.”

    generate_image
  • “Turn ./photos/bottle.jpg into a studio product shot on black stone with fimg.”

    upload_imagegenerate_image
  • “Draw my profile photo ./me.png in fimg's shonen anime style.”

    list_generatorsupload_imagegenerate_image
  • “Which fimg model is best for a poster with a lot of text, and what does it cost?”

    list_models
  • “Save the fimg images I made today into ./assets.”

    list_generations
  • “How many fimg credits do I have left?”

    get_balance

Credits

  • Same credits, same prices as the website: one balance for both.
  • Most models cost less than buying them from the official API.
  • Only generating an image uses credits. Failed images are refunded, and every other tool is free.
  • The free daily images are for the website; your agent uses the paid models.
See pricing and credits per model →

FAQs about the fimg MCP server

What is the fimg MCP server?

It is a remote MCP server that lets AI agents such as Claude Code, Codex, Cursor and Gemini generate images with fimg's image models. You connect it once by signing in, and your agent calls it like any other tool and gets image links back.

Which agents and clients work with it?

Claude Code, Codex, Cursor and Gemini (Antigravity CLI, or the older Gemini CLI) have a ready-made setup prompt above. Other agents that support remote MCP servers with sign-in, such as VS Code, can connect to the same address manually.

Do I need an API key?

No. fimg does not use API keys: every agent connects by signing in to your fimg account in the browser and clicking Allow. To disconnect an agent, sign it out of fimg in the agent's MCP settings.

How much does the fimg MCP server cost?

Connecting is free, and only generating an image uses credits. It draws on the same credit balance as the website at the same price per image, mostly below each model's official API price, and failed images are not charged. The pricing page lists the credit packs and plans.

Which image models can I use over MCP?

Every paid model on fimg, such as Nano Banana Pro, Seedream and FLUX. Your agent reads the current list with the credits of each, and you can compare them on the models page.

Can I use the free daily images over MCP?

No. The free Fimg Base images are for the website, so over MCP you use the paid models with credits. To make free images, use the generator on the home page.

How long does an image take?

Most images come back in the same call, usually within a minute. If one takes longer, your agent gets its id and checks it again a moment later, so nothing is lost.

Can it use images on my computer?

Yes. The server cannot read your disk, so your agent uploads the file first (PNG, JPG or WEBP up to 10 MB) and then uses it as a reference image. Models that accept several references can combine a few files into one scene.

Can I use fimg's generator styles?

Yes. Ask for a style by name, such as shonen anime or a minimal logo, and your agent applies it to the model you chose. You can browse every style on the generators page.

Where do my MCP images go?

Each result is a link to the image on fimg's CDN, so your agent can download it into your project. The same images also appear in My creations on the website.

Can I use the images commercially?

Yes, the terms of service allow commercial use of the images you create. Avoid other companies' logos, trademarks and well-known characters in your prompts.

Your next image is one prompt away.

Connect your agent in one step and ask for the image you need.

Connect your agent