Blender MCP
Blender MCP — Blender 5.2 LTS 用 Streamable-HTTP ブリッジ
Model Context Protocol ブリッジ。あらゆる MCP クライアント(Antigravity、Cursor、Claude Desktop、VS Code 1.101+、MiniMax Code、Windsurf、Continue、Cline、OpenCode、Codex、MCP Inspector、…)が自然言語で Blender 5.2 LTS を操作できるようにします。
このアドオンは、Blender 内のバックグラウンドスレッド上で MCP Streamable-HTTP サーバーを実行します。クライアントはそれを指すだけでよく、サブプロセスの生成も、管理が必要なソケットペアもありません。
なぜこの構成なのか
Blender 内での単一インストールパス。 MCP サーバーは
bpyを使用してインプロセスで実行されるため、uvx/pipxの操作も、同期を保つソケットペアも不要です。localhost 上の Streamable HTTP。 あらゆる最新の MCP クライアントで動作します。
アドオン内の手作り MCP サーバー。 Blender 5.2 LTS にはデフォルトで外部パッケージなしの Python 3.13 がバンドルされています。~300行の MCP サーバーは、
mcp[cli]を引き込んでsys.pathを編集するよりも移植性が高いです。クライアント非依存。 独自のプラグインフォーマットはありません。HTTP エンドポイント(またはそれを行う stdio プロキシ)にアクセスできる MCP クライアントならどれでも動作します。
Related MCP server: Blender MCP VXAI
プロジェクト構成
blender_addon_mcp/
├── README.md ← you are here
├── LICENSE ← MIT
├── pyproject.toml ← dev tooling for the add-on (ruff, mypy, pytest)
├── .gitignore
├── addon/
│ └── blender_mcp_addon/ ← zips into a Blender-installable .zip
│ ├── __init__.py ← bl_info, register/unregister, preferences
│ ├── server/
│ │ ├── __init__.py
│ │ ├── mcp_server.py ← MCP protocol (initialize, tools/list, tools/call, ping)
│ │ ├── transport.py ← stdlib http.server, runs on a daemon thread
│ │ └── protocol.py ← JSON-RPC 2.0 + MCP 2025-03-26 types
│ ├── tools/
│ │ ├── __init__.py ← tool registry
│ │ ├── scene.py ← scene_info, frame control
│ │ ├── objects.py ← list, get, create, delete, transform
│ │ ├── materials.py ← create, assign, modify
│ │ ├── modifiers.py ← add, set params, remove
│ │ ├── render.py ← render_image, screenshot_viewport
│ │ └── code.py ← execute_python (with confirmation)
│ └── utils/
│ ├── __init__.py
│ ├── bpy_helpers.py ← bpy → JSON serialization
│ └── safe_eval.py ← ast-validated code execution
├── scripts/
│ ├── install_addon.ps1 ← zip and install into Blender
│ ├── blender_mcp_proxy.js ← optional stdio/socket ↔ HTTP bridge for
│ │ Antigravity builds that don't accept `url`
│ └── start_blender_mcp_bridge.ps1 ← start/stop/status lifecycle for the bridge
├── examples/
│ ├── mcp-configs.md ← copy-paste configs for every major MCP client
│ ├── basic_scene.md
│ ├── material_setup.md
│ └── render_workflow.md
└── docs/
├── architecture.md
├── blender_5_2_notes.md
└── tools_reference.mdクイックスタート
1. アドオンのインストール
# clone
git clone https://github.com/tattooinmtl/Blender_MCP.git
cd Blender_MCP
# install the add-on into every Blender version on this machine
pwsh ./scripts/install_addon.ps12. Blender でサーバーを有効化
Blender を開きます。
Edit → Preferences → Add-ons → 「Blender MCP」を検索 → チェックボックスをオンにします。
ポート(デフォルト
8765)を設定し、Start Server をクリックします(または 3D ビューポートのサイドバーにある Blender MCP パネルを使用します)。コンソールに次のように表示されます:
[Blender MCP] Server listening on http://127.0.0.1:8765/mcp
3. MCP クライアントを接続
使用するクライアントを選び、examples/mcp-configs.md から該当するスニペットを貼り付けます。Antigravity の url 形式が最もシンプルです:
{
"mcpServers": {
"blender": { "url": "http://127.0.0.1:8765/mcp" }
}
}Cursor、Claude Desktop、VS Code、MiniMax Code、Windsurf、Continue、Cline、MCP Inspector 用のスニペットはすべてそのファイルにあります。
4. 動作確認
任意の MCP クライアントのチャットで:
blender サーバーを使用: ping。
エージェントが ping に対して tools/call を呼び出し、空の成功結果を報告するのが確認できるはずです。ターミナルから:
curl -s -X POST http://127.0.0.1:8765/mcp `
-H "Content-Type: application/json" `
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"probe","version":"0"}}}'BlenderMCP Dominator バンドル
このリポジトリには、完全な DomiNations/OpenCivilizations プロジェクトも blender_mcp_addon/dominator/ としてアドオン内に同梱されています。
追加ツール:
ツール | 目的 |
| アドオン、バンドル、MCP エンドポイント、Node/npm、MongoDB、Redis を検証 |
| Dominator レンダーシーンを設定 |
| プロシージャルユニットを構築(例: |
| プロシージャルビルディングを構築( |
| シーンを PNG にレンダリング |
| ユニットビルダーを一覧表示 |
| ビルディングビルダーを一覧表示 |
| 国家マテリアルパレットを適用 |
公開ツール
ツール | 目的 | 読み取り専用 |
| 機能ハンドシェイク — 名前、バージョン、プロトコル、ツール一覧。最初に呼び出してください。 | はい |
| シーンの概要(オブジェクト、ライト、カメラ、フレーム) | はい |
| シーンオブジェクトを一覧表示、オプションでタイプフィルター | はい |
| オブジェクトの詳細(位置、回転、スケール、モディファイア、マテリアル) | はい |
| プリミティブを作成(cube、sphere、plane、cylinder、cone、torus、empty、camera、light) | いいえ |
| 名前でオブジェクトを削除 | いいえ |
| 位置/回転/スケールを設定 | いいえ |
| Principled BSDF を使用してマテリアルを作成または割り当て | いいえ |
| 画像ファイルをマテリアル入力(base_color、roughness、normal など)に適用 | いいえ |
| GLB/GLTF/FBX/OBJ/STL/PLY/DAE/USD/X3D/ABC をインポート | いいえ |
| モディファイアを追加(subdivision、mirror、solidify、array、bevel) | いいえ |
| 名前でモディファイアを削除 | いいえ |
| タイムラインの読み取り / 移動 | 混合 |
| 現在のフレームをファイルにレンダリング | いいえ |
| 現在のビューポートをキャプチャ | いいえ |
| 任意の | いいえ |
| ヘルスチェック | はい |
完全なスキーマと例については docs/tools_reference.md を参照してください。
開発
# syntax-check the add-on (Blender's Python is at <blender>/python/bin/python.exe)
python -m py_compile addon/blender_mcp_addon/__init__.py
python -m py_compile addon/blender_mcp_addon/server/mcp_server.py
# ...etc
# lint
ruff check addon/
mypy addon/
# test the MCP server in isolation (no bpy required)
pytest addon/tests/ -vライセンス
MIT。LICENSE を参照してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceTransforms Blender into an MCP server with 50+ tools for AI-driven 3D workflows, enabling complete control over objects, materials, animations, physics simulations, and rendering through natural language commands.45MIT
- AlicenseNot gradedqualityCmaintenanceEnables natural language control of Blender 3D through MCP clients, allowing creation, modification, and manipulation of 3D models, animations, and scenes.299MIT
- AlicenseCqualityAmaintenanceEnables AI-powered control of Blender through natural language, allowing users to create, manipulate, and automate 3D scenes, objects, materials, animations, and more via Claude or other MCP clients.7133MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to control Blender via MCP tools for scene manipulation, material assignment, rendering, and Python script execution.22MIT
Related MCP Connectors
Generate, edit, and deploy immersive 3D/WebGL web projects from any MCP assistant.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
MCP server for Google Veo AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/tattooinmtl/BlenderMCP_Dominator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server