MCP Catalogs
首页

cinema4d-mcp

by ttiimmaacc·83·综合分 46

将 Claude AI 连接到 Cinema 4D 的 MCP 服务器,支持提示驱动的 3D 建模和场景操作。

mediadeveloper-toolsai-llm
20
Forks
7
活跃 Issue
2 个月前
最近提交
2 天前
收录于

概述

Cinema4D MCP 服务器是一个基于 Python 的实现,将 Claude AI 与 Cinema 4D 集成,实现 AI 驱动的 3D 内容创作。项目包含两个主要组件:作为服务器的 Cinema 4D 插件和实现模型上下文协议的 MCP 服务器。它们共同提供通过自然语言提示创建、修改和操作 3D 场景的全面工具。该服务器支持广泛的 Cinema 4D 功能,包括对象创建、相机动画、材质、灯光、MoGraph 工具和 Redshift 着色器集成。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:使用自然语言提示进行 AI 辅助 3D 建模
:动态图形的自动化场景生成和操作
:AI 创意与专业 3D 工作流程的集成
:支持哪些版本的 Cinema 4D?
:如何解决连接问题?

什么时候选它

如果您是使用 Cinema 4D 的 3D 艺术家,希望将 AI 辅助集成到工作流中以实现更快原型设计和建模任务自动化,请选择此服务器。

什么时候不要选它

如果您使用其他 3D 软件(它是 Cinema 4D 专用的)、需要高级 Redshift 材质操作功能,或者需要无 Cinema 4D 依赖的稳定性,请避免使用此工具。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • get_scene_info

    Get summary info about the active Cinema 4D scene.

  • list_objects

    List all scene objects with hierarchy.

  • add_primitive

    Add a primitive (cube, sphere, cone, etc.) to the scene.

  • create_camera

    Add a new camera to the scene.

  • create_material

    Create a standard Cinema 4D material.

  • apply_material

    Apply a material to a target object.

  • create_light

    Add a light (omni, spot, etc.) to the scene.

  • animate_camera

    Animate a camera along a path (linear or spline-based).

  • create_mograph_cloner

    Add a MoGraph Cloner (linear, radial, grid, etc.).

  • render_preview

    Render a quick preview and return base64 image.

  • save_scene

    Save the current Cinema 4D project to disk.

  • execute_python

    Execute custom Python code inside Cinema 4D.

可对比工具

blender-mcpmaya-mcpai-3d-modeling-toolscg-tool-mcp

安装

安装步骤

克隆仓库

git clone https://github.com/ttiimmaacc/cinema4d-mcp.git
cd cinema4d-mcp

安装 MCP 服务器包

pip install -e .

使包装脚本可执行

chmod +x bin/cinema4d-mcp-wrapper

Cinema 4D 插件设置

  1. c4d_plugin/mcp_server_plugin.pyp 文件复制到 Cinema 4D 的插件文件夹
  2. 打开 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 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。