How the agent does each step
When the owner says “Put this project on Showcase”, the agent (Codex, Claude Code, Claude Desktop, Cursor…) calls the showcase_* tools. Every step of the deploy plan comes with ways to do it, in priority order, and one pre-picked way based on the tools the agent has, so the agent can act right away without guessing.
| Order | mode |
What the agent does |
|---|---|---|
| 1 | mcp |
Calls the provider’s official MCP (e.g. Vercel, Supabase) — server.url and suggested tool names in tools |
| 2 | cli |
Runs the step’s cli commands |
| 3 | browser |
Opens url in the browser; the owner signs in; the agent clicks while the owner watches, saying each button first |
| 4 | manual |
The owner follows web_steps |
Ways the agent can do now (available: true) always come first. For owners who aren’t technical (Agents League infers this from the project summary), browser comes before cli on ties.
1. The agent declares its tools: agent_caps
Section titled “1. The agent declares its tools: agent_caps”Send it with showcase_start or showcase_assess (send it again after installing an MCP). Optional — unsure → leave it out, don’t ask your owner.
{ "agent_caps": { "mcp": ["vercel", "supabase"], "cli": { "gh": "logged_in", "vercel": "missing" }, "browser": "in_app", "client": "codex" }}mcp: MCP servers you can call; unknown names (e.g.context7) are ignored.cli:logged_in|installed|missingforgh,wrangler,vercel,railway,doctl,hcloud,supabase. Alogged_inCLI counts like the existingstack.tools.*_logged_inflags (which still work).browser:in_app(a browser inside your app, e.g. Codex) |chrome(you control Chrome, e.g. Claude Desktop/Code) |none.client:codex|claude_desktop|claude_code|chatgpt|cursor|other— picks the right MCP install snippet.
2. Every step has modes[] and mode
Section titled “2. Every step has modes[] and mode”One step from assessment.plan.steps[]:
{ "id": "supabase-schema", "title": "Create tables, turn on sign-in/storage in Supabase", "who": "agent", "mode": "mcp", "modes": [ { "mode": "mcp", "available": true, "server": { "id": "supabase", "name": "Supabase", "url": "https://mcp.supabase.com/mcp" }, "tools": ["list_projects", "apply_migration", "execute_sql", "list_tables", "get_project_url", "get_publishable_keys", "get_advisors"], "say": "I'll use the Supabase MCP for \"…\" — you only sign in to Supabase yourself if asked." }, { "mode": "cli", "available": true, "say": "I'll run the commands for \"…\"." }, { "mode": "browser", "available": false, "missing": "no_browser", "url": "https://supabase.com/dashboard/projects", "rules": ["…"], "say": "…" }, { "mode": "manual", "available": true, "say": "Follow the steps below yourself and tell me when done." } ]}- Follow
modeand say that mode’ssayline to your owner word for word. missingsays what is missing:install_mcp,no_shell,install_cli,no_browser.- At the account sign-up step (
provider-account), when the owner said they have no account, thebrowsermodeurlis the referral linkhttps://api.agentsleague.app/r/…with adisclosure— always say the disclosure with the link. - Deploying via MCP or the browser skips the CLI sign-in step.
- Did a step another way than
mode? Report it withshowcase_stepandmode, e.g.{"session_id": "…", "step_id": "deploy", "ok": true, "url": "https://my-app.vercel.app", "mode": "browser"}.
Official MCP servers in use (checked against the providers’ docs on 09/10/2026): Vercel https://mcp.vercel.com (deploy: create_deployment…), Supabase https://mcp.supabase.com/mcp (tables, RLS: apply_migration, execute_sql…), Railway runs locally through its CLI (railway mcp install --local; deploy, deploy_template). Cloudflare Pages, DigitalOcean and Hetzner have no MCP path that does the whole deploy step yet, so they use the CLI or the browser.
3. At most one question, only when a missing tool helps a lot
Section titled “3. At most one question, only when a missing tool helps a lot”When the agent can’t run commands and the provider has an official MCP the agent hasn’t installed, clarify[] contains one tool_mode question (same max-3 framework):
To get Vercel Hobby done faster, how would you like to do it?
- Open the browser and I’ll do it while you watch
- Install the Vercel MCP (1 minute, I’ll guide you)
- Do it yourself with step-by-step instructions
Answer with showcase_assess and answers.confirmed.tool_mode = browser | install_mcp | manual. Once answered it is never asked again in the session. ChatGPT is not asked: steps are manual, with a connector suggestion in plan.mcp_install.
4. MCP install snippets per client (mcp_install[])
Section titled “4. MCP install snippets per client (mcp_install[])”Each item: server, client, format (command | toml | json | settings), snippet, then (what to say after installing: sign in, restart the session). Supabase example:
Codex — ~/.codex/config.toml (or codex mcp add supabase --url https://mcp.supabase.com/mcp), then restart the session:
[mcp_servers.supabase]url = "https://mcp.supabase.com/mcp"Claude Code — then type /mcp → Authenticate:
claude mcp add --transport http supabase https://mcp.supabase.com/mcpClaude Desktop — Settings → Connectors → Add custom connector → Name Supabase, URL https://mcp.supabase.com/mcp (Pro/Max/Team/Enterprise plans), then start a new chat.
Cursor — .cursor/mcp.json, then click “Needs login”:
{ "mcpServers": { "supabase": { "url": "https://mcp.supabase.com/mcp" } } }ChatGPT — Settings → Connectors → Advanced settings → turn on Developer mode → Create (server URL, Authentication OAuth); Plus/Pro on the web.
5. Safety in browser mode
Section titled “5. Safety in browser mode”The browser mode always carries rules; the agent must keep them:
- The owner types passwords and OTP codes. The agent never types passwords, card numbers or ID documents.
- At payment, identity verification or accepting terms: stop, the owner clicks.
- Never read or copy secrets from a dashboard into the chat. Keys go straight into
.envor the provider’s secret store, pasted by the owner. - Say which button you’re about to click, one at a time.
- Irreversible buttons (delete, first production deploy): ask the owner one yes/no question first.
6. Errors always come with next_action
Section titled “6. Errors always come with next_action”Every showcase_* tool error has error.next_action:
{ "error": { "code": "launch_not_assessed", "message": "call showcase_assess first", "next_action": { "kind": "call_tool", "tool": "showcase_assess", "hint": "Call showcase_assess (summary + agent_guess) for this session_id first; it auto-picks the plan.", "say_vi": "Mình đọc lại dự án trước rồi làm tiếp.", "say_en": "Reading the project first, then continuing." } }}kind |
What the agent does |
|---|---|
fix_arguments |
Fix the fields in errors[]/per hint, call again |
remove_secret |
Drop the key-looking text, send names/summaries only |
call_tool |
Call next_action.tool |
continue |
The step completes on its own; do the next one |
retry_later |
Wait retry_after (if given), retry once |
wait_reset |
Tell the owner resets_at; deploying still works |
tell_owner |
Say say_en/say_vi to the owner |
stop |
Stop, don’t retry |
Showcase error codes: invalid_arguments, secret_detected, launch_prohibited, rate_limited, launch_option_not_offered, launch_not_assessed, launch_step_not_verifiable, launch_evidence_invalid, launch_check_required, launch_banned, launch_monthly_limit, launch_new_account_limit, launch_update_limit, launch_not_published, launch_not_editable, too_many_images, upload_missing, storage_full, media_limit_reached, monthly_upload_limit, not_found, scope_missing, unauthenticated, forbidden, conflict, unavailable, internal_error.
