blender-mcp-bridge
Allows interaction with Blender 3D, enabling AI agents to manage scenes, objects, materials, and execute arbitrary Python code in Blender.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@blender-mcp-bridgeList all objects in the scene."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
blender-mcp-bridge
Blender 公式 MCP アドオン(TCP port 9876)と Claude Desktop(stdio MCP)を繋ぐブリッジ。
なぜこのアプリが必要か
Blender の公式アドオンは「MCP アドオン」と呼ばれていますが、現時点では標準 MCP プロトコル(JSON-RPC 2.0)を実装していないようです。内部は独自の TCP プロトコルで、{"type": "execute", "code": "..."} という形式で Python コードを受け取って実行するものです。
Claude Desktop は標準 MCP(JSON-RPC 2.0)でしか動かないため、そのままでは Blender に接続できません。
blender-mcp-bridge はその間に入り、標準 MCP のツール呼び出しを Blender の独自プロトコルに変換して転送します。
Claude Desktop
│ stdio (MCP JSON-RPC 2.0) ← Claude が話せる形式
▼
blender-mcp-bridge ← このアプリ(変換・転送)
│ TCP socket (port 9876) ← Blender アドオンが受け付ける形式
▼
Blender アドオンRelated MCP server: BlenderMCP
前提条件
Python 3.10 以上が必要です。Mac のデフォルト(python3)は 3.9 のことがあるため、事前に確認してください。
python3 --version3.9 以下の場合は先に Python をインストールしてください:
方法1(推奨): python.org から
.pkgをダウンロードしてインストール方法2: Homebrew がある場合は
brew install python@3.12方法3: pyenv がある場合は
pyenv install 3.12
インストール後は python3.12 --version で確認し、以降のコマンドで python3 の代わりに python3.12 を使ってください。
セットアップ
Claude Code を使う場合(推奨)
このリポジトリを Claude Code で開き、スラッシュコマンドを実行するだけで完了します:
/setupこれにより以下が自動で行われます:
mcpライブラリのインストールClaude Code CLI(
~/.claude.json)へのblenderサーバー登録Claude Desktop(
claude_desktop_config.json)へのblenderサーバー登録
手動でセットアップする場合
# 1. セットアップスクリプトを実行
python3 scripts/setup.py
# Python 3.9 以下の場合はバージョン指定で実行
python3.12 scripts/setup.pyスクリプトは以下を自動で行います:
mcpライブラリのインストールclaude mcp addで Claude Code CLI に登録claude_desktop_config.jsonを書き換えて Claude Desktop に登録
完了後は Claude Desktop を再起動してください。
JSON を直接書く場合
claude_desktop_config.json を開き、以下を追加します。
Mac (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"blender": {
"command": "python3",
"args": ["/path/to/blender-mcp-bridge/bridge.py"]
}
}
}Windows (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"blender": {
"command": "python",
"args": ["C:\\path\\to\\blender-mcp-bridge\\bridge.py"]
}
}
}使い方
Blender MCP アドオンを Blender にインストール・有効化する
Blender を起動する(アドオンが port 9876 でリッスン開始)
Claude Desktop または Claude Code を再起動する
Claude から「Blender のシーン情報を教えて」などと話しかける
仕組み:接続先の指定
bridge は起動時に環境変数 BLENDER_HOST / BLENDER_PORT を読み取り、接続先の Blender アドオンを決定します。
bridge 起動
↓ 環境変数を読む
BLENDER_HOST=localhost (デフォルト)
BLENDER_PORT=9876 (デフォルト)
↓ TCP 接続
Blender アドオン (localhost:9876)この環境変数は OS に設定するのではなく、MCP の設定ファイル(または claude mcp add コマンド)でブリッジ起動時に渡します。デフォルトの localhost:9876 で通常は変更不要です。
claude mcp add(Claude Code CLI)で変更する場合:
claude mcp add blender \
--env BLENDER_HOST=localhost \
--env BLENDER_PORT=9876 \
-- python3 /path/to/bridge.pyツール一覧
ツール名 | 説明 |
| アクティブシーンの名前・オブジェクト数・フレーム情報を返す |
| シーン内オブジェクト一覧を返す( |
| 指定オブジェクトの位置・回転・スケール・マテリアルを返す |
| メッシュ・ライト・カメラ等を作成する |
| 指定オブジェクトを削除する |
| 位置・回転・スケールを変更する(部分更新可) |
| Principled BSDF マテリアルをオブジェクトに設定する |
| 任意の Python コードを Blender 内で実行する |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/otinori/blender-mcp-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server