Blender MCP

Blender MCP

Diseño
ahujasid/blender-mcp25,148 estrellas
Siddharth Ahuja
claudecursorgeneric
FreeOpen Source

Acerca de este servidor

Un servidor MCP que conecta Blender con agentes de IA. Modelado 3D con lenguaje natural: crear escenas, editar materiales y ejecutar scripts Python de Blender.

Instalación

uvx blender-mcp
Guía oficial de instalación del README (en inglés)

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"

Preguntas frecuentes

¿Qué puede hacer Blender MCP?

Conecta Claude y otras IA directamente con Blender: modelar, texturizar y montar escenas con lenguaje natural, ejecutar scripts Python de Blender y usar recursos gratuitos de Poly Haven. Descripciones verbales convertidas en escenas 3D.

¿Cómo configuro Blender MCP?

Dos pasos: 1) instala el addon.py complementario en Blender e inicia la conexión; 2) configura uvx blender-mcp en tu cliente MCP (requiere la herramienta uv de Python). Se necesita Blender 3.0 o superior.

¿Blender MCP es gratuito?

Gratuito y de código abierto (MIT), y Blender también es software libre: todo el conjunto cuesta cero. Es uno de los servidores MCP creativos más populares, con más de 25 000 estrellas en GitHub.