cinema4d-mcp
by ttiimmaacc·★ 83·综合分 46
将 Claude AI 连接到 Cinema 4D 的 MCP 服务器,支持提示驱动的 3D 建模和场景操作。
概述
Cinema4D MCP 服务器是一个基于 Python 的实现,将 Claude AI 与 Cinema 4D 集成,实现 AI 驱动的 3D 内容创作。项目包含两个主要组件:作为服务器的 Cinema 4D 插件和实现模型上下文协议的 MCP 服务器。它们共同提供通过自然语言提示创建、修改和操作 3D 场景的全面工具。该服务器支持广泛的 Cinema 4D 功能,包括对象创建、相机动画、材质、灯光、MoGraph 工具和 Redshift 着色器集成。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您是使用 Cinema 4D 的 3D 艺术家,希望将 AI 辅助集成到工作流中以实现更快原型设计和建模任务自动化,请选择此服务器。
什么时候不要选它
如果您使用其他 3D 软件(它是 Cinema 4D 专用的)、需要高级 Redshift 材质操作功能,或者需要无 Cinema 4D 依赖的稳定性,请避免使用此工具。
此 server 暴露的工具
从 README 抽取出 12 个工具get_scene_infoGet summary info about the active Cinema 4D scene.
list_objectsList all scene objects with hierarchy.
add_primitiveAdd a primitive (cube, sphere, cone, etc.) to the scene.
create_cameraAdd a new camera to the scene.
create_materialCreate a standard Cinema 4D material.
apply_materialApply a material to a target object.
create_lightAdd a light (omni, spot, etc.) to the scene.
animate_cameraAnimate a camera along a path (linear or spline-based).
create_mograph_clonerAdd a MoGraph Cloner (linear, radial, grid, etc.).
render_previewRender a quick preview and return base64 image.
save_sceneSave the current Cinema 4D project to disk.
execute_pythonExecute custom Python code inside Cinema 4D.
可对比工具
安装
安装步骤
克隆仓库
git clone https://github.com/ttiimmaacc/cinema4d-mcp.git
cd cinema4d-mcp安装 MCP 服务器包
pip install -e .使包装脚本可执行
chmod +x bin/cinema4d-mcp-wrapperCinema 4D 插件设置
- 将
c4d_plugin/mcp_server_plugin.pyp文件复制到 Cinema 4D 的插件文件夹 - 打开 Cinema 4D,转到 Extensions > Socket Server Plugin > Start Server
Claude Desktop 配置
添加到你的 claude_desktop_config.json:
"mcpServers": {
"cinema4d": {
"command": "python3",
"args": ["/path/to/cinema4d-mcp/main.py"]
}
}FAQ
- 支持哪些版本的 Cinema 4D?
- 目前支持 C4D 2024.0+(Python 3.11)。对 2023.2+ 版本的兼容性测试有限。不官方支持旧版本。
- 如何解决连接问题?
- 使用 `tail -f ~/Library/Logs/Claude/mcp*.log` 检查日志文件,验证 Cinema 4D 控制台是否显示连接,并直接使用 `cinema4d-mcp-wrapper` 测试包装脚本。
cinema4d-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。