Skip to main content

dcc-mcp-substance3d-painter

DCC-MCP · SUBSTANCE3D-PAINTER

Part of the DCC-MCP host matrix

dcc-mcp-substance3d-painter — Substance 3D Painter adapter for DCC-MCP.

It is one of 47 host adapters in the DCC-MCP catalog. Every adapter speaks the same MCP protocol and builds on the same core runtime contract; each one exposes the tools its own host needs on top of that.

This block is generated from the catalog entry in dcc-mcp-catalog.yml. Re-run the generator after changing the catalog.

Agent workflow

AI agents should use the shared gateway through dcc-mcp-cli; IDE users may continue to use the MCP endpoint. Prefer typed skills and tools over raw scripts.

Install or update the CLI

dcc-mcp-cli is the preferred control path for every shell-capable agent. If it is missing, ask the user before installing the latest official release:

# Linux/macOS
curl -fsSL https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-core/main/scripts/install-cli.sh | sh

# Windows PowerShell
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/dcc-mcp/dcc-mcp-core/main/scripts/install-cli.ps1 | iex"

Keep an official build current through the release manifest:

dcc-mcp-cli update check
dcc-mcp-cli update apply

update apply downloads and stages the latest CLI for the next launch. It does not update a running dcc-mcp-server; update that server in its own environment.

dcc-mcp-cli dcc-types
dcc-mcp-cli list
dcc-mcp-cli search --query "<task>" --dcc-type substance3d_painter
dcc-mcp-cli describe <tool-slug>
dcc-mcp-cli call <tool-slug> --json '{"key":"value"}'

dcc-types reports release-catalog support; list reports live sessions. If a tool belongs to an inactive progressive skill, call dcc-mcp-cli load-skill <skill-name> --dcc-type substance3d_painter before retrying. For post-task improvement, attach a stable session id with --meta-json, query dcc-mcp-cli stats --range 24h --session-id <task-id>, then pass the bounded evidence to the review_skill_improvement prompt from dcc-mcp-skills-creator.

Substance 3D Painter adapter for the DCC Model Context Protocol (MCP).

It embeds a Streamable HTTP MCP server in Painter and routes host API calls through Painter's Qt main thread. Painter uses an OS-assigned port by default and advertises the endpoint through DCC-MCP discovery.

Install and load

Use the agent-first lifecycle for preflight, a non-mutating plan, receipted installation, live verification, upgrades, and uninstall. See install.md for exact Windows, macOS, and Linux commands and the manual environment path.

The lifecycle uses the released Core 0.20.15 Install SOP contract. Readiness is fail-closed unless the registry, independently observed process identity, and in-host diagnostics all bind the same Painter executable, start identity, process-owned loopback listener, adapter payload, and receipt. CI uses hermetic identity/probe fixtures; it does not claim to validate a real Adobe Painter launch.

Set DCC_MCP_SUBSTANCE3D_PAINTER_PORT before launching Painter only when a fixed port is required; 0 keeps automatic allocation. Standard DCC_MCP_GATEWAY_PORT and DCC_MCP_REGISTRY_DIR settings are also honoured.

Bundled skills

painter-project provides typed tools for a complete material-authoring pass, plus execute_materialized_script for an unchanged Python FileRef returned by Core materialize_script:

  • inspect the project and texture sets;
  • create PBR fill layers;
  • search Painter resources and apply smart materials;
  • list export presets, save the .spp, and export textures.

The tools use Painter resource and preset URLs supplied by Painter itself. They do not expose raw JavaScript, inline source, caller-selected paths, execution modes, or UI automation. A materialized FileRef is an integrity envelope, not a trust decision or a Python security sandbox: only materialize source that is trusted to run with the current Painter process privileges. Reflective code or background work intended to outlive the fixed request lifecycle is outside the supported contract. The materialized-script executor validates Core's scoped sidecar, file identity, digest, size, encoding, and expiry before the fixed main() entry point reaches Painter's main thread. It repeats the full FileRef check immediately before dispatch, clones and invokes the validated function with its prefix globals through a host callable captured before source entry, snapshots its strict JSON result when valid, and executes suffix source exactly once after every source-entered main() attempt in a quarantined side-effect phase. Direct json imports and executor-module imports resolve to request-private JSON state. The executor import is a minimal facade with no executor callables or canonical module state, so a retained facade cannot regain host globals after return. Prefix or suffix rebinding cannot change the captured entrypoint behavior or result, and suffix failures do not clobber the main outcome (including a stable rejection for invalid results). The suffix is side-effect-only: a main() that requires a helper, import, or mutable initialization introduced only by the suffix is rejected with the stable script_suffix_dependency error, so valid scripts must define those dependencies before main(). Cancellation remains bound to the exact host token and job captured before source entry; the executor restores the captured host ContextVar state, cancellation module bindings, validator alias, and canonical JSON serializer after both source phases. These guarantees cover the fixed executor contract; they must not be interpreted as isolation from arbitrary untrusted Python in the same process. Results accept only strict portable JSON: string-keyed plain objects, plain arrays, JSON scalars, and finite numbers, with maximum depth 64, 10,000 nodes, and 256 KiB of compact UTF-8 JSON. The byte limit covers the complete public response, including host-owned context and postcondition fields. Validation and normalization capabilities remain outside script-writable state. Source-entered failures never carry retry or rematerialization guidance.

Domain skills

Alongside painter-project, the adapter bundles focused skills that map Painter's real native primitives onto their pipeline domains:

  • painter-material — channel-level material authoring: read a stack's channel inventory, choose which channels a layer contributes, and write uniform channel values.
  • painter-compositing — how a layer combines with the layers below it: visibility, opacity, blending mode, and mask state.
  • painter-lighting — scene lighting. Painter has no light objects, so lighting is the image-based environment: environment map, exposure, and rotation.

Every mutation is confirmed by reading the value back from Painter before the tool reports success. Where Painter exposes no readback for a value, the tool says so explicitly instead of implying verification it did not perform.

Painter has no particle, dynamics, or animation system, so those domains have no native equivalent to expose. The closest real primitives are Painter's brush parameters and generators, and camera turntable plus texture-sequence export, which painter-project already covers.

Development

python -m pip install -e ".[dev]"
python -m pytest
ruff check src tests tools
uv lock --check
python -m build

Releases use release-please. The release.yml workflow builds one verified wheel/sdist bundle, publishes those exact files through the pypi environment using Trusted Publishing, and attaches the same checksummed files to the GitHub Release.

Metadata

Release files for dcc-mcp-substance3d-painter 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcc-mcp-substance3d-painter 0.6.2
File Size Uploaded
dcc_mcp_substance3d_painter-0.6.2.tar.gz 149.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dcc-mcp-substance3d-painter 0.6.2
File Interpreter ABI Platform
dcc_mcp_substance3d_painter-0.6.2-py3-none-any.whl Python 3 none any Details

Total release size: 266.9 kB

Release files / dcc_mcp_substance3d_painter-0.6.2.tar.gz

Download URL dcc_mcp_substance3d_painter-0.6.2.tar.gz
Size 149.9 kB
Tags Source
SHA-256 checksum
How to use checksums
dec75b5f4f24ed43b72167f8bc725258f06f599cbc8d45ad895d6f3c7ae7badb
BLAKE2b-256 checksum
How to use checksums
e1ce96838fbd2c37b01d8f2f17371d5c8fba8eddb0949e1c1293d5a90ba884e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / dcc_mcp_substance3d_painter-0.6.2-py3-none-any.whl

Download URL dcc_mcp_substance3d_painter-0.6.2-py3-none-any.whl
Size 117.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3182f934071a99750e2516d4fa239666be4fcd473f8cf754d1158f0a151bcbca
BLAKE2b-256 checksum
How to use checksums
bbd2019af5375981ee2339c4d5f2ab6c30160daaa44a9097969eb4d81537527c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release 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