Model Context Protocol
Fooocus-style images from your AI assistant
The Fooocus.app MCP server lets Claude, ChatGPT, Cursor and other assistants turn a prompt into 1 to 4 images on your account, with Speed or Quality, styles and prompt expansion, at the same prices and refunds as the site.
Server URL (Streamable HTTP)
https://fooocus.app/mcp
What the assistant can do
list_models- Speed and Quality with their models and credits per image, plus the styles and aspect ratios.
quote_price- Credits for a Performance setting and image count, or the full price table.
generate_image- Make 1 to 4 images from a prompt with Speed or Quality, styles, prompt expansion, Avoid and an aspect ratio. From 25 credits an image.
get_job- Where one render stands, and its link when it is done.
list_jobs- Recent renders, each with its prompt, settings and result link.
get_balance- Your remaining credits.
Ask for a quote first if you like. Each image is paid for as it starts rendering, and a failed image hands its credits straight back.See credit prices
Set up your assistant
Choose the assistant you use, copy its config block and finish the sign-in that pops up in your browser.
Claude (web or desktop): Settings → Connectors → Add custom connector. Call it Fooocus.app, paste the server URL, press Connect and allow access.
https://fooocus.app/mcp
A browser tab opens on Fooocus.app. Log in, or make a free account, and choose Allow access. The assistant only ever sees a token, never your password.
What happens when you connect
- First request: the server answers 401 and names its OAuth metadata, which tells the client where to log in.
- The client signs itself up (by metadata document or dynamic registration) and starts a PKCE login.
- On the Fooocus.app consent screen you log in and allow just that client.
- The token it gets works only for https://fooocus.app/mcp; it renews itself, and you can revoke it whenever you like.
Troubleshooting the connector
Is there a fee for using the connector?
No. The connector itself is free, and a chat render costs exactly what the same render costs in the studio.
Which image models does it call?
The same two as the site: Speed is Nano Banana 2.1 at 1K and Quality is GPT Image 2 at 2K. The assistant uses Speed unless you ask for Quality.
A render failed, or I ran out of credits. What now?
A failed image refunds itself without you doing anything. When a batch needs more credits than you have, the assistant is told before anything starts and you pay nothing.
Does chat skip the prompt safety check?
No. Chat prompts go through the same screen as studio prompts before a single credit moves. A blocked prompt is free, and the acceptable use policy covers chat too.
Why does the sign-in keep coming back?
Delete the server in your client, add it again to force a clean login, and choose Allow access on Fooocus.app.
Where are the pictures saved?
Every render lands privately on your Creations page and stays there 30 days. The assistant receives the link when get_job says it succeeded, and it polls with the job id while a render is still running.
Last updated: