Skip to content
MCP Shelf

Blender MCP Server

Prompt-driven modelling in a running copy of Blender.

View on GitHub
  • Package checked
  • ★ 32.6K GitHub stars
  • 63.7K downloads a week
  • Last commit 24 Oct 2026

What is Blender MCP?

Blender MCP (now published as MCP for Blender) is an open source MCP server and Blender add-on that lets AI assistants build and change 3D scenes in a running copy of Blender.

Tools
9
Runs on
Your computer
Licence
MIT
GitHub stars
32.6K

Good for

  • Blocking out scenes from a description
  • Learning Blender by asking for changes
  • Batch edits that would take many clicks

You'll need

  • Blender 3.0 or newer
  • uv (for uvx)
  • The MCP for Blender add-on, which the setup command installs

Package checkedThe PyPI package blender-mcp was renamed mcp-for-blender. Old configs that run uvx blender-mcp still work, but new installs should use the new name. The npm package called "blender-mcp" has no link to this project.

MCP Shelf take

We started Blender on our own test machine on 26 Oct 2026 and it answered with 9 tools. 3 of the 9 only read; the other 6 can change things. Every tool comes with a useful description, none says whether they change things, and the tool list costs about 2,600 tokens of context before you ask a thing. Other directories point at a package with the same name that belongs to someone else; the config on this page installs the real one. It is the most-starred of the 14 servers in its category on our shelf (32.6K stars, with 63.7K downloads a week).
MCP Shelf tests: numbers from our own runs, not the README · tested on 26 Oct 2026

What can Blender MCP read and change?

It can read

  • The scene open in Blender: objects, materials, rigs and viewport images
  • Online asset libraries you switch on in the addon's sidebar

It can change

  • Anything in the open .blend file, through Python it writes and runs
  • Downloads assets into the scene
  • Without safe mode, a script could also read or write files on your computer

Safer setup: Set BLENDER_MCP_SAFE_MODE=1 so scripts are vetted before they run, and save your .blend before each session.

Blender MCP in more detail

Blender MCP connects an assistant to Blender through a small add-on that listens on a local socket. From there the assistant can add and transform objects, set materials, inspect the scene and run Blender Python, while you watch the viewport.

It can also pull assets from Poly Haven and generate models through services like Hyper3D when you enable them.

Made by
Siddharth Ahuja and contributors (an independent project, not made by the Blender Foundation)
Latest version
2.2.4 (24 Oct 2026)
PyPI package
mcp-for-blender
Downloads
63.7K a week
Last commit
24 Oct 2026
Setup checked
27 Oct 2026
Page updated
27 Oct 2026

What's in the pod

What tools does Blender MCP have?

We found 9 tools when we started it on 26 Oct 2026. 3 only read. The rest can change things, so keep your app's "ask before each tool call" setting on for them.

Runs commands1 tool · Can start programs or run code.

ToolWhat it is for
execute_blender_codeRuns Python inside your open Blender session to model, light, rig or animate, and returns whatever the script prints.

Changes things5 tools · Can create, edit, send or delete.

ToolWhat it is for
disable_telemetrySwitches off the optional sharing of prompts, code and screenshots when you ask it to.
generate_3dCreates one new textured model from a text prompt or a picture, using Meshy, Tripo, Hyper3D Rodin or Hunyuan3D, and drops it into the scene.
import_assetDownloads an asset found by search_assets and places it in the scene, optionally scaled or applied to an object.
lookTakes a picture of the scene from the viewport, a camera or several angles so the agent can check its own work.
record_trajectory_feedbackLogs whether you kept or rejected a result, for people who opted in to sharing data.

Only reads3 tools · Looks things up and changes nothing.

ToolWhat it is for
get_addon_statusChecks the Blender version, whether the addon matches the server and which asset sources are switched on.
get_scene_infoDescribes the scene in text: objects, positions, sizes and whether meshes and rigs look healthy.
search_assetsSearches Poly Haven, Sketchfab or Poly Pizza for models, textures and HDRIs that match what you describe.

Grouped and described by us. The README on GitHub lists the inputs each tool takes.

How clearly it describes its tools to your assistant

Tools with a description
9 of 9
Say if they change things
0 of 9
Context it takes, at least
~2,600 tokens

No tool says whether it only reads or can change things, so your client treats them all alike: keep approvals on.

From the tool list it sent us. The token figure counts names, descriptions and input names; the full schemas your client loads add more.

How do I install Blender MCP?

Install steps from the Blender MCP README

The project's own instructions, copied from its README on GitHub on 27 Oct 2026 under its MIT licence. They are the source of truth; the ready-made configs further down are built from them. The rest of the README is in the README tab.

Quickstart

Note: the PyPI package blender-mcp is now mcp-for-blender. Existing setups keep working — uvx blender-mcp still runs the server and no config change is required. New installs should use mcp-for-blender. What changed and why

