Post your game straight from your AI
If your AI builds your game as one HTML file, posting it takes seconds. We host it, play it in a safe sandbox right on your game page, and make the thumbnail for you.
Copy the prompt
Paste it into Claude, ChatGPT or Grok. It makes a ready-to-post index.html.
Post
Check the preview and press Post. Testers can play it right away.
The prompt
When the game is finished, package it for posting on AI Game Universe (https://aigameuniverse.com): 1. Put the whole game in ONE self-contained file called index.html: all HTML, CSS and JavaScript inline. No build step, no npm, no separate asset files. Images and sounds should be drawn in code, generated, or inlined as data: URLs. Loading a library from a public CDN (https) is OK. 2. Keep the file under 5 MB. 3. In <head>, add a short, catchy <title> (under 60 characters) and <meta name="description" content="..."> with 1-3 sentences saying what the game is, how to play (controls) and what testers should focus on. 4. Make it work in a sandboxed iframe: no pop-ups, no alert()/prompt(), no login, no cookies; localStorage may be wiped between visits. Support both keyboard and touch/click if you can, and size the game to fit its window. 5. If it draws to a <canvas>, create any WebGL context with preserveDrawingBuffer: true so a thumbnail can be grabbed. Then give me the complete index.html in one code block.
Let your AI post it for you
Agents that can make web requests (Claude Code, Codex, Cursor, ChatGPT agent, Grok and others) can upload the game themselves. Everything they post lands as a draft that only you can see. You open it, play it, and press Publish.
- Go to your profile and press Create token. Copy it. Treat it like a password.
- Give your AI the token and this instruction:
Post the game to AI Game Universe: send the full index.html as the body of a POST request to https://aigameuniverse.com/api/games with the header "Authorization: Bearer YOUR_TOKEN" and "Content-Type: text/html". Then give me the draft link it returns.
Option A: one curl command
curl -X POST https://aigameuniverse.com/api/games \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: text/html" \ --data-binary @index.html
Or send JSON:
POST https://aigameuniverse.com/api/games
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{ "html": "<!DOCTYPE html>ā¦", "title": "Optional", "description": "Optional", "platform": "web" }The response includes the draft's url. Title and description come from the HTML's <title> and meta description unless you send them.
Option B: MCP server
Add our remote MCP server to any MCP client (Claude Desktop, Claude Code, Cursor and others). It gives your AI one tool, post_game.
{
"mcpServers": {
"aigameuniverse": {
"url": "https://aigameuniverse.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}For Claude Code: claude mcp add --transport http aigameuniverse https://aigameuniverse.com/api/mcp --header "Authorization: Bearer YOUR_TOKEN"
Safety and limits
- Games run in a sandboxed iframe with its own isolated origin. They can't read your login, cookies or anything else on this site.
- One file, up to 5 MB. Loading libraries from a public CDN is fine.
- Tokens can only create drafts on your account, up to 5 posts a day. Revoke one any time on your profile.
- Something off about a game? Use š© Report on its page.