Skip to main content

dcc-mcp-marmoset

DCC-MCP · MARMOSET

Typed DCC-MCP control for Marmoset Toolbag 4.03+ and 5.x. A pure-Python Toolbag plugin executes mset calls on mset.callbacks.onPeriodicUpdate; an external DccServerBase process owns MCP, discovery, jobs, and gateway registration.

Install

python -m pip install dcc-mcp-marmoset

In Toolbag, choose Edit > Plugins > Show User Plugin Folder, copy that folder path, then run:

dcc-mcp-marmoset-install --plugin-dir "C:\path\shown\by\Toolbag"

Choose Edit > Plugins > Refresh, then launch dcc_mcp_marmoset. The plugin starts one host-bound adapter process per Toolbag process; relaunching the plugin reuses that runtime. Toolbag requires one visible plugin window to keep callbacks alive, so the adapter uses a single compact DCC-MCP lifetime window. Closing it stops the plugin. See install.md for details.

Agent workflow

Shell-capable agents use the shared CLI:

dcc-mcp-cli list
dcc-mcp-cli search --query "inspect Toolbag scene" --dcc-type marmoset
dcc-mcp-cli load-skill marmoset-scene --dcc-type marmoset
dcc-mcp-cli search --query "inspect Toolbag scene" --dcc-type marmoset
dcc-mcp-cli describe <tool-slug>
dcc-mcp-cli call <tool-slug> --json '{"max_objects":500}'

Use the exact slugs returned by search. IDE-only clients may connect to the gateway MCP endpoint at http://127.0.0.1:9765/mcp.

Typed tools

  • marmoset_scene__ping
  • marmoset_scene__inspect_scene
  • marmoset_scene__import_model
  • marmoset_scene__create_pbr_material
  • marmoset_scene__set_visibility
  • marmoset_scene__save_scene
  • marmoset_scene__render_camera

The adapter deliberately exposes no arbitrary Python execution. Its bridge is loopback-only, uses a per-launch random token, caps messages at 1 MiB, and expires queued requests before host mutation. Camera rendering is an async Core job backed by a monolithic Toolbag render call; check job/output state before retrying after a timeout.

Development

vx uv venv .venv --python 3.12
vx uv pip install --python .venv -e ".[dev]"
.venv\Scripts\python -m pytest
.venv\Scripts\python -m ruff check src tests tools
.venv\Scripts\python -m ruff format --check src tests tools
.venv\Scripts\python tools\lint_skills.py

The host API contract follows Marmoset's official Python scripting guide and Toolbag 5 Python API reference.

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_marmoset-0.1.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

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

dcc_mcp_marmoset-0.1.1-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dcc_mcp_marmoset-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for dcc_mcp_marmoset-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1b5f8ff858940bee251d693a54e942df092fd52e517f3c3a2a9320a727887334
MD5 02391242037d41039cabf45915c88f9c
BLAKE2b-256 13fdca36abf7ce515fa951cc46786b0e5708fc6a49721cc1574aefdf8235cedb

See more details on using hashes here.

Provenance

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

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

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_marmoset-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dcc_mcp_marmoset-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c368e8889b1af87b412b625635e222fe5fc01cc21841dba28656b056acab9df
MD5 d06910f892ae8d8c6de53aba308c9dff
BLAKE2b-256 26b8cac4c22c973f46129bae4d74397ae11fe460a50ecd599ec2d48df5741a72

See more details on using hashes here.

Provenance

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

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

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

Release history Release notifications | RSS feed

0.1.2

2 files

This release

0.1.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page