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. The default endpoint is http://127.0.0.1:8765/mcp.

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. Painter discovers the packaged plugins/dcc_mcp_substance3d_painter.py; enable it from the Python menu.

Set DCC_MCP_SUBSTANCE3D_PAINTER_PORT before launching Painter to choose a different port. Standard DCC_MCP_GATEWAY_PORT and DCC_MCP_REGISTRY_DIR settings are also honoured.

Bundled skills

painter-project inspects the current project and texture sets. Its typed export tool exports texture sets using a caller-provided Painter export preset URL, avoiding 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.0.tar.gz (7.4 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.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for dcc_mcp_substance3d_painter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 694e81e407c34e3061b0a9d3beb832ca6bfb918e75168253aab109e7d1433447
MD5 aef731174ab6575e2ea3fa18a2d4bd2d
BLAKE2b-256 2ce96a36f6a26f5eabc7d29b030586be043f39255aee08adfa3f8d7ace4ca0b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_substance3d_painter-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dcc_mcp_substance3d_painter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47c0ab3de4949bcce20ee010752969215eee77ee8806a62ade60665e392953ea
MD5 100586c6592d875bd4e03b5f5141ca47
BLAKE2b-256 bfeaac322e3ea5d97989dc515db2345f2712a4ab0faab72db145e41ad7a2067e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcc_mcp_substance3d_painter-0.1.0-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