One command sets up your AI apps and the Blender addon:

macOS / Linux

curl -LsSf https://www.mcp-for-blender.com/install.sh | sh

Windows (PowerShell)

irm https://www.mcp-for-blender.com/install.ps1 | iex

From Command Prompt instead: powershell -c "irm https://www.mcp-for-blender.com/install.ps1 | iex"

Prefer not to run a script, or Windows Defender blocked it? Install uv with winget, open a new terminal, then run setup:

winget install --id=astral-sh.uv -e
uvx mcp-for-blender setup

Already have uv? Run uvx mcp-for-blender setup instead.

It installs uv if needed, finds the MCP clients on your machine (Claude Desktop, Claude Code, Codex, Cursor, VS Code, Devin Desktop/Windsurf, OpenCode, Antigravity), and lets you pick which to set up. Then it installs the Blender addon and enables it. Your existing config is kept: it only adds a blender entry and saves a .bak of each file it changes.

Then fully quit and reopen your AI app (on Windows, quit it from the system tray), open Blender, and ask it to build something. The addon starts its server when Blender opens.

Manual setup, in case the automatic setup doesn't work

Three steps: install uv, point your MCP client at the server, install the Blender addon.

1. Install uv

# macOS
brew install uv

# Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
winget install --id=astral-sh.uv -e
# or, with uv's installer
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Warning: Do not proceed before installing uv. Use the official installer — not pip install uv.

2. Add the MCP server to your client

Claude Desktop — Settings → Developer → Edit Config
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": ["mcp-for-blender"]
        }
    }
}
Claude Code
claude mcp add blender uvx mcp-for-blender
Codex
codex mcp add blender -- uvx mcp-for-blender
Cursor / VS Code / OpenCode / Antigravity

See MCP Client Setup below for per-client instructions and one-click install buttons.

3. Install the Blender addon

uvx mcp-for-blender install-addon

Then in Blender: Edit → Preferences → Add-ons → enable Interface: MCP for Blender.

4. Connect

