Blender MCP Server

Blender MCP Server

Connects AI assistants to Blender for controlling 3D modeling operations through natural language, enabling creation of objects, applying textures and materials, scene management, and transformations with optimized token efficiency.

Category
Visit Server

README

Blender MCP Server 🎨🤖

A highly optimized Model Context Protocol (MCP) server that connects AI Assistants (like Claude, Gemini, etc.) directly to Blender.

This allows you to control Blender using natural language to create objects, apply textures, manage scenes, and more, with a focus on token efficiency and speed.

✨ Features

  • 🚀 Optimized for AI: Uses compact JSON and output truncation to save 75%+ tokens compared to raw scripting.
  • 🔌 Direct Integration: Works with any MCP-compliant client (Cursor, Windsurf, etc.).
  • 🛠️ Powerful Tools:
    • create_primitive: Create Cubes, Spheres, Cones, etc.
    • transform_object: Move, Rotate, Scale.
    • apply_texture: Auto-Join objects, Smart UV Project, and apply textures in one go.
    • apply_material_preset: Apply Gold, Glass, Plastic, etc. instantly.
    • scatter_objects: Randomly distribute objects.
    • get_scene_info: See what's in your scene (with filtering).
  • UI Control: Dedicated panel in Blender to Start/Stop the server.

📦 Installation Guide

1. Prerequisites

  • Blender 3.0+ installed.
  • Python 3.10+ installed on your system.
  • Git (optional, for cloning).

2. Setup the Project

Clone this repository or download the files:

git clone https://github.com/yourusername/blender-mcp.git
cd blender-mcp

3. Install Python Dependencies

Option A: Local Python (Simple) Install the mcp library required for the server:

pip install mcp

Option B: Using Docker (Clean & Isolated) 🐳 If you prefer not to install Python dependencies locally, you can use Docker.

  1. Build the Image:
    docker build -t blender-mcp .
    
  2. Update MCP Config: Use the docker command instead of python in your IDE config (see Configuration section below).

4. Install the Blender Addon

  1. Open Blender.
  2. Go to Edit > Preferences > Add-ons.
  3. Click Install... at the top right.
  4. Navigate to this folder and select addon.py.
  5. Click Install Add-on.
  6. ✅ Check the box next to Interface: MCP Connector to enable it.

⚙️ Configuration (AI IDE)

You need to tell your AI IDE (like Cursor or Windsurf) about this MCP server.

Option A: Local Python Config

{
  "mcpServers": {
    "blender-mcp": {
      "command": "python",
      "args": [
        "ABSOLUTE/PATH/TO/blender-mcp/server.py"
      ],
      "env": {
        "BLENDER_HOST": "127.0.0.1",
        "BLENDER_PORT": "9876"
      }
    }
  }
}

Option B: Docker Config

If you built the Docker image, use this configuration:

{
  "mcpServers": {
    "blender-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--env", "BLENDER_HOST=host.docker.internal",
        "blender-mcp"
      ]
    }
  }
}

Note: host.docker.internal allows the Docker container to talk to Blender running on your host machine. Replace ABSOLUTE/PATH/TO/... with the actual full path to where you saved this folder.


🚀 Usage

1. Start the Server in Blender

  1. Open the 3D Viewport in Blender.
  2. Press N to open the Sidebar.
  3. Click the MCP tab.
  4. Click Start Server ▶️.
    • Status should change to "Connected".

2. Connect & Prompt!

Restart your AI IDE to load the new MCP config. Now you can ask things like:

"Create a low poly tree with a brown cylinder trunk and a green cone top."

"Scatter 50 gold cubes in a radius of 10 meters."

"Clear the scene and make a red monkey head."

"Apply this texture 'C:/Textures/Wood.jpg' to the Cube."


🛠️ Troubleshooting

  • Connection Refused?
    • Make sure you clicked Start Server in the Blender MCP panel.
    • Check if the port 9876 is blocked by a firewall.
  • "Object not found" error?
    • Ensure the object name matches exactly (case-sensitive). Use get_scene_info to check names.
  • Textures not showing?
    • Make sure you are in Material Preview or Rendered mode in Blender (Press Z).

📜 License

MIT License

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured