AI PhantomCamera
Adds a phantomcamera RQL source that lists the scene’s Phantom Camera cameras and hosts with their modes by name, plus validated SetFollow / SetLookAt calls; priority and damping are node property writes. Requires the Phantom Camera addon.
At a glance
What the agent can do with it
Adds no MCP tools: it contributes an RQL module with the phantomcamera source. That powers 3 capabilities the agent reaches through rql-query / rql-mutate. How RQL works →
- Follow & look-at
Set a camera’s follow and look-at mode by name and its target, validated against the camera (2D / 3D) and the mode.
phantomcamera.cameras | where name == "PCam" | call SetFollow("Simple", "Player") - Priority & damping
Write camera properties such as priority and damping through the row’s node (undoable); create cameras and hosts with the core AddChild.
phantomcamera.cameras | where name == "PCam" | get node | set props["priority"] = 50 - Read cameras
The phantomcamera source: every Phantom Camera with its priority, modes and targets, and every host with its Camera3D.
phantomcamera.cameras | select name priority followMode followTarget lookAtMode lookAtTarget
Install
Requires the base plugin godot_mcp. Then build the project (godot-cli build <GodotProject>); the RQL module loads with the package — the agent sees it in rql-schema.
godot-cli install-extension com.IvanMurzak.Godot.MCP.PhantomCamera <GodotProject>When to ask the AI for it
Ask for cinematic or gameplay cameras in Godot — a follow cam, a look-at target, or a priority-based camera cut.
Example prompts
Copy-pasteable first requests. Start with one, verify it in the editor, then build up.
Add a PhantomCameraHost under the Camera3D and a PhantomCamera3D that follows and looks at the Player.Set the boss camera’s priority to 50 so it takes over.