Behavior Trees
io.github.behaviortrees/behaviortrees
Validate, convert (behavior3 JSON, BehaviorTree.CPP XML) and open behavior trees in a visual editor
- Repository
- github.com/behaviortrees/behaviortrees
- Website
- www.behaviortrees.com/
- Server address
https://www.behaviortrees.com/mcp(streamable-http)- Version
- 0.2.0
- Author
- behaviortrees (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 14, 2026)
How to install it
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://www.behaviortrees.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://www.behaviortrees.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"behaviortrees": {
"url": "https://www.behaviortrees.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"behaviortrees": {
"type": "http",
"url": "https://www.behaviortrees.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add behaviortrees -- npx -y [email protected] mcpClaude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"behaviortrees": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"mcp"
]
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"behaviortrees": {
"command": "npx",
"args": [
"-y",
"[email protected]",
"mcp"
]
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"behaviortrees": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]",
"mcp"
]
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:53 (test run by L’Atlas)
- Response time
- 804 ms (whole test)
- Tools found
- 6
- Announced name
- behaviortrees 0.2.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (6)
validate_tree
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 tcreate_editor_link
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 tconvert_tree
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 behaviorlist_node_types
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, ...), withget_example
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.read_guide
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)
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.behaviortrees/behaviortrees)HTML
<a href="https://lagora.dev/en/entry/io.github.behaviortrees/behaviortrees"><img src="https://lagora.dev/badge/io.github.behaviortrees/behaviortrees.svg?lang=en" alt="io.github.behaviortrees/behaviortrees on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.