Skip to main content

Substance 3D Painter adapter for the DCC Model Context Protocol ecosystem

Project description

dcc-mcp-substance3d-painter

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

Install into the Python environment Painter uses:

python -m pip install dcc-mcp-substance3d-painter

Point SUBSTANCE_PAINTER_PLUGINS_PATH at the installed package's dcc_mcp_substance3d_painter/painter folder and add the installation root to PYTHONPATH. Painter discovers the packaged startup/dcc_mcp_substance3d_painter_plugin.py entry point and starts the adapter automatically.

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:

  • 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 or arbitrary script execution.

Development

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

Releases use release-please. The release.yml workflow publishes through the pypi environment using PyPI Trusted Publishing.

Project details


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_substance3d_painter-0.1.3.tar.gz (12.9 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_substance3d_painter-0.1.3-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file dcc_mcp_substance3d_painter-0.1.3.tar.gz.

File metadata

File hashes

Hashes for dcc_mcp_substance3d_painter-0.1.3.tar.gz
Algorithm Hash digest
SHA256 279e223b39e365d02666ddc8a223d0e6fbb1c06ca14bfe9b2aa677d7afc605b6
MD5 d46b9db3b9b5ac9a39ad46955418431f
BLAKE2b-256 4bbca806b804eca49857e7d6684165219c530b40f6deadbf2fbdd65a057720be

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_substance3d_painter-0.1.3.tar.gz:

Publisher: release.yml on dcc-mcp/dcc-mcp-substance3d-painter

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_substance3d_painter-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for dcc_mcp_substance3d_painter-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cdaf37c4de958eeb3855ee52d3466558d9c4605db988f26c4111affba954a57b
MD5 86b500148ca164a1250c9068b775fdf4
BLAKE2b-256 803fe642c17c5515752bc66bbba088d9f20f4162a7fd532fd1b87cc39de437f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_substance3d_painter-0.1.3-py3-none-any.whl:

Publisher: release.yml on dcc-mcp/dcc-mcp-substance3d-painter

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 Pingdom Monitoring Sentry Error logging StatusPage Status page