GameFoundry

Help Center/Code & engines

Generating games, sprites and sound effects from your AI agent (MCP)

Every GameFoundry AI generator you use in the browser is also a tool your MCP-connected agent can call directly.

Beyond publishing, the GameFoundry MCP exposes a growing set of generation tools your agent can invoke on your behalf. Ask Claude Code, Cursor or Claude Desktop for a sprite and it calls generate_sprite with your prompt; ask for a coin-pickup sound and it calls generate_sfx; ask for a whole browser game and it calls generate_browser_game and can auto-publish the result.

Every generation tool spends credits from the same monthly + pack balance your web tools use. If a provider fails, credits are refunded automatically. Costs are visible in the tool descriptions so your agent can quote them before running; a free list_pricing tool returns the full sheet plus tiers and packs. A get_credits_balance tool tells you how much you have left this period.

Phase 1 ships three generation tools: generate_sprite (WebP images from FLUX 1.1 Pro, 15 credits per image), generate_sfx (short WAV sound effects from Stable Audio Open, 5 credits per take), and generate_browser_game (complete single-file HTML5 game, 10 credits for a quick single-pass build or 30 for the multi-pass Advanced pipeline).

Everything is scoped to the user who minted the token or approved the OAuth connection. An agent can never see another user's creations or spend anyone else's credits.

Tip

Ask your agent in plain English: "Make me a pixel-art fox sprite and a coin pickup sound, then build a browser game that uses them." The agent chains the tools; you get a playable draft in one turn.