Blender MCP server

Enables natural language control of Blender for 3D scene creation, manipulation, and rendering without requiring knowledge of Blender's interface or Python API.
Back to servers
Setup instructions
Provider
Siddharth Ahuja
Release date
Mar 07, 2025
Language
Python
Stats
14.3K stars

This MCP server connects Blender to Claude AI through the Model Context Protocol, enabling AI-assisted 3D modeling, scene creation, and manipulation with two-way communication between Claude and Blender.

Prerequisites

Before installation, ensure you have:

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

Installing uv

Mac:

brew install uv

Windows:

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

Then add uv to your Windows user path:

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

⚠️ Do not proceed without installing UV first

Installation

1. Install the Blender Addon

  1. Download the addon.py file from the repository
  2. Open Blender and go to Edit > Preferences > Add-ons
  3. Click "Install..." and select the downloaded addon.py file
  4. Enable the addon by checking the box next to "Interface: Blender MCP"

2. Configure Your AI Application

Claude for Desktop

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
  2. Add the following configuration:
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

Cursor

For Mac users: Go to Settings > MCP and add either as a global server or project-specific server:

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

For Windows users: Go to Settings > MCP > Add Server with these settings:

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

Visual Studio Code

Install the MCP extension in VS Code first, then configure the blender-mcp server.

3. Environment Variables (Optional)

You can configure the Blender connection using these environment variables:

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

Example:

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

Using BlenderMCP

Starting the Connection

  1. In Blender, open the 3D View sidebar (press N if not visible)
  2. Find the "BlenderMCP" tab
  3. Optionally enable the Poly Haven checkbox for asset access
  4. Click "Connect to Claude"

Working with Claude

Once connected, you'll see a hammer icon with tools for the Blender MCP in Claude's interface.

Example Commands

Here are some things you can ask Claude to do with Blender:

  • "Create a low poly scene in a dungeon, with a dragon guarding a pot of gold"
  • "Create a beach vibe using HDRIs, textures, and models like rocks from Poly Haven"
  • "Generate a 3D model of a garden gnome through Hyper3D"
  • "Get information about the current scene, and make a threejs sketch from it"
  • "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"

You can also provide reference images and ask Claude to create a Blender scene based on them.

Features

  • Two-way communication between Claude AI and Blender
  • Object manipulation - create, modify, and delete 3D objects
  • Material control - apply and modify materials and colors
  • Scene inspection - get detailed scene information
  • Code execution - run Python code in Blender from Claude
  • Asset integration - access to Poly Haven assets (HDRIs, textures, models)
  • 3D model generation - create models with Hyper3D Rodin
  • Hunyuan3D support

Hyper3D Integration

Hyper3D's free trial key allows you to generate a limited number of models per day. If you reach the daily limit, you can wait for the next day's reset or get your own key from hyper3d.ai and fal.ai.

Troubleshooting

  • Connection issues: Ensure the Blender addon server is running and the MCP server is properly configured. The first command sometimes fails but subsequent ones work.
  • Timeout errors: Try breaking complex requests into smaller steps.
  • Poly Haven integration: Note that Claude's behavior with Poly Haven can be inconsistent.
  • Restart if necessary: If experiencing persistent connection issues, try restarting both Claude and the Blender server.

Security Considerations

  • The execute_blender_code tool allows running arbitrary Python code in Blender, which can be powerful but potentially dangerous. Always save your work before using it.
  • If you don't want to use Poly Haven's asset downloading feature, disable it in the Blender checkbox.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "blender" '{"command":"uvx","args":["blender-mcp"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

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

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

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

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later