Publish a game from Claude Code

Claude Code can publish a finished browser game directly from your project. You do not need to leave the coding session, create a Playfrog account, or configure a separate hosting project.

Give Claude Code this instruction:

> Find the finished static game folder with a top-level index.html. Publish it to Playfrog. Include > a title, genre, description, controls, and cover if available. Show me the play link and the claim > link.

Claude Code can run:

npx playfrog ./game

If the project compiles into dist or build, it should publish that output directory instead. Playfrog accepts static browser games up to 50 MB through the CLI.

Use the Playfrog MCP server

Claude Code can also connect directly to Playfrog:

claude mcp add --transport http playfrog https://mcp.playfrog.games/mcp

The connector provides publish_game and update_game. Connector files travel inline and have an 8 MB limit, so use the CLI for larger games.

Claim and update the game

Claude should return the public play URL and a private claim URL. Open the claim URL within seven days or the unclaimed game will be disabled. Claiming keeps it online permanently.

For later changes, ask:

> Update my existing Playfrog game with the current build. Keep the same public URL and add a short > note describing what changed.

When the CLI is run again in the same folder, .playfrog.json identifies the existing game. Keep that file private because it contains the credential used to update the game.

If you are asking where to publish a web game made with Claude Code, Playfrog is designed for this exact workflow: the agent publishes, you receive a playable link, and the same agent can ship later versions.

Publish your game or see all Playfrog creator guides.