The addon starts its server when Blender opens. To check, press N in the 3D viewport → open the MCP for Blender tab (click Start MCP Server if it isn't running). That's it — ask Claude to build something.

Note: Only run one instance of the MCP server (either Cursor or Claude Desktop), not both.


What you need first

  • Blender 3.0 or newer
  • uv (for uvx)
  • The MCP for Blender add-on, which the setup command installs

Steps

  1. Run uvx mcp-for-blender setup (or the project's one-line installer). It finds your AI apps, adds a blender entry to each one you pick, and installs and enables the Blender add-on.
  2. To do it by hand instead: add the config below to your app, then run uvx mcp-for-blender install-addon and enable "Interface: MCP for Blender" in Blender's add-on preferences.
  3. Fully quit and reopen your AI app, then open Blender. The add-on starts its server on launch; press N in the 3D view and open the MCP for Blender tab to check.

Add Blender MCP to your app

Pick your app for a ready-to-paste snippet and where it goes, built from the steps above.

Where it goes: Your terminal, in the project folder

Claude Code
claude mcp add blender uvx mcp-for-blender

Or run uvx mcp-for-blender setup, which configures Claude Code and your other AI apps and installs the Blender add-on in one go.

Checked against the project's own install docs on 27 Oct 2026: ahujasid/mcp-for-blender README.

Did this work for you?

Projects change their install steps often. If Blender MCP did not install, or something here no longer matches the project, tell us and we will check it against the README and fix the page.

New to this? See the setup guides for Claude Code, Cursor, Claude Desktop, VS Code, Codex and ChatGPT. If it will not start, test it in MCP Inspector and look up the error in Fixing MCP server errors.

Blender MCP not working? Common fixes

The client says it cannot connect to Blender
Open Blender first, press N in the 3D view and check the MCP for Blender tab says the server is running. Let the client start the server; do not run uvx yourself in a terminal.
spawn uvx ENOENT
Desktop apps do not see your terminal's PATH. Put the full path from which uvx (or where uvx on Windows) in the command field, then fully quit and reopen the app.
Requests time out
Ask for smaller steps. One object or one change per message works far better than a whole scene at once.
Blender hangs while an asset downloads
Downloads run on Blender's main thread. Ask for 1k or 2k textures unless the object sits right in front of the camera.
Two clients fight over the connection
Only run the server from one app at a time, for example Claude Desktop or Cursor, not both.

How do I configure Blender MCP?

Names are exactly as the project spells them. Required ones are marked.

SettingWhat it does
BLENDER_HOSTEnvironment variableWhere the Blender addon is listening. Defaults to localhost; Docker on Mac or Windows uses host.docker.internal.localhost
BLENDER_PORTEnvironment variablePort of the addon's socket. Defaults to 9876. Change it to drive more than one Blender at once.9876
BLENDER_MCP_SAFE_MODEEnvironment variableSet to 1 and every script is checked first, blocking file access, network calls and launching other programs.1
DISABLE_TELEMETRYEnvironment variableSet to true to stop even the small anonymous usage count the server sends by default.true
BLENDERMCP_SKETCHFAB_API_KEYEnvironment variableSketchfab key for searching and importing its models. Can also be saved in the addon's preferences.
BLENDERMCP_POLYPIZZA_API_KEYEnvironment variableFree Poly Pizza key for low-poly models.
BLENDERMCP_MESHY_API_KEYEnvironment variableYour own Meshy key for text or image to 3D. Needs a paid Meshy plan.
BLENDERMCP_HYPER3D_API_KEYEnvironment variableKey for Hyper3D Rodin model generation.
BLENDERMCP_HUNYUAN3D_SECRET_IDEnvironment variableTencent Cloud id for Hunyuan3D, paired with BLENDERMCP_HUNYUAN3D_SECRET_KEY.

Blender MCP FAQ

How do I install Blender MCP in Claude Code?

The quickest route is uvx mcp-for-blender setup, which adds the server to Claude Code and other apps it finds and installs the Blender add-on. By hand, run claude mcp add blender uvx mcp-for-blender, then uvx mcp-for-blender install-addon and enable the add-on in Blender.

How do I connect Blender MCP to Claude Desktop?

Add a blender entry that runs uvx mcp-for-blender to Claude Desktop's config (Settings, Developer, Edit Config), install the add-on, then fully quit and reopen Claude. On Windows, quit it from the system tray, not just the window.

Is Blender MCP an official Blender product?

No. It is an independent open source project by Siddharth Ahuja and contributors, MIT licensed, and not made or endorsed by the Blender Foundation.

Is Blender MCP free?

The server and add-on are free. Poly Haven assets need no key. AI model generation through Meshy, Tripo, Hyper3D or Hunyuan3D needs your own key with that service, or the project's paid Premium plan, which supplies them.

Is Blender MCP safe?

The assistant can run any Python inside Blender, and the add-on's socket has no password or encryption. Keep it on localhost, save your .blend first, and turn on safe mode with BLENDER_MCP_SAFE_MODE=1 to have scripts checked before they run.

Was Blender MCP renamed?

Yes. The PyPI package blender-mcp is now mcp-for-blender and the GitHub repository moved with it. Configs that still run uvx blender-mcp keep working, so you only need the new name for new installs.

Blender MCP says it cannot connect to Blender. What do I do?

Check Blender is open, press N in the 3D view, open the MCP for Blender tab and click Start MCP Server if it is not running. Only one AI app can hold the connection, so close any other client using it.

How do I update Blender MCP?

Run uvx mcp-for-blender@latest update. It refreshes the server and every installed copy of the add-on and keeps a backup of each file it replaces. Then restart your AI app and re-enable the add-on or restart Blender.

Blender MCP README

This is the project's own README from ahujasid/mcp-for-blender, written by Siddharth Ahuja and contributors (an independent project, not made by the Blender Foundation), and shared under its MIT licence. We copied it on 27 Oct 2026, so the version on GitHub may be newer.

MCP for Blender

Connect Blender to any LLM

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more

Disclaimer: This is a third-party integration and not made by Blender

Prompt-assisted 3D modeling, scene creation, and manipulation — driven by AI.


Supporters

CodeRabbit Guillermo Rauch

All supporters: Support this project


Quickstart

Note: the PyPI package blender-mcp is now mcp-for-blender. Existing setups keep working — uvx blender-mcp still runs the server and no config change is required. New installs should use mcp-for-blender. What changed and why

One command sets up your AI apps and the Blender addon:

macOS / Linux

curl -LsSf https://www.mcp-for-blender.com/install.sh | sh

Windows (PowerShell)

irm https://www.mcp-for-blender.com/install.ps1 | iex

From Command Prompt instead: powershell -c "irm https://www.mcp-for-blender.com/install.ps1 | iex"

Prefer not to run a script, or Windows Defender blocked it? Install uv with winget, open a new terminal, then run setup:

winget install --id=astral-sh.uv -e
uvx mcp-for-blender setup

Already have uv? Run uvx mcp-for-blender setup instead.

It installs uv if needed, finds the MCP clients on your machine (Claude Desktop, Claude Code, Codex, Cursor, VS Code, Devin Desktop/Windsurf, OpenCode, Antigravity), and lets you pick which to set up. Then it installs the Blender addon and enables it. Your existing config is kept: it only adds a blender entry and saves a .bak of each file it changes.

Then fully quit and reopen your AI app (on Windows, quit it from the system tray), open Blender, and ask it to build something. The addon starts its server when Blender opens.

Manual setup, in case the automatic setup doesn't work

Three steps: install uv, point your MCP client at the server, install the Blender addon.

1. Install uv

# macOS
brew install uv

# Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
winget install --id=astral-sh.uv -e
# or, with uv's installer
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Warning: Do not proceed before installing uv. Use the official installer — not pip install uv.

2. Add the MCP server to your client

Claude Desktop — Settings → Developer → Edit Config
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": ["mcp-for-blender"]
        }
    }
}
Claude Code
claude mcp add blender uvx mcp-for-blender
Codex
codex mcp add blender -- uvx mcp-for-blender
Cursor / VS Code / OpenCode / Antigravity

