@kettio/mcp-server v3.0.0.
Every ranking tool takes local file paths and handles the upload for you. Inside an MCP
client there is no separate “publish to a URL” step — that only applies when you call the
REST API directly.
Choosing a ranking tool
rank_assets
Scores and returns the ranking in one call. Use it for interactive work where you want the
answer immediately.
rank_ad_batch
Queues the work and returns a run ID straight away. Use it for large batches, or when
blocking the agent for the whole scoring pass is not acceptable.
rank_assets
Runs Kettio’s audience-fit model on 1–20 local ad creatives and returns the ranked winner, real Kettio scores, confidence, rationale, and close-pair panel outcome.rank_ad_batch
Queues an asynchronous ranking run and returns a run ID immediately. Pollget_rank_run to collect the result.
Takes the same parameters as rank_assets, plus:
audience is required unless you supply audienceId.
get_rank_run
Polls one run created byrank_ad_batch.
list_audiences
Lists saved audiences on the authenticated account, with their IDs.
Pass an ID as
audienceId to rank_ad_batch to score against a saved audience instead of
retyping a description.
Creating, editing, and deleting audiences happens in the
Kettio dashboard, not through this server. The MCP surface is
read-only for audiences.
Workspace resolution
The server resolves relative paths against, in order:KETTIO_WORKSPACE_PATHwhen setCLAUDE_PROJECT_DIRwhen available (Claude Code)- The MCP process working directory
KETTIO_WORKSPACE_PATH explicitly if your agent runs from a different directory than the
repo holding the creatives.
Related
Agent setup
Install the ranking pipeline into a coding agent end to end.
Agent loop
The generate → score → decide cycle, and when to drop to REST.