MCP server
Behavior Trees Official
io.github.behaviortrees/behaviortrees
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Validate, convert (behavior3 JSON, BehaviorTree.CPP XML) and open behavior trees in a visual editor
Working at last checkOfficial: behaviortrees.com's GitHub account (behaviortrees)About 1,517 tokens per request once connected6 tools
https://www.behaviortrees.com/mcp
At a glance
- Type
- MCP server
- Publisher
- behaviortrees.com (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 6
- Token cost
- About 1,517 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.behaviortrees] url = "https://www.behaviortrees.com/mcp"
Gemini CLI
{"mcpServers":{"behaviortrees":{"httpUrl":"https://www.behaviortrees.com/mcp"}}}
Cursor
{"mcpServers":{"behaviortrees":{"url":"https://www.behaviortrees.com/mcp"}}}
VS Code
{"servers":{"behaviortrees":{"type":"http","url":"https://www.behaviortrees.com/mcp"}}}
Antigravity
agy mcp add behaviortrees https://www.behaviortrees.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"behaviortrees","server_url":"https://www.behaviortrees.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"behaviortrees","server_url":"https://www.behaviortrees.com/mcp"}
Tools
convert_tree~390 tokens
Convert between behavior3 JSON and BehaviorTree.CPP XML (v4 for ROS 2 Jazzy and Groot2, v3 for ROS 2 Humble), the same way the editor imports and exports. Returns the converted text and any issues (BT.CPP has no equivalent for some behavior3 nodes and vice versa).create_editor_link~359 tokens
Returns a url that opens the tree in the behaviortrees.com editor in the user's browser, auto-laid-out and editable, with no account needed. The tree travels inside the link (the URL fragment), so nothing is uploaded or stored. Fails with the validation errors if the tree has any.get_example~133 tokens
Complete, working example trees (enemy patrol, cooldown-gated attacks, robot navigation with recovery, and more) to learn the format from or start with. Without an id, lists the examples; with an id, returns that tree as behavior3 JSON.list_node_types~122 tokens
The built-in behavior3 nodes a tree can use without declaring them: composites (Sequence, Priority = selector/fallback, MemSequence, MemPriority), decorators (Inverter, Repeater, MaxTime, ...) and leaves (Wait, Succeeder, Failer, ...), with descriptions and default properties.read_guide~144 tokens
Practical guides from behaviortrees.com/learn as Markdown: what behavior trees are, node types, blackboards, debugging, structuring large trees, and behavior trees in Unity, Unreal, Godot, Python and robotics (BehaviorTree.CPP, ROS 2, Nav2). Without a slug, lists the guides.validate_tree~369 tokens
Checks a behavior tree for errors: missing or dangling children, nodes with two parents, cycles, decorators with more than one child, leaves with children, unknown node names, and BehaviorTree.CPP import problems. Returns valid (true when there are no errors), the trees found, and findings at error,
Browse
Related MCP servers
- CodeCraft
Checks whether generated Minecraft Bedrock content will actually load. Nine read-only tools. - Cuelark Tools
Exact tools for agents: US tax, routing/EIN checks, business days, JSON, links, packages, citations. - AgentRXI
232 pay-per-call agent tools: LLMs, search, browser, OCR, media, vision, email. x402 USDC. - Bitrovas L402 Services
Lightning-paid (L402) Bitcoin & data tools: PSBT, PoisonCheck, FormatCheck, QR-Bill, Timestamps. - BOTERNITY
9 free MCP tools: read and watch web pages, site and MCP audits, MCP directory, fresh data, memory. - Coinslot — the vending machine for machines
13 micro-tools for agents: read pages, verify email, convert, validate, diff, extract. AI-operated. - JsonMend
Repair broken JSON from LLM output and validate it against a JSON Schema. - cv.json — open CV data
Search people open to work and fetch their machine-readable cv.json, from any AI assistant.
Badge for your README
[](https://aptlynx.net/servers/io.github.behaviortrees/behaviortrees)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents