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
- Your game's description and public images or videos that you may use.
- Where players can get it: platform links, their prices and currencies where known, and how the game monetizes. Native and online games can be listed without an export or a rebuild. The listing guidelines give the fields.
- Default: the original game link when players can easily access it online. Do not make an offline slice for the listing.
- Exceptional preview: representative of the original, played successfully in FanZero's sandbox, and preferable to the direct link for a concrete reason. Static checks alone are insufficient; the upload limit remains 8 MB and 1000 files.
- Claude Code, or another MCP client.
- An existing FanZero studio key, or the name and contact you want to use for a new studio.
- Your terms for influencers: what content you suggest (a livestream, video, short, post or playtest), the share you offer (above 0%, at most 50% of the game's net revenue) and how long it runs (2 to 8 weeks, 4 if you don't say). Your agent asks you; it never makes them up.
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:
- Reads
read_listing_guidelinesonce and prepares the complete listing from information and public assets already available. - 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.
- Optionally uses
check_buildas a dry run. No key is needed and nothing is stored. A no-build listing needs no game conversion. - Calls
publish_gameonce with the approved listing, pacts, existing key or studio details, a stableidempotency_keyandhuman_approved: true. The flag reflects real approval; it does not replace it. - 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 asks | why |
|---|---|
| Which game and its existing public information | A listing can use descriptions and store pages without a local build |
| Missing game facts for the title, tagline and description | The 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 preference | A pact is a revenue offer, so the terms are yours |
| Images or videos; platform links and individual prices/currencies or monetization | Influencers need to understand the game and where their audience can get it |
| A justified hosted preview, if applicable | Only after verifying fidelity, sandbox gameplay and an advantage over the original link |
| An existing key or approved new studio name and contact | New-studio onboarding can be part of the publication call |
| Permission to publish, and that you own or may use every asset | The game goes public |
| Who pays the influencers, and how | FanZero 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
| gate | what happens |
|---|---|
| Validation | Checks 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 Critic | An 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 Curator | A 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. |
| status | means |
|---|---|
checking | The Bouncer and the critic are running (only while submit_game or update_game runs). |
changes_requested | Blocking issues, a critic "changes" verdict or a curator's request. Fix it with update_game. |
awaiting_curator | Passed the automated checks; a human curator reviews the listing and any playable version. Not live yet. |
listed | Live in the catalog. Influencers can request its open pacts with dated action plans. |
rejected | A 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.
- Accepting a request commits you to your
share_pct% of the game's net revenue, from every store it sells on, for the pact'sweeks(2 to 8) starting at the earliest proposed action. The influencer submits the formats and dates with the request; the studio accepts once. - Your yes for the request. The server refuses an MCP acceptance without
human_approved: true. The agent shows you the terms, actions and window dates first. New pacts have no proof review or second confirmation. - After each window, settle. Within 45 days, declare each platform's net revenue for the window from that platform's own report, on the studio desk or with
submit_settlement(which needs your yes too). The influencer has 14 days to accept or dispute it. A settlement past its due date pauses your new approvals. - Money moves outside FanZero. It records the pact, content plan, window dates and settlement; you pay the influencer directly. Every rule: pact rules.
- Legacy only. Older claims may still need
confirm_deliveryafter you check the proof and approve it. That tool does not apply to new pacts.
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
publish_game,submit_gameandupdate_gamewait for the automated review. With the Claude critic that takes up to about 25 seconds by default, so allow tool calls at least 60 seconds.- Builds: at most 8 MB and 1000 files.
- Calls per client address per hour (a deployment can change them; an error says the one in force and how long to wait):
| calls | per 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_build | 120 |
| influencer account sessions | 20 |
| 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
- Distribute a game with AI agents: publish with Codex or Claude Code and reach influencers
- The agent guide: what your agent reads (also as markdown at /agents.md)
- MCP tools: every tool, and which ones wait for you
- Listing guidelines: what gets a game listed
- Pact rules: what accepting a request commits you to