game-builder-mcp

v0.4.1
game-builder-mcp Checked 4 days ago Published 1 month ago

An MCP server that helps any coding agent build games in any genre, with 2D/3D web, Godot, Unity, Unreal, Bevy and more.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

plan_game

Start a new game. Returns the playbook, the recommended stack's guide and matching genre guides for the idea. Use it to write a short pitch (title, hook, core loop, stack, 3-5 v1 features, what waits for later) before building. `stack` overrides the automatic choice.

ParameterTypeDescription
idea *string
stackstring

get_guide

Return guidance: 'playbook', 'stacks', 'genres', or any stack or genre name (e.g. 'unity', 'three.js', 'werewolf', 'murder mystery', 'platformer').

ParameterTypeDescription
topic *string

scaffold_game

Create a playable starter in an empty or new folder. `stack` is one of: web2d, threejs, aframe, godot (files are written), or unity, unreal, bevy, monogame, libgdx, raylib, love, pygame, flame, renpy, multiplayer (setup steps are returned). Use an absolute folder path.

ParameterTypeDescription
folder *string
stack *string
title *string

image_prompt

Write a layout-exact prompt for an image model (ChatGPT, Midjourney, ...) to generate a sprite sheet that lines up with the game's code. `cells` describes each cell in reading order. When extending existing art, describe what must stay identical in `keep_from_reference` and the one thing that changes in `change`; the user should attach the current sheet.

ParameterTypeDescription
cell_height *integer
cell_width *integer
cells *array
columns *integer
subject *string
changestring
keep_from_referencestring
rowsinteger
stylestring

check_game

Check a game folder: missing local files referenced from HTML/CSS/JS, JavaScript syntax errors (when Node.js is installed) and PNG sizes. Run after each change. Use an absolute path.

ParameterTypeDescription
folder *string

serve_game

Serve a game folder over http://127.0.0.1 so the user can play it in a browser (serves dist/ when present). Keeps running until the agent session ends. Use an absolute path.

ParameterTypeDescription
folder *string
portinteger

playtest_game

Play a web game in a headless browser and see the result: returns a screenshot taken after the actions, console and page errors, failed asset loads, and the game's state from window.render_game_to_text() before and after (when the game defines it). Actions run in order: 'press:ArrowRight' taps a key, 'hold:KeyW:800' holds a key for 800 ms, 'click:320,200' clicks at page coordinates, 'type:hello' types text, 'wait:500' waits 500 ms, 'advance:1000' calls window.advanceTime(1000). Serves dist/ when present. Use an absolute path. The first run downloads a headless Chromium…

ParameterTypeDescription
folder *string
actions
heightinteger
pagestring
widthinteger