Make games with Codex
Connect OpenAI’s Codex to Gamesteel, sign in once, and ask for your first game.
Before you start
Install Codex and sign in to it. Gamesteel works through it on your computer: ChatGPT in a browser can’t start a program.
You also need Node.js 20 or newer, which runs the Gamesteel program, and a Gamesteel account. Every new account starts with a free week.
Connect it
In a terminal, run npx gamesteel@latest connect codex. It adds a server named gamesteel to ~/.codex/config.toml, or to the one in CODEX_HOME when you set it.
It gives Gamesteel 90 seconds to start, since the first start downloads the program, and 15 minutes for a call, since building an app takes a while.
Start Codex again and type /mcp: gamesteel is listed with its tools.
Sign in and make a game
The first time your agent asks Gamesteel for something, the program opens Gamesteel’s sign-in in your browser, and does nothing until you sign in.
- Log in, if you aren’t already.
- Pick the workspace the agent will work in.
- Choose Allow, on the computer your agent runs on.
- When the page says Gamesteel is signed in, go back to your agent and ask again, for example “try again”.
Ask your agent for a small game. A good first ask says what the player does again and again, how the game is won or lost, the controls, the look, and the screens you want. For example: “Make me a small top-down game with Gamesteel: a fox gathers ten berries in a garden before the sun sets. Arrow keys to move. Warm autumn colours. A title screen, and a screen for winning and one for losing.”
If it doesn’t work
Your agent, in Help, covers tools that don’t show, a timeout, a sign-in page that didn’t open and the wrong account. Connect lists all 29 agents Gamesteel works with.