editor_focus
Bring the Godot editor window to the foreground.
How to use it
editor_focus is exposed by the Godot MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the editor_focus tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Godot MCP
npx @yanhuifair/godot-mcp --enable-plugin -p .Other tools in Godot MCP (39)
Add a node to the currently open scene in editor.
Create and open a new scene in the editor.
Delete currently selected nodes.
Duplicate a node with children, scripts, and signals.
Get editor status info.
Get currently open scene path.
Get FPS, draw calls, memory usage while game is running.
Get editor window dimensions.
Get the live scene tree while the game is running.
Check unsaved changes plus the last action name and whether undo/redo are available.
Get selected nodes in editor.
Instantiate a PackedScene into the current scene.
Open a dock: filesystem, inspector, scene, output.
Play project from editor.
Read live editor scene tree.
Redo the last undone scene action and report which action was redone.
Save and reload current scene.
Remove a node from the currently open scene.
Run a specific scene (not just main).
Save current scene in editor.
Save all open scenes.
Set the project main scene.
Select node in editor.
Reveal a file in the FileSystem dock.
Stop playing in editor.
Undo the last scene action (including every MCP scene mutation) and report which action was undone.
System status / diagnostics: editor bridge, live-game runtime bridge, and tool count. Use to debug connection issues.
Call a method on a node in the running game.
Emit a signal on a node in the running game.
Pause (freeze) the running game.
Read live properties of a node in the running game.
Read the running game scene tree (live, inside the played game).
Inject a key input event into the running game (keycode + press/release).
Check if the live-game runtime bridge is reachable.
Resume (unpause) the running game.
Capture a screenshot of the running game viewport.
Set properties on a node in the running game (live mutation).
Advance the running game by N frames deterministically while paused (frame stepping).
Search all tools by keyword/description to discover the right tool name. AND-combines space-separated words; name matches rank higher.