Blenderwrightのロゴ

Blenderwright

組織
HoldMyBeer-gg

MCP server for Blender. 191 tools for modelling, materials, rendering and more, driven by Claude, Cursor, Codex, Ollama, llama.cpp, or any MCP client.

公開者HoldMyBeer-gg
リポジトリblenderwright
言語Python
フォーク
23
スター
175
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Blenderwrightは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには175件のスターと23件のフォークがあります。

blenderwright

Formerly blend-ai. Same project, new name, nothing else changed.

The most intuitive and efficient MCP Server for Blender. Control Blender entirely through AI assistants like Claude: create 3D models, set up scenes, animate, render, and more, all through natural language.

blenderwright goes beyond tool exposure: it guides the LLM to produce professional 3D results through expert prompts, proven workflows, visual feedback, and mesh quality analysis.

A shuttle launch from two questions: "do you want to have a go at the space shuttle launch?" and then "could you animate the launch?" Claude Code (Fable 5.1) modelled the orbiter, tank, boosters and service tower, lit the plumes as emissive volumes and grew the exhaust cloud from metaballs. Keyframes lift the stack and tilt the camera after it, drivers stream the plumes and boil the smoke, and all 60 Cycles frames come back from a single render_animation call, all through blenderwright with no manual modelling:

blenderwright space shuttle launch, animated

Watch it with sound. Launch audio courtesy of NASA: STS-131, "Sound of Launch."

The still it grew from, modelled and rendered in under twenty minutes:

blenderwright space shuttle launch built from one prompt

A two-storey Western saloon from a single sentence: "create a Western style 2-story saloon, the outside is more important than any inside detail." Claude Code (Fable 5.1) built the false front, plank siding, balcony, batwing doors and street dressing, then relit it for dusk, all through blenderwright, in about twenty minutes with no manual modelling:

blenderwright saloon built from one prompt

Fifteen procedural materials, each built by a single create_procedural_material call. The selected ball's node graph below was generated entirely by that one call: coordinates, mapping, noise, height mask, colour ramp, and Principled BSDF, laid out and wired:

blenderwright procedural shader preview

Key Features

  • 191 tools across 28 modules covering every major Blender domain: modeling, mesh editing, materials, shader nodes, lighting, camera, animation, rendering, sculpting, UV mapping, physics, geometry nodes, rigging, curves, sweeps along a path, 3D-print checking, annotations, collections, file I/O, Bool Tool, viewport control, mesh quality analysis, and extension suggestions
  • 13 expert prompts: topology best practices, real-world scale references, lighting principles, studio setup, character basemesh workflow, PBR material guide, auto-critique feedback loop, and more
  • Visual feedback loop: fast viewport screenshots via OpenGL render (~ms, not seconds) with auto-critique prompts that guide the LLM to check its own work
  • Mesh quality analysis: structured reports covering non-manifold edges, loose vertices, zero-area faces, duplicate vertices, and wire edges
  • Extension suggestions: proactively recommends Bool Tool, LoopTools, and Node Wrangler when a task would benefit from them (skips already-installed extensions)
  • Raw Python is opt-in: execute_blender_code is off until you tick "Allow raw Python" in the N-panel, per session, never saved into the .blend. When on, every snippet is echoed to the console and listed in the panel. A restricted namespace blocks obvious mistakes (os, subprocess, exec, open, ...); it is a guard against accidents, not a security boundary
  • Render-aware: automatically detects when Blender is rendering and queues commands. Recovers from stuck render guards via load_post handler and reset command
  • Blender 4.2+ compatible: ships as a Blender Extension; tested against Blender 5.1 with EEVEE identifier, Annotation API, sculpt stroke_method, SLIM UV unwrap, Raycast shader node, and EEVEE light path intensity controls
  • Custom port: configure the server port from the N-panel UI (default: 9876, range: 1024–65535)
  • Zero telemetry: no usage tracking, no analytics, no data collection. Everything runs locally on 127.0.0.1
  • Zero-dependency addon: the Blender addon uses only Python stdlib + bpy. Nothing to pip install inside Blender
  • Thread-safe architecture: background TCP server with queue-based main-thread execution, TCP keepalive for stale connection detection
  • 1190 tests: coverage across tools, handlers, validators, prompts, and the cross-platform installer (ubuntu/macos/windows × py3.11/3.13 in CI)