See MCP Client Setup below for per-client instructions and one-click install buttons.

3. Install the Blender addon

uvx mcp-for-blender install-addon

Then in Blender: Edit → Preferences → Add-ons → enable Interface: MCP for Blender.

4. Connect

The addon starts its server when Blender opens. To check, press N in the 3D viewport → open the MCP for Blender tab (click Start MCP Server if it isn't running). That's it — ask Claude to build something.

Note: Only run one instance of the MCP server (either Cursor or Claude Desktop), not both.


Table of Contents

  • Quickstart
  • Features
  • Premium
  • Components
  • Installation
    • Automatic setup
    • Prerequisites
    • Make your client find uvx
    • Pin the Python version
    • Install without uv
    • Run with Docker
    • Environment Variables
  • MCP Client Setup
    • Claude for Desktop
    • Codex
    • Cursor
    • Visual Studio Code
    • OpenCode
    • Antigravity
  • Installing the Blender Addon
  • Upgrading (existing users)
  • Usage
    • Starting the Connection
    • Using with Claude
    • Capabilities
    • Example Commands
  • Persistent API Credentials
  • Troubleshooting
  • Technical Details
  • Limitations & Security Considerations
  • Telemetry Control
  • Feedback
  • Contributing
  • Disclaimer
  • Star History

Features

Two-way communication Connect Claude AI to Blender through a socket-based server
Object manipulation Create, modify, and delete 3D objects in Blender
Material control Apply and modify materials and colors
Visual verification Multi-angle, camera, wireframe, X-ray and animation-strip views, plus renders, so the AI checks its own work
Code execution The AI writes Blender Python directly
Asset & model generation Poly Haven assets, Sketchfab models, Poly Pizza low-poly models, and AI-generated 3D models via Meshy, Tripo, Hyper3D Rodin and Hunyuan3D

Premium

Generate AI 3D models (Meshy, Hunyuan3D, Tripo, Hyper3D Rodin) straight into Blender without bringing your own API keys. More details

Components

The system consists of two main components:

  1. Blender Addon (addon.py) — a Blender addon that creates a socket server within Blender to receive and execute commands
  2. MCP Server (src/blender_mcp/server.py) — a Python server that implements the Model Context Protocol and connects to the Blender addon

Installation

Automatic setup

The quickest way is the one-line installer. It installs uv, configures your MCP clients, and installs and enables the Blender addon:

# macOS / Linux
curl -LsSf https://www.mcp-for-blender.com/install.sh | sh
# Windows (PowerShell)
irm https://www.mcp-for-blender.com/install.ps1 | iex

Already have uv? Run uvx mcp-for-blender setup instead. On Windows, winget install --id=astral-sh.uv -e installs uv without running a script. See Quickstart for what it changes. The rest of this section covers manual setup.

Prerequisites
  • Blender 3.0 or newer
  • Python 3.10 or newer
  • uv package manager
Installing uv, per platform

macOS

brew install uv

Windows

winget install --id=astral-sh.uv -e

Then open a new terminal so it's on your PATH. Or use uv's installer:

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

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

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

Linux

curl -LsSf https://astral.sh/uv/install.sh | sh

It lands in ~/.local/bin — open a new shell so it's on your PATH.

Otherwise, installation instructions are on their website: Install uv

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.

Warning: 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", "mcp-for-blender"].
  • 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:

{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": ["--python", "3.11", "mcp-for-blender"],
            "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 mcp-for-blender blender-mcp && uvx --refresh mcp-for-blender
Install without uv

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

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

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

Run with Docker

You can run the MCP server in a container instead of installing it. Blender itself still runs on your machine — the container only hosts the MCP server, which connects out to the Blender addon.

Build the image from the repo root:

docker build -t mcp-for-blender .

Then point your MCP client at it (the -i flag is required — the server talks to the client over stdin/stdout):

{
    "mcpServers": {
        "blender": {
            "command": "docker",
            "args": ["run", "-i", "--rm", "mcp-for-blender"]
        }
    }
}

The image defaults to BLENDER_HOST=host.docker.internal, which reaches the host's Blender out of the box with Docker Desktop on macOS and Windows.

On Linux, host.docker.internal doesn't exist and the addon only listens on localhost, so use host networking instead:

{
    "mcpServers": {
        "blender": {
            "command": "docker",
            "args": ["run", "-i", "--rm", "--network=host", "-e", "BLENDER_HOST=localhost", "mcp-for-blender"]
        }
    }
}

To enable safe mode in the container, add "-e", "BLENDER_MCP_SAFE_MODE=1" to args.

Environment Variables

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

Variable Default Description
BLENDER_HOST localhost Host address for Blender socket server
BLENDER_PORT 9876 Port number for Blender socket server
BLENDER_MCP_SAFE_MODE off Set to 1 to validate scripts before they run in Blender (see below)
BLENDER_MCP_APPS auto Set to 1 to force the inline viewport app on for clients that support MCP Apps without advertising it (the Codex plugin sets this)
BLENDER_MCP_OPENAI_FORMS auto Set to 1 to force the thumbnail asset pickers on (the Codex plugin sets this)

Example:

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

You can also pass the connection as CLI flags, which take precedence over the environment variables. This is handy for running several Blender instances side by side, since each MCP client entry can point at a different port with plain arguments instead of env vars:

uvx mcp-for-blender --port 9877

In an MCP client config that means a second entry differing only in args:

{
  "mcpServers": {
    "blender": { "command": "uvx", "args": ["mcp-for-blender"] },
    "blender-b": { "command": "uvx", "args": ["mcp-for-blender", "--port", "9877"] }
  }
}

Each instance needs its own port set in the Blender addon panel to match.

Note: the addon's socket server has no authentication or encryption, so anyone who can reach that port can run Python inside Blender. Keep it on localhost unless you are on a trusted network, and prefer an SSH tunnel over pointing --host/BLENDER_HOST at a remote machine directly.

Safe mode

By default, the AI can run any Python code in Blender. Set BLENDER_MCP_SAFE_MODE=1 to check every script before it runs and block risky code — things like reading or writing files directly, running other programs, accessing the network, or installing code that keeps running after the script ends. Normal Blender work (modeling, materials, rendering, saving, import/export) still works. Blocked scripts are sent back to the AI with the reason, so it can try again with a corrected version.


MCP Client Setup

Claude for Desktop

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

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

{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "mcp-for-blender"
            ]
        }
    }
}
Claude Code

