AI Beehave
Adds a beehave RQL source that lists the scene’s behaviour trees and their nodes with their Beehave classes; build and configure trees with the core AddChild and node property writes. Requires the Beehave addon.
At a glance
What the agent can do with it
Adds no MCP tools: it contributes an RQL module with the beehave source. That powers 2 capabilities the agent reaches through rql-query / rql-mutate. How RQL works →
- Build behaviour trees
Create a BeehaveTree and its composites, decorators and leaves with the core AddChild (Beehave classes by name), and set tree properties such as the tick rate through the row’s node.
godot.find("BT") | call AddChild("SelectorComposite", "Sel") - Read behaviour trees
The beehave source: whether the addon is installed, every tree in the scene, and every Beehave node with its class, kind, tree and depth.
beehave.nodes | where tree == "BT" | select name scriptClass kind depth path
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.Beehave <GodotProject>When to ask the AI for it
Ask when you want to scaffold or inspect enemy/NPC AI as a Beehave behaviour tree (BeehaveTree, composites, decorators, action/condition leaves).
Example prompts
Copy-pasteable first requests. Start with one, verify it in the editor, then build up.
Create a BeehaveTree named BT with a SelectorComposite, an InverterDecorator and an ActionLeaf under it, and set its tick rate to 2.Show every node of the BT behaviour tree with its Beehave class and depth.