Quickstart

1. Install the MCP server

Nothing to install. With uv on your machine, uvx blenderwright fetches the server from PyPI and runs it; every client config below uses that one command. Prefer pip? pip install blenderwright gives you a blenderwright command instead.

bash
git clone https://github.com/HoldMyBeer-gg/blenderwright.git
cd blenderwright
uv pip install -e .

Then point your client at uv run --directory /path/to/blenderwright blenderwright instead of uvx blenderwright.

2. Install the Blender addon

  1. Download the latest addon zip from GitHub Releases
  2. Open Blender 4.2 or later
  3. Go to Edit > Preferences > Get Extensions, click the dropdown (▾) top-right, and choose Install from Disk...
  4. Select the downloaded .zip file
  5. Enable "blenderwright" in the extensions list

Blender 4.0 / 4.1 users: Not supported. blenderwright ships as a Blender Extension, which requires Blender 4.2 (LTS) or later. Please upgrade Blender from blender.org/download.

If you're developing on blenderwright, symlink the addon folder into Blender's user extensions directory instead. Replace <ver> with your Blender version (e.g. 4.2, 5.1).

bash
# macOS
ln -s "$(pwd)/addon" ~/Library/Application\ Support/Blender/<ver>/extensions/user_default/blenderwright

# Linux
ln -s "$(pwd)/addon" ~/.config/blender/<ver>/extensions/user_default/blenderwright

# Windows (run as admin)
mklink /D "%APPDATA%\Blender Foundation\Blender\<ver>\extensions\user_default\blenderwright" "%cd%\addon"

Then enable the extension in Blender preferences under Get Extensions > User.

3. Start the server in Blender

In Blender's 3D Viewport, open the N-panel (press N), find the blenderwright tab. Set your preferred port (default: 9876), then click Start Server.

4. Connect your AI assistant

bash
claude mcp add blenderwright -- uvx blenderwright

Make sure Blender is running with the addon server started before using the tools.

Usage:

$ claude

> Create a red metallic sphere on a white plane with three-point lighting

> Add a subdivision surface modifier to the sphere and set it to level 3

> Analyze the mesh quality of the sphere and fix any issues

> Set up a turntable animation and render it to /tmp/turntable/

Add blenderwright to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

json
{
  "mcpServers": {
    "blenderwright": {
      "command": "uvx",
      "args": ["blenderwright"]
    }
  }
}

Restart Claude Desktop. The Blender tools will appear in the tool list.

blenderwright is a standard MCP server using stdio transport. Any MCP-compatible client can connect by running the server directly:

bash
uvx blenderwright
# or, after pip install blenderwright: blenderwright

The exact config location and format vary by client (typically JSON or TOML under ~/.<client>/). The command is uvx and the args are ["blenderwright"].

The server communicates over stdin/stdout using the MCP protocol. It connects to Blender's addon over TCP on 127.0.0.1:9876 (or your configured port).

Updating

Whichever way you installed, Blender must be fully restarted, not "Reload Scripts". The addon runs a background TCP server thread that survives a script reload, so reloading leaves a stale handler registered and the old socket still bound.

One command (zip installs)

bash
python install_addon.py upgrade

With no argument it finds your Blender installations and offers them as a numbered list, so there is no path to get wrong. You can still pass one explicitly:

bash
# macOS - the binary inside the bundle, not the .app itself
python install_addon.py upgrade /Applications/Blender.app/Contents/MacOS/Blender

# Linux
python install_addon.py upgrade /usr/local/bin/blender

# Windows
python install_addon.py upgrade "C:\Program Files\Blender Foundation\Blender 4.2\blender.exe"

