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.5K stars

The BlenderMCP integration enables direct communication between Blender and Claude AI through the Model Context Protocol (MCP). This powerful tool lets Claude interact with and control Blender, facilitating AI-assisted 3D modeling, scene creation, and manipulation through natural language commands.

Installation

Prerequisites

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

Install uv according to your operating system:

Mac:

brew install uv

Windows:

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

After installing on Windows, add uv to your user path (restart Claude Desktop afterwards if needed):

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

For other systems, visit uv's installation documentation.

Setting Up Environment Variables (Optional)

Configure the Blender connection with these environment variables:

export BLENDER_HOST='host.docker.internal'  # default: "localhost"
export BLENDER_PORT=9876                    # default: 9876

Setting Up Claude 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"
            ]
        }
    }
}

Setting Up Cursor

For Mac users:

  • Go to Settings > MCP and add a new global MCP server (or create .cursor/mcp.json for project-specific use)
  • Use this configuration:
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

For Windows users:

  • Go to Settings > MCP > Add Server
  • Use this configuration:
{
    "mcpServers": {
        "blender": {
            "command": "cmd",
            "args": [
                "/c",
                "uvx",
                "blender-mcp"
            ]
        }
    }
}

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

Installing the Blender Addon

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

Usage

Starting the Connection

  1. In Blender, open the 3D View sidebar (press N if not visible)
  2. Find the "BlenderMCP" tab
  3. Enable the Poly Haven checkbox if you want access to their assets (optional)
  4. Click "Connect to Claude"
  5. Ensure the MCP server is running

Using with Claude

Once configured, you'll see a hammer icon in Claude with tools for Blender MCP.

Capabilities

  • Get scene and object information
  • Create, delete, and modify shapes
  • Apply or create materials for objects
  • Execute Python code in Blender
  • Download models, assets, and HDRIs through Poly Haven
  • Generate 3D models using Hyper3D Rodin
  • View screenshots of the Blender viewport
  • Search and download Sketchfab models

Example Commands

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

  • "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 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"

Hyper3D Integration

Hyper3D's free trial key allows for a limited number of model generations per day. Once the limit is reached, you can wait for the next day's reset or obtain your own key from hyper3d.ai and fal.ai.

Troubleshooting

  • Connection issues: Ensure the Blender addon server is running and the MCP server is configured on Claude. Don't manually run the uvx command in the terminal.
  • Timeout errors: Try simplifying your requests or breaking them into smaller steps.
  • Poly Haven integration: Claude may behave inconsistently with this feature.
  • Persistent problems: Try restarting both Claude and the Blender server.

Technical Details

The system uses a JSON-based protocol over TCP sockets, with commands sent as JSON objects with a type and optional params, and responses as JSON objects with a status and result or message.

Limitations & Security Considerations

  • The execute_blender_code tool runs arbitrary Python code in Blender, which can be powerful but potentially dangerous. Always save your work before using it.
  • Poly Haven functionality requires downloading models, textures, and HDRI images. Disable this in Blender if not needed.
  • Complex operations might need to be broken down into multiple steps.

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