Behavior Trees
What it does
Validate, convert (behavior3 JSON, BehaviorTree.CPP XML) and open behavior trees in a visual editor
- Connects パソコンでもクラウドでも
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 5/5 合格 · 質問内容は提供元のサーバー(www.behaviortrees.com)を通ります
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
Claude の Connectors ページを開く
CustomizeConnectors
「+ Add」→「Add custom connector」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前Behavior TreesRemote MCP server URL · アドレスhttps://www.behaviortrees.com/mcpAuthentication は Claude が検出したままにして Add を押します
チャットで有効にする
+ConnectorsBehavior Trees
試してみる
Behavior Trees を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Behavior Trees を使っていると言うか、回答に Behavior Trees のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT は法人向けプランのみ接続できます
Web 版 ChatGPT Business・Enterprise・Edu で、ワークスペースの管理者かオーナーが追加します · Free・Plus・Pro の場合:あなたの ChatGPT プランではまだ MCP を自分でつなげません
Web 版 ChatGPT で MCP の追加ページを開く
Plugins+Add custom MCP server
名前とアドレスを入力
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Name · 名前Behavior TreesConnection · アドレスhttps://www.behaviortrees.com/mcpチャットで Behavior Trees を選ぶ
新しいチャットを開き、入力前にプラグインの一覧から Behavior Trees を選びます
試してみる
Behavior Trees を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Behavior Trees を使っていると言うか、回答に Behavior Trees のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http --scope user behaviortrees https://www.behaviortrees.com/mcpClaude Code で /mcp と入力
Behavior Trees が一覧にあり、接続済みと表示されれば OK です
試してみる
Behavior Trees を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Behavior Trees を使っていると言うか、回答に Behavior Trees のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Cursor の AI チャットを Agent モードで開く
試してみる
Behavior Trees を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Behavior Trees を使っていると言うか、回答に Behavior Trees のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
VS Code の AI チャットを Agent モードで開く
試してみる
Behavior Trees を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Behavior Trees を使っていると言うか、回答に Behavior Trees のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://www.behaviortrees.com/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http --scope user behaviortrees https://www.behaviortrees.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"behaviortrees": {
"url": "https://www.behaviortrees.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"behaviortrees": {
"type": "http",
"url": "https://www.behaviortrees.com/mcp"
}
}
}パソコンにインストール
Claude Code
claude mcp add --scope user behaviortrees -- npx -y behaviortrees mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"behaviortrees": {
"command": "npx",
"args": [
"-y",
"behaviortrees",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"behaviortrees": {
"command": "npx",
"args": [
"-y",
"behaviortrees",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"behaviortrees": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"behaviortrees",
"mcp"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 607/週
- 接続方法
- パソコンでもクラウドでも
- 最新バージョンi
- 0.1.1
- レジストリ公開日i
- 2026年11月4日
- コードの最終更新i
- 2026年11月10日
- 作者
- behaviortrees
- パッケージ
npm: behaviortrees- ウェブサイト
- www.behaviortrees.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
ツールの名前と説明は、サーバーが2026年11月11日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
validate_treeChecks 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, an
create_editor_linkReturns 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
convert_treeConvert 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).
list_node_typesThe 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.
get_exampleComplete, 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_guidePractical 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.
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5819件のうち69%よりスターが多い
- このカテゴリのほかの5819件のうち70%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5819件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Behavior Treesは安全ですか?
当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は3 日前、最新バージョン(0.1.1)がレジストリに届いたのは9 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP に対応したアプリでも使えます(例:ChatGPT Business 以上)。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
behaviortrees
Validate, convert and share behavior trees from the command line or any MCP client. It uses the same code as the free visual editor at behaviortrees.com, so what it accepts, the editor opens.
- Validate behavior3 JSON and BehaviorTree.CPP XML: dangling children, nodes with two parents, cycles, decorators with more than one child, leaves with children, unknown node names.
- Convert between behavior3 JSON and BehaviorTree.CPP XML (v4 for ROS 2 Jazzy and Groot2, v3 for ROS 2 Humble).
- Link: turn a tree into a URL that opens it in the editor, laid out and editable. The tree travels inside the link, so nothing is uploaded.
CLI
npx behaviortrees validate tree.json
npx behaviortrees convert tree.json --to btcpp-v4 -o tree.xml npx behaviortrees convert nav2_tree.xml --to behavior3 npx behaviortrees link tree.json --open npx behaviortrees nodes # built-in node types npx behaviortrees examples # example trees; add an id to print one npx behaviortrees guides # behaviortrees.com guides; add a slug to read one
Leave out the file, or pass -, to read from stdin. --json gives machine-readable output, and validate exits with status 1 when a tree has errors, so it works in CI.
MCP server
Lets an AI assistant write a behavior tree, check it, and hand you a link that opens it in the editor. Tools: validate_tree, create_editor_link, convert_tree, list_node_types, get_example, read_guide.
Remote, nothing to install (Streamable HTTP):
https://www.behaviortrees.com/mcp
Or run it locally over stdio:
{
"mcpServers": { "behaviortrees": { "command": "npx", "args": ["-y", "behaviortrees", "mcp"] } } }
For Claude Code: claude mcp add --transport http behaviortrees https://www.behaviortrees.com/mcp
Tree format
A minimal behavior3 tree. Positions are optional; the editor lays the tree out.
{
"title": "Guard", "root": "a", "nodes": { "a": { "name": "Priority", "children": ["b", "c"] }, "b": { "name": "Sequence", "children": ["d", "e"] }, "c": { "name": "Patrol" }, "d": { "name": "IsEnemyVisible" }, "e": { "name": "Attack" } }, "custom_nodes": [ { "name": "IsEnemyVisible", "category": "condition" }, { "name": "Attack", "category": "action" }, { "name": "Patrol", "category": "action" } ] }
Composites list children in run order, decorators have one child, and anything else is a leaf. Priority is behavior3's selector (fallback). Declare any node that isn't built in under custom_nodes.
Library
import { validateTree, convertTree, createEditorLink } from 'behaviortrees';
const { valid, findings } = await validateTree(json); const { output } = await convertTree(json, 'btcpp-v4'); const { url } = await createEditorLink(json);
License
AGPL-3.0-only (see LICENSE). Portions are derived from the MIT-licensed behavior3editor by Renato de Pontes Pereira (see LICENSE-MIT). Source: github.com/behaviortrees/behaviortrees.