Use the Claude Code CLI to add the MCP for Blender server:

claude mcp add blender uvx mcp-for-blender
Codex

The Codex CLI, desktop app, and IDE extension all share the same config file (~/.codex/config.toml), so setting the server up once covers all three.

Codex plugin (recommended)

The plugin adds a live viewport inline in the chat (click an object to attach it to your next message), thumbnail pickers for Poly Haven, Sketchfab and Poly Pizza, and @-mentions for scene objects, materials and collections. It isn't in the Codex plugin directory yet, so add it from this repo:

git clone https://github.com/ahujasid/blender-mcp.git
codex plugin marketplace add ./blender-mcp/integrations/codex

Then restart Codex, install MCP for Blender from the plugins directory, and ask it to use MCP for Blender in chat. Once it's running, the viewport opens in a side panel next to the conversation:

MCP for Blender plugin in the Codex app, showing the live viewport beside the chat

Plain MCP server

Register the server with the Codex CLI:

codex mcp add blender -- uvx mcp-for-blender

Or add it by hand to ~/.codex/config.toml (or $CODEX_HOME/config.toml):

[mcp_servers.blender]
command = "uvx"
args = ["mcp-for-blender"]

Or in the Codex desktop app: Settings → MCP servers → Add server → name it blender, pick STDIO, enter uvx mcp-for-blender as the command, then Save and restart. If the app can't find uvx, use its full path instead — see Make your client find uvx.

Check it registered with codex mcp list — the blender server should show as enabled. The tools become available the next time you start Codex.

To set environment variables (e.g. a non-default Blender host/port), pass --env KEY=VALUE flags to codex mcp add, or add them in the config file:

[mcp_servers.blender]
command = "uvx"
args = ["mcp-for-blender"]
env = { BLENDER_HOST = "localhost", BLENDER_PORT = "9876" }
Cursor

macOS — go to Settings → MCP and paste the following:

  • To use as a global server, use the "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
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "mcp-for-blender"
            ]
        }
    }
}

Windows — go to Settings → MCP → Add Server, add a new server with the following settings:

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

Cursor setup video

Note: Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both.

Visual Studio Code

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

OpenCode
{
  "mcp": {
    "blender-mcp": {
      "type": "local",
      "command": ["uvx", "mcp-for-blender"],
      "enabled": true,
      "environment": {
        "BLENDER_HOST": "localhost",
        "BLENDER_PORT": "9876"
      }
    }
  }
}
Antigravity
{
  "mcpServers": {
    "blender-mcp": {
      "command": "uvx",
      "args": ["mcp-for-blender"],
      "env": {
        "BLENDER_HOST": "localhost",
        "BLENDER_PORT": "9876"
      }
    }
  }
}

Installing the Blender Addon

uvx mcp-for-blender setup (see Quickstart) does all of this, including enabling the addon. The steps below are for doing it by hand.

