Theatre gives AI agents spatial awareness of running Godot games, live interaction for testing hypotheses, and the ability to build scenes, resources, and animations — all through the Model Context Protocol.
AI coding agents can read your source files, set breakpoints, inspect variables — but they cannot see your game. When an enemy clips through a wall, when a patrol path overshoots, when physics bodies tunnel through geometry — your agent has no way to observe these problems.
It's like debugging a web app without being able to open the browser.
See and interact with the running game. Spatial snapshots, real-time deltas, watches, recordings — plus live property mutation and method calls for testing hypotheses without restarting.
Build and modify scenes, resources, tilemaps, and animations through Godot's own API. No hand-editing .tscn files.
Theatre connects your AI agent to your Godot game through the Model Context Protocol (MCP). Stage observes and interacts with the running game via a GDExtension addon. Director modifies scenes through the editor or headless Godot. Both communicate over TCP, exposing structured tools your agent already knows how to use.
The killer workflow: human plays, AI analyzes.
You press F9 to mark the bug moment — the dashcam saves the last 60 seconds of spatial data — and the agent scrubs through the spatial timeline to find exactly what went wrong — no screenshots, no narration, no guessing from code.
Fast-moving objects pass through walls. The code looks right but the collision just... doesn't happen.
See how to debug this →NPCs get stuck, take bizarre routes, or refuse to move. The navmesh looks fine in the editor.
See how to debug this →Two objects should collide but don't. Or they collide when they shouldn't. Layer/mask bits are a maze.
See how to debug this →The attack animation plays but the hitbox doesn't activate at the right frame. Timing is off.
See how to debug this →curl -LsSf https://github.com/nklisch/theatre/releases/latest/download/install.sh | shtheatre init ~/your-godot-projectThis copies addons, generates .mcp.json, and enables plugins — all interactively.
skilltap install nklisch/theatreInstall skilltap to manage agent skills. Installs theatre-stage (spatial debugging) and theatre-director (scene authoring) skills that teach your agent tool selection, workflows, and pitfalls.
"Take a spatial snapshot of my scene"Your AI agent now sees your game world — via MCP tools or CLI (stage spatial_snapshot '{"detail":"summary"}'). Ask it to set a property or call a method on a running node to test a fix without restarting.