Blender MCP

Blender MCP

デザイン
ahujasid/blender-mcp25,148 スター
Siddharth Ahuja
claudecursorgeneric
FreeOpen Source

このサーバーについて

BlenderをAIエージェントに接続するMCPサーバー。自然言語で3Dモデリング:シーン作成、マテリアル編集、Blender Pythonスクリプト実行。大人気のコミュニティプロジェクト。

インストール

uvx blender-mcp
公式 README インストールガイド(英語原文)

Prerequisites

  • Blender 3.0 or newer
  • Python 3.10 or newer
  • uv package manager:

If you're on Mac, please install uv as

bash
brew install uv

On Windows

powershell
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

and then add uv to the user path in Windows (you may need to restart Claude Desktop after):

powershell
$localBin = "$env:USERPROFILE\.local\bin"
$userPath = [Environment]::GetEnvironmentVariable("Path", "User")
[Environment]::SetEnvironmentVariable("Path", "$userPath;$localBin", "User")

Otherwise installation instructions are on their website: Install uv

Linux: install uv with curl -LsSf https://astral.sh/uv/install.sh | sh (it lands in ~/.local/bin; open a new shell so it's on your PATH). On every OS, use uv's official installer above — not pip install uv, which may not create the uvx command and can hide uv inside an environment your client can't see.

⚠️ Do not proceed before installing UV

Make your client find uvx

MCP clients started from a GUI (Claude Desktop, Cursor, VS Code from the Dock/Start menu) do not inherit your terminal's PATH, so a bare "command": "uvx" can fail with spawn uvx ENOENT even though uvx works in your terminal. If that happens:

  • Find uvx's full path — which uvx (macOS/Linux) or where uvx (Windows) — and use it as "command", e.g. /opt/homebrew/bin/uvx or C:\Users\<you>\.local\bin\uvx.exe.
  • On Windows you can instead wrap it: "command": "cmd", "args": ["/c", "uvx", "blender-mcp"].
  • After any PATH or config change, fully quit and relaunch the client (Windows: quit from the system tray, not just the window; macOS: Cmd-Q).

Pin the Python version (avoid conda / pyenv / version conflicts)

uv chooses which Python runs the server. On machines with conda (auto-activated base), pyenv, or asdf — or with a newer CPython release that some dependencies do not have wheels for yet — uv can grab an interpreter that makes installation fail. Pin Python 3.11 and prefer uv-managed interpreters to avoid using whatever is on your PATH:

json
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": ["--python", "3.11", "blender-mcp"],
            "env": { "UV_PYTHON_PREFERENCE": "only-managed" }
        }
    }
}

--python 3.11 still satisfies this package's requires-python >=3.10, and UV_PYTHON_PREFERENCE=only-managed keeps uv from selecting conda, pyenv, asdf, or system Python first. (The repo's .python-version is only a hint for contributors and does not affect uvx.) If a previous failed attempt keeps replaying after a fix, clear the cache: uv cache clean blender-mcp && uvx --refresh blender-mcp.

If uv won't work: install without uv

On locked-down machines you can skip uvx entirely with pipx, then point your client at the installed command:

bash
pipx install blender-mcp
pipx ensurepath          # then restart your shell / client

Use the resulting absolute path as "command" (find it with which blender-mcp / where blender-mcp) and omit args.

Environment Variables

The following environment variables can be used to configure the Blender connection:

  • BLENDER_HOST: Host address for Blender socket server (default: "localhost")
  • BLENDER_PORT: Port number for Blender socket server (default: 9876)

Example:

bash
export BLENDER_HOST='host.docker.internal'
export BLENDER_PORT=9876

Claude for Desktop Integration

Watch the setup instruction video (Assuming you have already installed uv)

Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:

json
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

<details>

<summary>Claude Code</summary>

Use the Claude Code CLI to add the blender MCP server:

bash
claude mcp add blender uvx blender-mcp

</details>

Cursor integration

![Install MCP Server](https://cursor.com/link/mcp%2Finstall?name=blender&config=eyJjb21tYW5kIjoidXZ4IGJsZW5kZXItbWNwIn0%3D)

For Mac users, go to Settings > MCP and paste the following

  • To use as a global server, use "add new global MCP server" button and paste
  • To use as a project specific server, create .cursor/mcp.json in the root of the project and paste
json
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

For Windows users, go to Settings > MCP > Add Server, add a new server with the following settings:

json
{
    "mcpServers": {
        "blender": {
            "command": "cmd",
            "args": [
                "/c",
                "uvx",
                "blender-mcp"
            ]
        }
    }
}

Cursor setup video

⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both

Visual Studio Code Integration

_Prerequisites_: Make sure you have Visual Studio Code installed before proceeding.

![Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22blender-mcp%22%2C%22type%22%3A%22stdio%22%2C%22command%22%3A%22uvx%22%2C%22args%22%3A%5B%22blender-mcp%22%5D%7D)

OpenCode integration

json
{
  "mcp": {
    "blender-mcp": {
      "type": "local",
      "command": ["uvx", "blender-mcp"],
      "enabled": true,
      "environment": {
        "BLENDER_HOST": "localhost",
        "BLENDER_PORT": "9876"
      }   
    }
  }
}

Installing the Blender Addon

1. Download the addon.py file from this repo

1. Open Blender

2. Go to Edit > Preferences > Add-ons

3. Click "Install..." and select the addon.py file

4. Enable the addon by checking the box next to "Interface: Blender MCP"

よくある質問

Blender MCP で何ができますか?

Claude などの AI を Blender に直結します。自然言語でモデリング、マテリアル設定、シーン構築、任意の Blender Python スクリプト実行が可能で、Poly Haven の無料アセットも呼び出せます。言葉の描写がそのまま 3D シーンになります。

Blender MCP をセットアップするには?

2 ステップです。① Blender に付属の addon.py をインストールして接続を開始、② MCP クライアントに uvx blender-mcp を設定(Python の uv ツールが必要)。Blender 3.0 以上が必要です。

Blender MCP は無料ですか?

無料のオープンソース(MIT)で、Blender 自体も無料ソフトウェアなので全工程ゼロコストです。GitHub スター 2.5 万超の、最も人気のあるクリエイティブ系 MCP サーバーの一つです。