The "mcp-for-blender" project (formerly blender-mcp) enables two-way communication between Blender and Large Language Models (LLMs) via the Model Context Protocol (MCP). The architecture utilizes a Python-based MCP server and a Blender addon that establishes a socket-based server within Blender to receive and execute commands. This integration allows AI clients—such as Claude Desktop, Cursor, and VS Code—to perform complex 3D tasks, including object manipulation, material control, scene inspection, and the execution of arbitrary Python code. Beyond native scene manipulation, the system facilitates asset generation and retrieval, integrating with Poly Haven for CC0 HDRIs and textures, Poly Pizza for low-poly models, and Hyper3D or Hunyuan3D for AI-generated 3D assets. Technical implementation requires the `uv` package manager to run the server via `uvx mcp-for-blender`. Users can enhance security by enabling "safe mode" (`BLENDER_MCP_SAFE_MODE=1`), which validates Python scripts before execution to prevent unauthorized file system or network access. The system supports Blender 3.0+ and Python 3.10+, offering flexible deployment options including local installation or Docker containers.
Read original
github-trending/python