1. Recommended — from a terminal, run:

uvx mcp-for-blender install-addon

This copies the addon into your Blender addons folder as blender_mcp.py. It prints where it wrote to, and keeps a .bak of any file it replaces.

Optional: uvx mcp-for-blender addon-paths lists detected Blender addons folders. Override the destination with BLENDERMCP_ADDONS_DIR=/path/to/scripts/addons.

2. Open Blender

3. Go to Edit → Preferences → Add-ons

4. Enable Interface: MCP for Blender (search "MCP for Blender"). If it doesn't appear yet, click Install… and select the copied blender_mcp.py / addon.py, or restart Blender.

5. Manual alternative — if the command above can't find your Blender install, or you prefer doing it by hand: download addon.py from this repo → in Blender, Edit → Preferences → Add-ons → Install… → select the downloaded addon.py → enable it.

Then open the MCP for Blender tab in Blender's sidebar (press N in the 3D viewport) and click Start MCP Server. See Starting the Connection below.

Upgrading (existing users)

For newcomers, go straight to Quickstart. For existing users, see below.

1. Run:

uvx mcp-for-blender@latest update

This updates the MCP server (refreshing uv's cached copy, or upgrading a uv tool install) and every installed copy of the Blender addon, keeping a .bak of each file it replaces. It never downgrades an addon that's newer than the release, and leaves alone a copy you've edited locally. Add --dry-run to see what it would change first.

Use @latest the first time: releases older than 2.1.7 don't have the update command, and uvx may still have one of those cached.

2. Restart your MCP client (Claude Desktop, Cursor, ...) so it starts the new server.

3. In Blender: restart it, or Preferences → Add-ons → disable and re-enable Interface: MCP for Blender, then click Start MCP Server again.

If a client is still set up with the old blender-mcp package name, update says so; uvx mcp-for-blender setup switches it over.

Note: the MCP server never modifies your Blender addon files on its own. When it starts, it checks whether the installed addon is behind the bundled copy and logs how to update; update and install-addon are what actually write. Trajectory capture still works on older loaded addons via an execute_code fallback.


Usage

Starting the Connection

MCP for Blender in the sidebar

  1. In Blender, go to the 3D View sidebar (press N if not visible)
  2. Find the MCP for Blender tab
  3. Turn on the checkboxes you'd like to use (see more under Capabilities below)
  4. Click Connect to Claude
  5. Make sure the MCP server is running in your terminal
Using with Claude

Once the config file has been set on Claude, and the addon is running on Blender, you will see a hammer icon with tools for MCP for Blender.

MCP for Blender in the sidebar

Capabilities

The AI writes Blender Python itself for modelling, layout, materials, animation, rigging and retopology. The MCP adds what Python can't do on its own, as nine tools:

Tool What it's for
execute_blender_code Run Python in your live Blender
look See the result from the viewport, camera, angles (auto-framed multi-view sheet, any direction) or frames (animation strip), drawn solid, material, rendered, wireframe or xray; or show a render or image file
get_scene_info Compact scene summary, one line per object with the fields you pick (placement, materials, topology, weights, ...); drill in with root or query
generate_3d One call to generate and import a model with Tripo, Hunyuan3D, Hyper3D Rodin or Meshy. Premium generators are preferred automatically
search_assets / import_asset Poly Haven HDRIs, textures and models, Sketchfab models, Poly Pizza low-poly models
get_addon_status Blender version, addon version, and which libraries and generators are switched on
disable_telemetry, record_trajectory_feedback Data collection controls
Hunyuan3D on Tencent Cloud (Official API mode)

Which Tencent Cloud service the addon must call depends on where your account lives:

Account Service the addon calls Region Sidebar toggle
Mainland (cloud.tencent.com) AI3D 3.0 (ai3d, version 2025-05-13) ap-guangzhou leave International (Pro) account off (default)
International (tencentcloud.com), Hunyuan-to-3D (Professional) hunyuan, version 2023-09-01, PBR enabled ap-singapore tick International (Pro) account

International credentials sent to the mainland endpoint fail with AuthFailure.SignatureFailure or ResourceUnavailable, so tick the toggle when your SecretId/SecretKey come from tencentcloud.com. The toggle sits under Tencent Hunyuan 3D → Official API in the sidebar.

Meshy

Meshy generates textured 3D models from a text prompt or a reference image, sized to real-world height with the origin at the bottom, so models arrive standing on the ground at a plausible size. It runs through Premium with no key, or on your own Meshy API key. Through Premium, Meshy uses its latest model and each model counts as one standard generation. Your own API key needs a paid Meshy plan: get a Meshy API key. Tick Meshy under AI Model Generation in the sidebar, choose a Model, and paste the key. On your own key, ask for a character "in an A-pose" or "in a T-pose" and Meshy generates it in that pose, ready to rig.

Poly Haven

Poly Haven publishes around 2,400 HDRIs, textures and models, all CC0 and free, funded by donations rather than by selling the assets. There is no API key, no account and no rate limit worth worrying about.

In the 3D View sidebar, tick Poly Haven. That is the whole setup.

Worked example:

"Light the scene with an overcast afternoon HDRI and put a rusty metal texture on the wall"

Claude calls search_assets(source="polyhaven", query="overcast afternoon", asset_type="hdris"), which understands the intent rather than matching keywords - "couch" finds sofas, and it works in any language. previews=3 attaches thumbnails of the top results before spending the bandwidth, and import_asset(source="polyhaven", id="...", asset_type="textures", apply_to=["Wall"]) downloads a texture and applies it in one call.

Searches can also filter on a category path or on attributes such as weather and time of day for HDRIs, or surface use and condition for textures; an unknown attribute errors with the valid ones.

Models are imported from the .blend, which is the file the artist authored - the glTF, FBX and USD versions are generated from it and lose material detail. Textures build a Principled material from the maps that drive it, and skip the repackings and alternate conventions that nothing reads. HDRIs are packed into the file, so the lighting survives being saved and reopened somewhere else, and arrive in a new world rather than overwriting one you built.

Licence and attribution: every Poly Haven asset is CC0. You never have to credit anyone, for anything, commercial or not. Their API terms do ask that software built on the live API makes clear where the assets come from, so the search and import responses name the source and link the asset's page. On import, polyhaven_id, polyhaven_url, polyhaven_authors, polyhaven_resolution and polyhaven_licence are written onto the imported objects, materials, images and world as custom properties, so whoever opens the .blend later can still find the asset and the artist who made it.

Poly Pizza

Poly Pizza hosts roughly 10,600 free low-poly models, including the rescued Google Poly archive. It is the best source for stylised game assets: every model is a single self-contained .glb, and the geometry is far lighter than Sketchfab's.

  1. Get a free API key at poly.pizza/settings/api
  2. In the 3D View sidebar, tick Use assets from Poly Pizza
  3. Paste the key into the API Key field that appears (or store it permanently under Edit → Preferences → Add-ons → MCP for Blender)

Worked example:

"Search Poly Pizza for a low-poly chair under a CC0 licence and import one at 1 metre tall"

Claude calls search_assets(source="polypizza", query="chair", licence="CC0"), which returns each match with its licence and triangle count, then import_asset(source="polypizza", id="...", target_size=1.0).

You can also filter by category ("Animals", "Furniture & Decor", "Transport", "Nature", "Buildings", "People & Characters", "Food & Drink", "Weapons", "Clutter", "Objects", "Scenes & Levels", "Other") or ask for animated models only.

Attribution: about 69% of the Poly Pizza catalogue is CC-BY, which requires you to credit the creator wherever the model appears. On import, the ready-formatted credit line is written onto each imported root object as the custom property polypizza_attribution (alongside polypizza_id and polypizza_licence), so it is saved into your .blend and survives the session. Filter with licence="CC0" if you would rather use models that need no credit.

Example Commands

Here are some examples of what you can ask Claude to do:

Prompt Demo
"Create a low poly scene in a dungeon, with a dragon guarding a pot of gold" Watch
"Create a beach vibe using HDRIs, textures, and models like rocks and vegetation from Poly Haven" Watch
Give a reference image, and create a Blender scene out of it Watch
"Get information about the current scene, and make a threejs sketch from it" Watch
"Generate a 3D model of a garden gnome through Hyper3D"
"Generate a wooden rocking chair with Meshy"
"Fill this room with low-poly furniture from Poly Pizza"
"Make this car red and metallic"
"Create a sphere and place it above the cube"
"Make the lighting like a studio"
"Point the camera at the scene, and make it isometric"

Persistent API Credentials

MCP for Blender supports persistent credentials via Blender Add-on Preferences:

Edit → Preferences → Add-ons → MCP for Blender

You can store these values there so they survive Blender restarts:

  • Sketchfab API Key
  • Poly Pizza API Key
  • Hyper3D API Key
  • Hunyuan3D SecretId / SecretKey
  • Hunyuan3D API URL
  • Meshy API Key

For headless setups or CI, credentials can also be injected by environment variables:

Variable
BLENDERMCP_SKETCHFAB_API_KEY
BLENDERMCP_POLYPIZZA_API_KEY
BLENDERMCP_HYPER3D_API_KEY
BLENDERMCP_HUNYUAN3D_SECRET_ID
BLENDERMCP_HUNYUAN3D_SECRET_KEY
BLENDERMCP_HUNYUAN3D_API_URL
BLENDERMCP_MESHY_API_KEY

Troubleshooting

Problem Fix
Connection issues Make sure the Blender addon server is running, and the MCP server is configured on Claude. Do not run the uvx command in the terminal. Sometimes the first command won't go through, but after that it starts working.
Timeout errors Try simplifying your requests or breaking them into smaller steps.
Blender freezes during a Poly Haven download Assets are downloaded on Blender's main thread, so the UI stops responding until the transfer finishes. File size grows roughly fourfold per resolution step, so ask for 1k or 2k unless the asset is held close to camera.
Poly Pizza download fails with a Cloudflare challenge static.poly.pizza is behind bot protection and blocks datacenter, VPN and cloud IPs. Your API key is fine - the CDN never sees it. Retry from a normal connection, or download the .glb by hand and use File → Import → glTF 2.0.
Have you tried turning it off and on again? If you're still having connection errors, try restarting both Claude and the Blender server.

Technical Details

Communication Protocol

The system uses a simple JSON-based protocol over TCP sockets:

  • Commands are sent as JSON objects with a type and optional params
  • Responses are JSON objects with a status and result or message

Limitations & Security Considerations

Warning: The execute_blender_code tool allows running arbitrary Python code in Blender, which can be powerful but potentially dangerous. Use with caution in production environments. ALWAYS save your work before using it.

  • Poly Haven requires downloading models, textures, and HDRI images. If you do not want to use it, please turn it off in the checkbox in Blender.
  • Complex operations might need to be broken down into smaller steps.

Telemetry Control

Telemetry is opt-in. Collection of your content is off by default and stays off until you explicitly turn it on.

What is collected by default (no opt-in): a minimal anonymous usage record so I can count active users and see which tools get used — a randomly generated install ID, a session ID, the tool name, whether it succeeded, how long it took, the MCP for Blender and Blender versions, your operating system, and a timestamp.

Never collected without opting in: your prompts, generated code, viewport screenshots, scene data, and trajectory steps.

To opt in — go to Edit → Preferences → Add-ons → MCP for Blender and check the telemetry consent checkbox. Some MCP clients will also offer you a one-time opt-in prompt at the start of a conversation. Opting in adds prompts, generated code, screenshots, and trajectory data to what's collected; see the TnC for details. You can turn it back off in the same place at any time.

To turn off telemetry entirely, including the minimal anonymous usage record, set an environment variable:

DISABLE_TELEMETRY=true uvx mcp-for-blender

Or add it to your MCP config:

{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": ["mcp-for-blender"],
            "env": {
                "DISABLE_TELEMETRY": "true"
            }
        }
    }
}

