Skip to main content
MCP server CX Codex

Behavior Trees — Claude Code MCP server: features and setup

This MCP server for Claude Code checks behavior trees, converts formats, and creates links to a visual editor. The agent can call it while working with behavior3 JSON or BehaviorTree.CPP XML.

MIT ★ 6 updated 2026-11-16

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcp
Open on GitHub

What Behavior Trees does

The server checks tree structure for cycles, nodes with multiple parents, and other errors. It converts between behavior3 JSON and BehaviorTree.CPP XML. The agent can also create an editor link or fetch node types, examples, and guides.

Connect to the remote server at https://www.behaviortrees.com/mcp, or run it locally with npx. Tree data stays inside the generated link rather than being uploaded. Local use requires npx.

What it helps with

  • find cycles and structural errors in a behavior tree
  • convert behavior3 JSON to BehaviorTree.CPP XML
  • create an editor link for a tree
  • retrieve node types and sample trees

Example prompts for the agent

  • Check tree.json for structural errors and report the findings.
  • Convert tree.json to BehaviorTree.CPP XML.
  • Create a visual editor link for this behavior tree.

How to install Behavior Trees

1Platform CLI: remote server

claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcp

2Platform CLI

claude mcp add cli -- npx -y behaviortrees

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Behavior Trees

How do I install Behavior Trees in Claude Code?

To connect the remote server, run claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcp.

What does Behavior Trees do?

It validates behavior trees, converts between supported formats, and creates links that open trees in a visual editor.

What is required to use Behavior Trees?

Connect to the remote MCP server at https://www.behaviortrees.com/mcp, or run the local version with npx.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open