It refuses to run while Blender is open, checks the path before touching anything, removes every blenderwright install across all Blender version directories, rebuilds the zip from addon/, and installs it through Blender's own extension machinery. It also handles the case that bites people most: an older copy left behind under a previous Blender version.

Two companion commands:

bash
python install_addon.py doctor          # list every blenderwright install found, and where
python install_addon.py uninstall --yes # remove them all (omit --yes for a dry run)

Start with doctor if the addon is behaving strangely: a duplicate install under an old Blender version is the usual cause.

Developer symlink installs

If you symlinked addon/ into Blender's extensions directory, there is nothing to install. git pull and restart Blender. Use doctor to confirm which kind of install you have; it reports symlinks distinctly.

By hand, through the GUI

  1. If the server is running, open the N-panel blenderwright tab and click Stop Server.
  2. In Blender, open Edit > Preferences > Get Extensions, find blenderwright, and click Uninstall.
  3. Quit and restart Blender (this clears cached blenderwright modules).
  4. Install the new .zip via the ▾ > Install from Disk... menu and enable it.

Expert Guidance

blenderwright includes 13 MCP prompts that guide the LLM toward professional-quality results:

PromptWhat It Teaches
blender_best_practicesBool Tool preference, mesh editing patterns, modifier workflow
topology_best_practicesQuad topology, edge flow, poles, n-gon cleanup, face density
scale_reference_guideReal-world dimensions for 8 common objects, unit system setup
lighting_principlesThree-point lighting, HDRI, EEVEE vs Cycles, color temperature
studio_lighting_setup6-step studio lighting workflow with specific energy values
character_basemesh_workflow7-step character base mesh from cube with mirror + subdivision
material_workflow_guidePBR materials, Principled BSDF recipes, texture color spaces
auto_critique_workflowVisual feedback loop: when to screenshot, what to check, token budget
product_shot_setupProfessional product shot setup guide
character_base_meshCharacter modeling guide
scene_cleanupScene organization workflow
animation_turntableTurntable animation setup
imported_mesh_cleanupImport, analyze, repair, decimate, normals, scale, UVs for meshes from scans, downloads, or generators

Tool Domains

Full reference with every parameter: blenderwright.holdmybeer.gg

