<工具 Claude Desktop> 配置 blender 3D mcp server 非常简单, 2分钟搞定 用 Claude 控制 Blender 软件 制作 3D 内容

信息来源:

申时在 TG 看到的这个消息,白天 X 上中文科技博主在推荐。

环境:

OS: Windows 11 24H2
APP: Claude Desktop  ,   Blender 4.2.7 TLS
Python: 3.12.3
需要的软件: ux
Cluade: Professional plan

Blender MCP 实践:

参考源:

GitHub - ahujasid/blender-mcpContribute to ahujasid/blender-mcp development by creating an account on GitHub.https://github.com/ahujasid/blender-mcp

1. 安装

见上面的环境内容

1)安装 uv

pip install uv

2) Claude Desktop 配置

 找到并编辑: claude_desktop_config.json
我的文件做为参考:

{
    "mcpServers": {
        "filesystem": {
            "command": "npx",
            "args": [ 
                "-y", 
                "@modelcontextprotocol/server-filesystem", 
                "\\\\davens\\Multimedia\\2024-MyProgramFiles"
            ]
        },
    "brave-search": {
          "command": "npx",
          "args": [
            "-y",
            "@modelcontextprotocol/server-brave-search"
            ],
            "env": {
            "BRAVE_API_KEY": "BS*******5"
            }
        },
    "fetch": {
          "command": "python",
          "args": ["-m", "mcp_server_fetch"]
        },
        "blender": {
            "command": "uvx",
            "args": [
                "blender-mcp"
            ]
        }
    }
}

格式正确会出然上面4个,最后一个 blender 是新加的。

3) Cursor integration

在 CMD 运行,第一次会安装:

uvx blender-mcp

4) 在 Blender 中添加 mcp

需要从 仓库 下载 addon.py

最后,要勾选上。

2 配置 MCP 服务器

1) 在 Blender  中启动 MCP 服务器

不明白,看下面转贴:

2) 查看 Claude Desktop‘s Blender MCP 

有看到 blender 差不多就成了

3 测试,做个什么

GITHUB 上也给出一些参考:

我把第一行粘到 Claude desktop,得到:

### Blender MCP Integration and Usage Overview Blender MCP (Model Control Protocol) integration refers to the seamless connection between Blender, a popular 3D creation suite, and various Large Language Models (LLMs) or other AI-driven tools through standardized protocols. GenesisCore is an open-source plugin for Blender that supports MCP integration[^1]. It allows users to leverage LLMs such as DeepSeek and Claude directly within Blender, enabling automated workflows and enhancing productivity. The GenesisCore plugin provides several key features: - **MCP Client Implementation**: Built-in support for MCP without requiring an external server[^1]. - **Multi-Vendor Support**: Compatibility with multiple LLM providers, including DeepSeek, OpenAI, Anthropic, OpenRouter, and SilicorFlow[^1]. - **Asset Management**: Integrated access to Polyhaven's online asset system for models and HDRIs. - **Modular Tools**: A flexible and expandable system for adding new functionalities[^1]. For users interested in tutorials or technical content related to Blender MCP integration, the following resources can be explored: - **Official Documentation**: The GenesisCore GitHub repository or official website often contains comprehensive guides on installation and usage. - **Community Forums**: Platforms like Blender Artists or Reddit's r/Blender may have discussions and shared experiences from users who have integrated MCP into their workflows. - **YouTube Tutorials**: Many creators provide step-by-step video guides demonstrating how to set up and utilize MCP plugins in Blender. Below is an example of how to install and initialize GenesisCore in Blender: ```python # Example Python Script for Installing GenesisCore in Blender import bpy import addon_utils # Path to the GenesisCore addon file addon_path = "/path/to/genesiscore-addon.zip" # Install the addon bpy.ops.preferences.addon_install(filepath=addon_path) # Enable the addon addon_utils.enable("genesiscore", default_set=True, persistent=True) # Initialize MCP settings bpy.context.scene.mcp_settings.llm_provider = "DeepSeek" bpy.context.scene.mcp_settings.api_key = "your_api_key_here" ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值