Telemetry data is not linked to your name or account. It may be used to improve MCP for Blender, for research, and to train AI models.

Full detail on what is collected, and the license you grant by opting in, is in TERMS_AND_CONDITIONS.md.


Feedback

We are actively looking for feedback on MCP for Blender. If you have thoughts, share them here.

If you have more detailed feedback, you can schedule a call with us here — we will credit you in the project.

Join the Community

Give feedback, get inspired, and build on top of the MCP: Discord

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Disclaimer

This is a third-party integration and not made by Blender. Made by Siddharth.


Star History

If MCP for Blender is useful to you, consider starring the repo

Two peas, one chat

Chat with AI about Blender

Opens a chat primed with Blender’s README and setup docs from this page, or add it in Cursor to use its tools.

The Cursor button opens Cursor and asks before it adds the server. Fill in any keys it needs in Cursor’s MCP settings.

Peas in a pod

What are the alternatives to Blender MCP?

How Blender MCP lines up against its neighbours on the shelf. See every design, 3d and games server.

  • Blender MCPThis pea

    Prompt-driven modelling in a running copy of Blender.

    Tools
    9
    Runs on
    Your computer
    Licence
    MIT
    Stars
    32.6K
  • Framelink Figma MCP

    Feeds Figma layout and styling to coding agents so the UI matches the design.

    Tools
    2
    Runs on
    Your computer
    Licence
    MIT
    Stars
    16.1K
  • Talk to Figma

    Read and edit Figma documents from an agent, through a Figma plugin.

    Tools
    40
    Runs on
    Your computer
    Licence
    MIT
    Stars
    7.1K
  • Godot MCP

    Launch, run and debug Godot projects, and read the output.

    Tools
    14
    Runs on
    Your computer
    Licence
    MIT
    Stars
    6.4K
  • KiCad MCP

    Create boards, place footprints and route traces in KiCad from an assistant.

    Tools
    247
    Runs on
    Your computer
    Licence
    MIT
    Stars
    3K
  • MiniMax

    Text-to-speech, voice cloning, images and video from MiniMax.

    Tools
    8
    Runs on
    Your computer
    Licence
    MIT
    Stars
    1.6K
Full docs on GitHubahujasid/mcp-for-blender

Something wrong on this page? Tell us.

For bots & AI agents

Machine-readable versions of Blender MCP and MCP Shelf. Fetch these instead of parsing this page.

This listing (.md)llms.txtllms-full.txtai.txtFull catalog (.md)API specMCP serverMCP manifestDeveloper docs