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
13.9K stars

BlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), enabling AI-assisted 3D modeling, scene creation, and manipulation directly within Blender. This integration allows Claude to interact with and control Blender through a socket-based communication system.

Installation

Prerequisites

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

Install uv based on your operating system:

Mac:

brew install uv

Windows:

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

Then:

set Path=C:\Users\nntra\.local\bin;%Path%

For other platforms, check the installation instructions at UV's documentation.

Environment Variables (Optional)

You can configure the Blender connection with these environment variables:

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

Claude for Desktop Integration

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

Cursor Integration

For Mac users:

  1. Go to Settings > MCP
  2. Use "add new global MCP server" button or create .cursor/mcp.json in your project root
  3. Add the following configuration:
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

For Windows users:

  1. Go to Settings > MCP > Add Server
  2. Add a new server with the following settings:
{
    "mcpServers": {
        "blender": {
            "command": "cmd",
            "args": [
                "/c",
                "uvx",
                "blender-mcp"
            ]
        }
    }
}

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

Visual Studio Code Integration

Ensure you have Visual Studio Code installed, then use the MCP integration features to add the blender-mcp server.

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 to use assets from their API (optional)
  4. Click "Connect to Claude"
  5. Make sure the MCP server is configured in your AI application

Using with Claude

Once the connection is established, you'll see a hammer icon in Claude with tools for the 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 through Hyper3D Rodin
  • View screenshots from Blender viewport
  • Search and download Sketchfab models

Example Commands

You can ask Claude to:

  • "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 you to generate a limited number of models per day. If the daily 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: Make sure the Blender addon server is running and the MCP server is configured on Claude. Don't run the uvx command manually in the terminal.
  • Timeout errors: Try simplifying your requests or breaking them into smaller steps.
  • Poly Haven integration: Claude may behave erratically with this integration.
  • Have you tried restarting?: If connection errors persist, try restarting both Claude and the Blender server.

Technical Details

The system uses a 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

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.
  • Poly Haven requires downloading models, textures, and HDRI images. Disable it in Blender if you don't want to use it.

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