> publish console

Publish a game without losing the thread

Create one publishing token, connect your coding agent, paste one prompt, and get a live AIGameShare URL back.

checking session
01

1. Create a publishing token

Your agent uses this token to publish under your account. A full token is shown once; existing tokens only show a prefix.

02

2. Connect your agent

Pick the tool you are using. These snippets all point at the same hosted AIGameShare MCP server.

  1. Open a terminal in the game project.
  2. Add AIGameShare as a remote HTTP MCP server.
  3. Start or restart Claude Code, then ask it to publish.
claude mcp add --transport http aigameshare https://www.aigameshare.com/mcp \
  --header "Authorization: Bearer ags_YOUR_TOKEN"

Use a fresh token for the easiest setup. If you already saved an older token, you can replace the placeholder manually.

03

3. Paste this prompt

After MCP is connected, paste this into the agent from the project that contains your game.

Use the AIGameShare MCP server. First call create_game_guide. Inspect this HTML5 game and make it work inside the AIGameShare sandbox: bundle runtime assets, avoid external network calls, do not depend on persistent localStorage, and add mobile controls when reasonable. Then call upload_game_guide and publish_game. Use a strong title, short description, category, tags, controls, device_support, and leaderboard fields if the game has a score. Return the public play URL.

Tip: keep the token out of git. Fresh tokens are for setup convenience, not screenshots.

No MCP? Use the browser fallback.

The form still works for single-file HTML or zip builds. It is slower, but it is not second-class.

04

4. Verify the live URL

A successful publish returns a play URL immediately. Open it, then check your creator dashboard for the new game row.