How to make games in Codex: the Codex CLI, the ChatGPT app, or your ChatGPT plan inside Flockbay Flockbay, a free AI game maker built on the official Godot 4.7.2 engine, now lets developers connect OpenAI's Codex to a running game over MCP with a single `codex mcp add` line, giving Codex the ability to playtest, read runtime errors, capture the viewport and fix what broke. Users can alternatively sign in with ChatGPT inside Flockbay on any plan, including Free, to have the app's built-in AI build on their existing subscription. The tool runs on Windows, macOS and Linux and requires no cost beyond the user's ChatGPT plan. Codex makes games when it can run them: connect it to Flockbay with one codex mcp add line, and Codex puts together a Godot 4 game in the editor Flockbay hosts, runs it, reads its errors and playtests it. If you would rather not run Codex yourself, sign in with ChatGPT inside Flockbay instead, on any ChatGPT plan, Free included. Neither costs anything beyond the ChatGPT plan you already have. Flockbay is free, AI included: free hosted AI every day, or your own Claude, ChatGPT, agent or API key. It runs on Windows, macOS and Linux, on the official Godot engine. Source: https://flockbay.com/how-to-make-games-in-codex/ https://flockbay.com/how-to-make-games-in-codex/ ยท Updated 2026-10-05 As of 29 Sep 2026, on Windows. Codex: install the CLI, sign in with ChatGPT, then in Flockbay open Connectors, Connect your agent MCP , Set up, Turn on, Codex, Copy, and paste the line into PowerShell; /mcp in Codex lists flockbay-stage. No Codex: Connectors, ChatGPT, Sign in with ChatGPT, on any plan, Free included. Codex is careful by design. It plans, works inside a sandbox, and asks before it does anything it is unsure of. Ask it for a coin that spins and disappears when the player touches it, and you get a clean script and a tidy explanation. What you do not get is the moment where Codex watches the player walk into the coin. It never ran the game, because nothing it had could. Flockbay is the missing half. It is a free AI game maker built on Godot: a desktop app with the official Godot 4.7.2 inside, not a fork, where your game is a real Godot 4 project you can open, read and change, and the world tools live inside the Godot editor. Over MCP it hands Codex the running game: Codex playtests it, reads the errors, captures the viewport and fixes what broke before it reports back. There are two ways to put OpenAI's models to work on a game in Flockbay, and they are different products. You can run Codex yourself and connect it, or you can sign in with ChatGPT inside Flockbay and let the app's own AI build on your subscription. This page covers both, with the troubleshooting specific to Codex. For Claude, the same walk is how to make games in Claude Code https://flockbay.com/how-to-make-games-in-claude-code/ . 64-bit Windows 11 on Intel or AMD, a Mac with Apple Silicon, or Linux as an x86 64 AppImage, which is where Flockbay runs. A connection to the internet for as long as you are building, and a Flockbay account, which is free and which the app makes for you the first time you open it. Codex, in one of the three places OpenAI ships it: the Codex CLI, the IDE extension, or the ChatGPT desktop app, where you choose Codex. The CLI runs natively on Windows; install it from PowerShell with the line below, or with npm install -g @openai/codex. The first time you run codex, choose Sign in with ChatGPT. A ChatGPT account. As of 5 Oct 2026, the Codex pricing page at OpenAI lists Codex on every ChatGPT plan: Free for quick coding tasks, Go for lightweight ones, and more usage from Plus at $20 a month. An OpenAI API key works too, billed at API rates: codex login --with-api-key reads it from standard input. We have not run the standalone CLI on a Free account ourselves; the Codex engine inside Flockbay does build on one. powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" Install Flockbay from flockbay.com, open it and describe your game in a sentence. The app shows what it understood, with 2D or 3D preselected; pick the folder and press Continue. Your game opens in the Godot editor that the Flockbay app hosts. Leave it there: Codex can only reach the game the app has open. In the Flockbay menu choose Connectors, then Set up beside Connect your agent MCP . Switch it on with Turn on, choose Codex from the list, and Copy. Run the copied line in PowerShell or Command Prompt. It registers a single server, flockbay-stage, in Codex's global config, so Codex sees it from any folder. Press Install skills in the same place. It copies Flockbay's instructions for your agent into Codex's skills, so Codex knows how the tools fit together before it starts. Codex gets skills only; the hooks the app installs are for Claude Code and Cursor. The Flockbay app writes this for you with the real paths filled in: open the account menu, choose MCP connection, press Turn on, pick Codex and press Copy. The three paths are specific to your machine and stay the same from one sitting to the next, so you paste it once. Below is the shape, with the paths as placeholders. codex mcp add flockbay-stage --env "FLOCKBAY LOCAL STAGE CAPABILITY AUTHORITY DESCRIPTOR=