Skip to content

Repository files navigation

Blender MCP Integration: Bridging 3D Modeling with AI Assistants

An innovative Model Context Protocol (MCP) implementation that seamlessly connects Blender with AI language models and CSM.ai's 3D asset ecosystem. This powerful integration empowers users to perform advanced 3D modeling tasks through natural language commands and image-based instructions.

Architecture Overview

This system creates a unified workflow between three core components:

    ╭─────────────╮     ╭─────────────╮     ╭─────────────╮
    │   AI LLMs   │────►│ Blender MCP │────►│   CSM.ai    │
    │  (Cursor)   │     │ Integration │     │ 3D Assets   │
    │             │     │   Server    │     │ Platform    │
    ╰──────┬──────╯     ╰──────┬──────╯     ╰──────┬──────╯
           │                   │                   │
           ▼                   ▼                   ▼
    ╭───────────────────────────────────────────────────╮
    │                                                   │
    │            BLENDER 3D WORKSPACE                   │
    │       Advanced Creative Modeling Suite            │
    │                                                   │
    ╰───────────────────────────────────────────────────╯

Quick Start Guide

Step 1: Project Setup

Begin by obtaining the project files:

git clone https://github.com/thelofiguy/blender-model-context-protocol.git

Move into the project workspace:

cd blender-mcp

Install dependencies using pip:

pip install -e .

Step 2: Configure Your AI Assistant (Cursor)

  1. Launch Cursor within the blender-mcp project root directory
  2. Access settings via: Cursor → Settings → Cursor Settings → MCP → Add a new server
  3. Configure the MCP server with these parameters (reference .mcp.json):
{
    "mcpServers": {
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

Step 3: Blender Integration Setup

  1. Open Blender application
  2. Access preferences through Edit → Preferences
  3. Load the addon.py file provided in this repository
  4. Confirm the Blender MCP addon is visible in your addon library
  5. Activate the MCP server and toggle 'Use CSM.ai 3D models' feature
  6. Input your CSM API credentials to activate the full integration

CSM.ai Asset Management

The integration leverages intelligent vector-based search algorithms for efficient 3D model discovery and retrieval. To maximize the system's potential:

Recommended Workflow

  1. Asset Generation: Create targeted modeling sessions at 3d.csm.ai
  2. Project-Specific Assets: Generate specialized 3D content tailored to your current project requirements
  3. Fallback Library: Access an extensive repository of general-purpose 3D models when needed

System Benefits

This integrated approach establishes a comprehensive creative pipeline:

  • CSM.ai: Serves as your primary asset creation and management platform
  • AI Assistants: Function as intelligent coding and modeling companions
  • Blender: Acts as the primary creative execution and rendering environment

The result is a streamlined workflow that combines the power of AI-assisted development with professional-grade 3D modeling capabilities.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages