Publish a game from Claude Code over MCP

Connect Claude Code to the FanZero MCP server, then ask it to publish your game listing. It gathers the media, platform links, prices, monetization and your approved revenue-share offers, then submits them together with publish_game. Use the original online game link by default; a preview is an exception that must represent the game and improve access. A human curator reviews every new listing before it is public. Listing a game is free.

Codex, Cursor, VS Code and other MCP clients work the same way: their setup is further down.

Planning how to reach an audience? Distribute an indie game with Codex or Claude Code explains the publishing flow, complete listings, optional playable versions and influencer revenue-share pacts.

Prefer a reusable publishing skill? Install FanZero Publish for Codex or Claude Code. You can use it to prepare a complete listing before creating a studio. MCP connection is configured separately when you want to use the publishing tools.

What you need

1. Use an existing key or include studio details

Already have a studio key? Give the agent access privately or put it in an environment variable, never git. No studio yet? Include your approved name and contact in the same publish_game call as the listing; it creates both together. There is no separate registration prerequisite. The new key is returned only in the initial result, not an anonymous retry; keep it in a password manager. Studio sign-in is also available at the studio desk.

export FANZERO_API_KEY=gmk_your_key

2. Connect Claude Code

claude mcp add --transport http fanzero https://fanzero.app/mcp --header "Authorization: Bearer $FANZERO_API_KEY"

The shell fills in $FANZERO_API_KEY when you run the command, so Claude Code saves the key itself. In a game repo you can use a project .mcp.json instead, which reads the key from the environment each time Claude Code starts:

{
  "mcpServers": {
    "fanzero": {
      "type": "http",
      "url": "https://fanzero.app/mcp",
      "headers": {
        "Authorization": "Bearer ${FANZERO_API_KEY}"
      }
    }
  }
}

Publishing with a new studio? An anonymous MCP connection or HTTPS client can call publish_game with approved studio details. The initial response includes the new key; preserve it privately and pass it as api_key on later studio calls. Add it to persistent setup only if you want that configuration.

3. Hand it the game

From your game's folder, paste this into Claude Code:

Read https://fanzero.app/agents.md
Then publish the game in this folder to FanZero.

Your agent reads the guide written for it, then:

  1. Reads read_listing_guidelines once and prepares the complete listing from information and public assets already available.
  2. Collects only missing facts or decisions into one question. Publication and exact terms already authorized stay authorized; it does not ask you to approve them again.
  3. Optionally uses check_build as a dry run. No key is needed and nothing is stored. A no-build listing needs no game conversion.
  4. Calls publish_game once with the approved listing, pacts, existing key or studio details, a stable idempotency_key and human_approved: true. The flag reflects real approval; it does not replace it.
  5. Saves the game id and any new key privately, then follows next_step: fix the existing listing, wait for the curator, or report that it is live. A timeout is retried with the same idempotency key and identical payload, not a second listing.

4. What it may need from you

it askswhy
Which game and its existing public informationA listing can use descriptions and store pages without a local build
Missing game facts for the title, tagline and descriptionThe agent drafts accurate copy from information already authorized
Genre (arcade, action, puzzle, roguelike, platformer, cozy, strategy, rhythm, horror, weird) and stage (napkin, prototype, vertical-slice, alpha, beta, released)They place the game in the catalog
Every pact term: the action (livestream, video, short, post, playtest), share_pct (above 0, at most 50), weeks (2 to 8, 4 if left out), optional requirement text and audience preferenceA pact is a revenue offer, so the terms are yours
Images or videos; platform links and individual prices/currencies or monetizationInfluencers need to understand the game and where their audience can get it
A justified hosted preview, if applicableOnly after verifying fidelity, sandbox gameplay and an advantage over the original link
An existing key or approved new studio name and contactNew-studio onboarding can be part of the publication call
Permission to publish, and that you own or may use every assetThe game goes public
Who pays the influencers, and howFanZero does not move money

It groups only the unresolved items into one question. Examples in the guides are not default commercial terms.

5. Three gates: validation, critic, curator

gatewhat happens
ValidationChecks the listing, media URLs, platform information and pact terms. It checks offline code and bundled assets only when a playable version is uploaded. Blocking issues come back as specific notes.
The CriticAn AI review that scores fun potential, clarity and the listing (0 to 100) and leaves notes. It can ask for changes; it can't reject a game. Claude reviews when the server has an Anthropic API key (up to 50 submissions a day by default), house heuristics otherwise.
The CuratorA person reviews the listing and its media and platform information, and plays any uploaded build. The final approval is required before a new listing is public.
statusmeans
checkingThe Bouncer and the critic are running (only while submit_game or update_game runs).
changes_requestedBlocking issues, a critic "changes" verdict or a curator's request. Fix it with update_game.
awaiting_curatorPassed the automated checks; a human curator reviews the listing and any playable version. Not live yet.
listedLive in the catalog. Influencers can request its open pacts with dated action plans.
rejectedA curator said no. Final for this game.

There is no fixed time for the curator. Your agent stops tight polling and checks get_review when asked or under an authorized follow-up.

6. Fix what the review asks for

On changes_requested, your agent fixes the specified listing fields or optional build and sends update_game with the same game_id. Metadata corrections can re-run review without uploading a build. It never creates a fresh listing to bypass review. Optional dry runs can help resolve specific blocking notes.

For a hosted preview, the agent must supply truthful preview_review flags for fidelity, sandbox gameplay and an advantage over the original link, with a reason. Unknown or false criteria mean omit the upload. Publishing approval never authorizes removing online features or making an offline substitute. A passing live preview update can go live immediately; test and justify that exact version first.

To retire a misleading preview, use update_game with remove_preview: true and complete media, platforms and monetization. The original game, listing id, pacts and history stay intact. Do not send a replacement build or its review in the same removal call.

7. When influencers request a pact

There are no notifications yet: your agent looks at list_my_games about once a day, and the studio desk shows the same requests and proposed content dates.

What your agent does on its own: read_listing_guidelines, check_build, whoami, get_review, list_my_games, browse_games. What waits for your OK: create_studio, publish_game, submit_game, update_game, add_pact, close_pact, respond_to_claim, confirm_delivery, submit_settlement.

Codex

codex mcp add fanzero --url https://fanzero.app/mcp --bearer-token-env-var FANZERO_API_KEY

Or in ~/.codex/config.toml:

[mcp_servers.fanzero]
url = "https://fanzero.app/mcp"
bearer_token_env_var = "FANZERO_API_KEY"

Codex reads FANZERO_API_KEY when it starts. Then hand it the same line as in step 3.

Cursor

.cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor reads FANZERO_API_KEY when it starts.

{
  "mcpServers": {
    "fanzero": {
      "url": "https://fanzero.app/mcp",
      "headers": {
        "Authorization": "Bearer ${env:FANZERO_API_KEY}"
      }
    }
  }
}

The dev page also has an install button for Cursor, with the config it installs printed next to it.

VS Code

.vscode/mcp.json. VS Code asks you for the key (input fanzero_key).

{
  "servers": {
    "fanzero": {
      "type": "http",
      "url": "https://fanzero.app/mcp",
      "headers": {
        "Authorization": "Bearer ${input:fanzero_key}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "fanzero_key",
      "description": "FanZero studio API key",
      "password": true
    }
  ]
}

Other MCP clients

The same URL and header, in your client's own format, often like this:

{
  "mcpServers": {
    "fanzero": {
      "type": "http",
      "url": "https://fanzero.app/mcp",
      "headers": {
        "Authorization": "Bearer <your FanZero API key>"
      }
    }
  }
}

claude.ai, Claude Desktop and ChatGPT connectors sign in with OAuth or connect without auth, and FanZero has no OAuth yet. Connect without auth and let the agent pass api_key on each studio tool call; the key then sits in the conversation, so keep that chat private.

No MCP client?

Any HTTP client works. This lists the tools:

curl -sS --json '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' https://fanzero.app/mcp

The agent guide shows how to call any tool this way, and how to send big builds over the HTTP API.

Limits

callsper hour
create_studio, and publish_game without a studio key (also POST /api/studios and POST /api/publish)10
publish_game, submit_game, update_game and submit_settlement together (also over HTTP)60
check_build120
influencer account sessions20
influencer pact requests (legacy bucket name: pitch)30
pact messages (web)120
plays counted on game pages (POST /api/games/:slug/play)60
anonymous events from our own games (POST /api/play-event)1200

Common questions

Does it cost anything?

Nothing upfront, and listing a game is free. When a pact earns, you pay the influencer the agreed share of the revenue earned during its window, plus FanZero's fee: 10% of that share. FanZero doesn't charge the fee yet and will say so here before it does.

Can I publish a game that already sells on Steam or itch.io?

Yes. List the game with screenshots or videos and each platform's link, price and currency or monetization model. You do not need to upload or adapt the game. Sales across those stores count during the influencer's exclusive window. The original playable online link is the default. A hosted preview must be representative, tested in FanZero's sandbox and better than the direct link for a stated reason.

Does my agent decide anything for me?

It runs the checks, reads the review and sends fixes while the game is in review. It drafts listing text from authorized facts and reuses your publishing request and approved terms. Only missing or changed commercial commitments, live changes and decisions about a particular influencer need another decision.

More