DEVELOPER API / MCP SERVER

Affogato MCP server

Every Affogato model and tool from Claude, ChatGPT, Cursor, Claude Code and any other MCP client. Sign in with OAuth, spend the credits of the workspace you connect, set the limits yourself.

MCP URLhttps://staging.api.affogato.ai/mcp
01 — CONNECT

One URL, any client.

Add https://staging.api.affogato.ai/mcp as an HTTP MCP server. The first tool call opens an Affogato sign-in page where you pick the workspace and approve the agent.

Claude.ai

Settings → Connectors → Add custom connector → paste the MCP URL.

Claude Code

claude mcp add --transport http affogato https://staging.api.affogato.ai/mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "affogato": {
      "url": "https://staging.api.affogato.ai/mcp"
    }
  }
}

ChatGPT

Settings → Connectors → Add (developer mode) → paste the MCP URL.

VS Code

code --add-mcp '{"name":"affogato","type":"http","url":"https://staging.api.affogato.ai/mcp"}'
02 — HOW IT WORKS

Sign-in, credits, scopes, models.

Sign-in

OAuth, not keys

The client opens an Affogato sign-in page. You sign in as yourself and choose the workspace the agent may use. No API key is created or pasted anywhere.

Disconnect an agent any time from the Developers page of the app.

Credits

The workspace you connect

Generations spend the credits of the workspace you picked when you approved the agent: the same credits as the studios and the API.

The workspace needs a paid plan or purchased credits. switch_workspace moves a session to another workspace you belong to.

Scopes

Three permissions

read List models and read your generations, files and account. generate Spends credits of the workspace you connect. files Add images, video and audio as inputs for generations.

The consent page lists exactly what the agent asked for.

Models

The whole catalog

Every image, video and audio model the API serves, with the same ids, parameters and prices in credits. list_models and get_model are the catalog; estimate_cost quotes before anything is charged.

03 — TOOLS

What the agent can call.

The tools mirror the REST API. The scope column is the permission each one needs.

readlist_modelsList the models you can call, with filters.
readget_modelOne model: parameters, input slots, price in credits.
readestimate_costQuote a request in credits without charging.
generategenerateCreate a generation. Spends credits.
readget_generationRead a generation and its outputs.
readwait_for_generationBlock until a generation reaches a terminal status.
readlist_generationsRecent generations, including failed and cancelled.
generatecancel_generationCancel a queued or processing generation.
filesupload_fileUpload a file to use as a model input.
readlist_filesList uploaded files.
readget_accountThe connected workspace, plan and credit balance.
readswitch_workspaceChange which of your workspaces the session spends from.
readenhance_promptRewrite a prompt the way the studios do.
readlist_voicesLibrary voices for text_to_speech.
readlist_headshot_stylesCurated headshot styles and the control vocabulary.
readlist_talking_head_setsCurated background sets for talking heads.
readlist_product_templatesScene templates for product ad shots.
readlist_charactersYour saved characters.
generatelipsyncSync a video's mouth to an audio track.
generatetext_to_speechSpeech from text with a library or custom voice.
generatetalking_head_keyframePlace a person on a set (talking head, step 1).
generatetalking_head_videoAnimate a keyframe to a speech track (step 3).
generateheadshotA professional headshot in a curated style.
generatecast_swapReplace the people in a clip with your photos.
generatetry_onGarments worn by a person or a described model.
generateproduct_shotAn ad photo of your product in a scene template.
04 — SPEND RAILS

Agents spend inside limits you set.

Both limits are per workspace, set by its owners and admins on the Developers page.

Estimate first

estimate_cost quotes a request in credits and never charges; generate reports the charge in its result.

Confirmation above a threshold

A generation above the workspace's confirm threshold is not started until the agent confirms it with you.

Daily cap

Agents stop spending once they reach the daily credit cap set on the Developers page. The cap resets every day.

Failed and cancelled generations are refunded

Credits are charged up front and returned in full when a generation fails or is cancelled.

Bring Affogato to your agent.

Copy the URL, add it to your client, approve it once. Agents can read llms.txt; the REST API has an interactive reference.