Skip to main content

dcc-mcp-cinema4d

DCC-MCP · CINEMA 4D

Typed Cinema 4D document automation for DCC-MCP, executed through Maxon's licensed headless c4dpy runtime.

Capabilities

  • Discover and report the real Cinema 4D, Python, and API versions.
  • Create, inspect, validate, and atomically copy .c4d documents.
  • Add typed cube, sphere, cylinder, cone, torus, and plane primitives.
  • Set absolute translation, HPB rotation, and scale; remove named objects safely.
  • Import C4D, OBJ, FBX, glTF/GLB, STL, Alembic, Collada, and 3DS geometry when the installed Cinema 4D runtime provides the corresponding importer.
  • Export full documents to C4D, OBJ, FBX, glTF/GLB, STL, Alembic, or Collada when the installed runtime provides the corresponding exporter.
  • Render bounded PNG and JPEG images without a GUI.

The adapter never accepts arbitrary Python source. Every host call executes a packaged, allowlisted driver in a fresh c4dpy process with bounded paths, timeouts, output streams, and response size. Document mutations use a staged file and atomically replace the durable document only after a successful host operation.

OBJ import and export form the production-validated interchange baseline. Other formats are runtime-dependent; get_capabilities reports this boundary and unavailable optional importers or exporters fail with a format-specific error.

Requirements

  • Cinema 4D R21 or newer with a valid license.
  • The matching c4dpy executable shipped with that Cinema 4D installation.
  • Python 3.9 or newer for the DCC-MCP service.

Maxon documents that c4dpy is a headless Cinema 4D instance capable of loading, constructing, saving, and rendering scenes, but it requires a real Cinema 4D installation and license.

Install

python -m pip install dcc-mcp-cinema4d

Set the licensed runtime and allowed workspace before starting the adapter:

$env:DCC_MCP_CINEMA4D_C4DPY = "C:\Program Files\Maxon Cinema 4D 2026\c4dpy.exe"
$env:DCC_MCP_CINEMA4D_ALLOWED_ROOTS = "D:\projects;D:\exports"
dcc-mcp-cinema4d

c4dpy is also discovered from PATH and common Maxon installation folders. The default allowed root is the adapter's current working directory.

Agent workflow

dcc-mcp-cli list
dcc-mcp-cli search Cinema 4D status --dcc-type cinema4d
dcc-mcp-cli load-skill cinema4d-session --dcc-type cinema4d --instance-id <id>
dcc-mcp-cli describe cinema4d.<id>.get_status
dcc-mcp-cli call cinema4d.<id>.get_status --json '{}'

Load cinema4d-modeling only when modeling, interchange, or rendering tools are needed. Use --wait for document operations because they run as bounded asynchronous jobs.

Development

python -m pip install -e ".[dev]"
python -m ruff check src tests
python -m ruff format --check src tests
python -m pytest -m "not cinema4d"
python -m build
python -m twine check dist/*

Real-host acceptance requires a licensed c4dpy; CI intentionally does not mock a Maxon license.

Official references: c4dpy manual, Cinema 4D Python SDK.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcc_mcp_cinema4d-0.1.1.tar.gz (400.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcc_mcp_cinema4d-0.1.1-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_cinema4d-0.1.1.tar.gz.

File metadata

  • Download URL: dcc_mcp_cinema4d-0.1.1.tar.gz
  • Upload date:
  • Size: 400.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for dcc_mcp_cinema4d-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f5e62518e9dfc57afa3fea7c18314154ee09aa828fc19fc5a6f5d33c96712e26
MD5 fb497fc915c2c58f035ecaac15439c28
BLAKE2b-256 ca4accd436a049a77f19d600fa8016aa9ffa3f8c10950c31880de378d89b8529

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_cinema4d-0.1.1.tar.gz:

Publisher: release.yml on dcc-mcp/dcc-mcp-cinema4d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dcc_mcp_cinema4d-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dcc_mcp_cinema4d-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e84e0a7543a0641f9c489e10ca143ab163b681c7f03a00db8d06f01c4359f0a2
MD5 93a5884f966a026fcefcfd33daacbc64
BLAKE2b-256 b326b93cdb4bf60a5e0387936593b114758b3521a41a89ba1b0ba3edb983bfa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_cinema4d-0.1.1-py3-none-any.whl:

Publisher: release.yml on dcc-mcp/dcc-mcp-cinema4d

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page