Cinema4D MCP Server connects Cinema 4D to Claude, enabling prompt-assisted 3D manipulation. This server acts as a bridge between Claude AI and Cinema 4D, allowing you to control your 3D environment through natural language prompts.
git clone https://github.com/ttiimmaacc/cinema4d-mcp.git
cd cinema4d-mcp
pip install -e .
chmod +x bin/cinema4d-mcp-wrapper
Copy the Plugin File to Cinema 4D's plugin folder:
/Users/USERNAME/Library/Preferences/Maxon/Maxon Cinema 4D/plugins/
C:\Users\USERNAME\AppData\Roaming\Maxon\Maxon Cinema 4D\plugins\
Start the Socket Server:
Open the Configuration File:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Add MCP Server Configuration:
"mcpServers": {
"cinema4d": {
"command": "python3",
"args": ["/Users/username/cinema4d-mcp/main.py"]
}
}
Restart Claude Desktop after saving the configuration
Test the Cinema 4D socket server directly:
python main.py
Run the GUI test runner:
python tests/mcp_test_harness_gui.py
The GUI allows you to:
Check log files:
tail -f ~/Library/Logs/Claude/mcp*.log
Verify Cinema 4D shows connections in its console after opening Claude Desktop
Test the wrapper script directly:
cinema4d-mcp-wrapper
If there are errors finding the mcp module, install it system-wide:
pip install mcp
get_scene_info
: Get summary info about the active Cinema 4D scenelist_objects
: List all scene objects (with hierarchy)group_objects
: Group selected objects under a new nullexecute_python
: Execute custom Python code inside Cinema 4Dsave_scene
: Save the current Cinema 4D project to diskload_scene
: Load a .c4d
file into the sceneset_keyframe
: Set a keyframe on an object's propertyadd_primitive
: Add a primitive (cube, sphere, cone, etc.) to the scenemodify_object
: Modify transform or attributes of an existing objectcreate_abstract_shape
: Create an organic, non-standard abstract formcreate_camera
: Add a new camera to the sceneanimate_camera
: Animate a camera along a pathcreate_light
: Add a light (omni, spot, etc.) to the scenecreate_material
: Create a standard Cinema 4D materialapply_material
: Apply a material to a target objectapply_shader
: Generate and apply a stylized or procedural shadercreate_mograph_cloner
: Add a MoGraph Cloner (linear, radial, grid, etc.)add_effector
: Add a MoGraph Effector (Random, Plain, etc.)apply_mograph_fields
: Add and link a MoGraph Field to objectscreate_soft_body
: Add a Soft Body tag to an objectapply_dynamics
: Apply Rigid or Soft Body physicsrender_preview
: Render a quick preview and return base64 imagesnapshot_scene
: Capture a snapshot of the scene (objects + preview image)There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.