DomainToolsHighlights
Scene6Get scene info, set frame range, manage scenes, suggest helpful extensions
Objects15Create primitives, duplicate, parent, join, visibility, origin, convert, auto-smooth
Transforms6Position, rotation (euler/quat), scale, apply, snap
Modeling13Modifiers, booleans, subdivide, extrude, bevel, loop cut, bridge edge loops
Mesh Editing16Inset, fill, grid fill, mark seam/sharp, normals, dissolve, knife project, spin, crease
Selection6Select by index, by axis, by face sides, by similarity; invert; report what is selected
Mesh Quality3Analyze mesh defects: non-manifold, loose verts, zero-area faces, duplicates and repair them; decimate to reduce polycount
Bool Tool4Auto union, difference, intersect, slice (via Blender's Bool Tool addon)
Materials25Principled BSDF, procedural and raster textures, textures, blend modes, shader node graph (add/connect/remove nodes, including 5.1 Raycast node)
Lighting7Point/sun/spot/area lights, HDRIs, light rigs, shadows
Camera6Create, aim, DOF, viewport capture, active camera
Animation8Keyframes, interpolation, frame range, follow path
Rendering7Engine, resolution, samples, output format, render, EEVEE light path intensity
Curves10Bezier/NURBS/path, 3D text, convert, reverse, handle types, cyclic, subdivide
Sweep2Sweep a profile along a 3D path for tubes, hoses, cables and rails, with flip-free framing; check a path for bends too tight for the profile
3D Printing1Reversed normals, self-intersection, thin walls, shells and overhangs via Blender's 3D Print Toolbox
Sequencer5Image-sequence strips, sound strips, list and remove strips, render to MP4, MKV or WebM with audio
Sculpting8Brushes, remesh, multires, symmetry, dynamic topology, stroke_method
UV Mapping4Smart project, unwrap (ANGLE_BASED, CONFORMAL, SLIM), projection, pack islands
Physics9Rigid body, cloth, fluid, particles (velocity, rendering, delete), bake
Geometry Nodes5Create node trees, add/connect nodes, set inputs
Armature6Bones, constraints, auto weights, pose
Annotations5Annotation layers and strokes (5.1 Annotation API)
Collections4Create, move objects, visibility, delete
File I/O5Import/export (FBX, OBJ, glTF, USD, STL...), save/open
Viewport3Shading mode, overlays, focus on object
Screenshot1Fast viewport capture (OpenGL) or full render, base64 output
Code Exec1Sandboxed Python execution in Blender (dangerous imports blocked)

Toolsets

Every tool is loaded by default, and that is the setting the featured renders were made with. The full set of schemas costs roughly 48k tokens per request, which is fine for Claude-class clients and too much for a local model on a 32k window. BLENDERWRIGHT_TOOLSETS (or --toolsets) trims it:

ValueLoads
unset or alleverything (default)
autothe core toolsets plus list_toolsets and enable_toolset; the model loads other groups as a task needs them
corescene, objects, transforms, modeling, mesh quality, lighting, camera, rendering, screenshot, viewport, collections
core,physics,animationany comma-separated list of toolset names; a toolset is one row of the table above
json
{
  "mcpServers": {
    "blenderwright": {
      "command": "uvx",
      "args": ["blenderwright"],
      "env": { "BLENDERWRIGHT_TOOLSETS": "auto" }
    }
  }
}

auto relies on the client honouring the MCP tools/list_changed notification. The bundled Ollama chat client picks auto on its own when the full set would take more than half of --num-ctx, and says so at startup.

Architecture

AI Assistant <--stdio/MCP--> blenderwright server <--TCP socket--> Blender addon <--bpy--> Blender
  • MCP Server (src/blenderwright/): Python process using the mcp SDK. Exposes tools, resources, and prompts over stdio. Validates all inputs before forwarding to Blender.
  • Blender Addon (addon/): Runs a TCP socket server inside Blender on a background thread. Commands are queued and executed on the main thread via bpy.app.timers to respect Blender's threading model.
  • Render Guard: Tracks render state via bpy.app.handlers. During renders, the server immediately returns a "busy" status. Automatically recovers from crashed renders via load_post handler. Can be force-reset via MCP command.
  • Protocol: Length-prefixed JSON messages over TCP with SO_KEEPALIVE for stale connection detection. Each message is a 4-byte big-endian length header followed by a UTF-8 JSON payload.

Privacy & Security

  • Zero telemetry: blenderwright collects no usage data, sends no analytics, and makes no network requests beyond the local TCP connection to Blender.
  • Fully local: all communication stays on your machine. No cloud services, no external APIs, no phone-home behavior.
  • Open source: the entire codebase is auditable. What you see is what runs.
  • Localhost only: The TCP socket binds to 127.0.0.1, never exposed to the network.
  • Raw Python is off by default: execute_blender_code refuses to run until you tick "Allow raw Python" in the blenderwright N-panel. The switch is a WindowManager property, so it is per Blender session and is never written into a .blend file. Every run is echoed to the system console and the panel shows a count and the last snippet. The 191 structured tools do not need it.
  • The restricted namespace is not a sandbox: when raw Python is on, the import hook refuses 25 imports (os, subprocess, socket, shutil, sys, ctypes, importlib, pathlib, signal, multiprocessing, pickle, shelve, tempfile, http, urllib, ftplib, smtplib, xmlrpc, code, codeop, compileall, webbrowser, antigravity, turtle, tkinter) and the builtins __import__, exec, eval, compile, open, globals, locals, vars, input, breakpoint, exit, quit, help and memoryview are removed. That catches a model making a mistake. It does not contain an adversary: the code runs in-process with full bpy, and bpy alone can save files anywhere and run any operator. Treat "Allow raw Python" the way you would treat running a script someone else wrote: read what the model is about to run, and turn it off when you are done.
  • Input validation: All inputs pass through validators before reaching Blender: name sanitization, path traversal prevention, numeric range checks, enum allowlists.
  • File safety: Import operations disable use_scripts_auto_execute to prevent script injection from imported files. File extensions are checked against allowlists.
  • Command allowlist: The addon dispatcher only processes explicitly registered commands. Unknown commands are rejected.
  • Shader node allowlist: Only 64 known shader node types can be created, which prevents arbitrary type injection.

Limitations

  • Blender must be running: The MCP server communicates with Blender over TCP. Blender must be open with the addon enabled and server started.
  • Single connection: The addon accepts one client connection at a time. Multiple AI assistants cannot control the same Blender instance simultaneously.
  • Selection is persistent, not per-call: Selection lives on the mesh in Blender, so it stays set between calls. Choose geometry with the select_* tools, then pass selection="CURRENT" to a mesh tool. The default is still "ALL". Because the selection is shared state, two assistants working on the same mesh would step on each other.
  • Sculpt strokes cannot be simulated: You can configure brushes, symmetry, dyntopo, and remeshing, but actual brush strokes are not yet exposed.
  • Node graphs require sequential calls: Both shader node trees and geometry node trees must be built one node/connection at a time.
  • No undo integration: Operations appear in Blender's undo history individually but there's no MCP-level undo/redo or transaction grouping.
  • Viewport capture requires a visible 3D viewport: Headless Blender may not support viewport screenshots.
  • No real-time feedback: The MCP protocol is request/response. There's no streaming of viewport updates or render progress.

Development

bash
# Install with dev dependencies
uv pip install -e ".[dev]"

# Run tests (1190 tests)
uv run --extra dev pytest

# Run tests with coverage
uv run --extra dev pytest --cov=blenderwright

# Lint
ruff check src/ tests/

# Format
ruff format src/ tests/
blenderwright/
├── src/blenderwright/          # MCP server
│   ├── server.py           # FastMCP entry point
│   ├── connection.py       # TCP client to Blender (with busy-retry)
│   ├── validators.py       # Input validation
│   ├── tools/              # 28 tool modules (191 tools)
│   ├── resources/          # MCP resources (scene, objects, materials)
│   └── prompts/            # 13 expert prompt templates
├── addon/                  # Blender addon (zero external deps)
│   ├── blender_manifest.toml  # Blender 4.2+ Extension manifest
│   ├── __init__.py         # bl_info (legacy fallback) + register/unregister
│   ├── server.py           # TCP socket server (SO_KEEPALIVE)
│   ├── dispatcher.py       # Command routing + allowlist
│   ├── thread_safety.py    # Main-thread execution queue
│   ├── render_guard.py     # Render state tracking + crash recovery
│   ├── ui_panel.py         # N-panel UI (start/stop + port config)
│   └── handlers/           # 23 handler modules
└── tests/                  # 1186 unit tests

License

MIT. See LICENSE.md.

Copyright © 2026 jabberwock.

インストール

TypingMind
{
  "mcpServers": {
    "blenderwright": {
      "command": "uvx",
      "args": [
        "blenderwright"
      ]
    }
  }
}

BlenderwrightのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Blenderwrightに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Blenderwrightをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. BlenderwrightのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "blenderwright": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてBlenderwrightのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. BlenderwrightのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Blenderwrightを使ってこのタスクを手伝ってもらえますか?
Blenderwright
はい、読みました。
Blenderwrightで調べた結果をお伝えします。

よくある質問

Blenderwright MCPサーバーは何に使いますか?

Blenderwrightは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでBlenderwright MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでBlenderwrightを利用できます。

TypingMindでBlenderwright MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Blenderwrightを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Blenderwright MCPをTypingMindに接続するにはどうすればよいですか?

BlenderwrightはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでBlenderwright MCPのどのようなツールを利用できますか?

BlenderwrightはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Blenderwright MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Blenderwrightで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