Substance Painter MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Substance Painter MCP Bake the current mesh and export the Roblox textures."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Substance Painter MCP
Lets Claude drive an open Adobe Substance 3D Painter: bake, build layers, tune materials, look at the result and export. 86 tools. Live-tested on Painter 12.2.0 on macOS.
This is a fork of elliezu/SubstancePainterMCP 1.0.0. See CHANGELOG.md for what changed, and that project's README for the full tool list. It is not affiliated with Adobe.
Setup
You need Painter on macOS and uv.
git clone https://github.com/MrReverso/substance-painter-mcp.gitcd substance-painter-mcpuv venv --python 3.12 .venvuv pip install --python .venv/bin/python -e ".[dev]"ln -sfn "$PWD/painter_plugin/painter_bridge.py" ~/Documents/Adobe/"Adobe Substance 3D Painter"/python/startup/painter_bridge.pyRestart Painter. Its log then shows Bridge listening on .... No launch flag is needed.
Then add the server to your MCP client. For Claude Code, put this in a .mcp.json, using your own paths:
{
"mcpServers": {
"substance-painter": {
"command": "/path/to/substance-painter-mcp/.venv/bin/python",
"args": ["-m", "substance_painter_mcp"],
"env": {
"SP_MCP_TIMEOUT": "300",
"SP_MCP_EXPORT_ROOTS": "/path/to/exports",
"SP_MCP_PROJECT_ROOTS": "/path/to/projects",
"SP_MCP_MESH_ROOTS": "/path/to/meshes"
}
}
}
}Related MCP server: substance-painter-mcp
Settings
Variable | Meaning |
| Bridge socket, default |
| Seconds to wait for Painter, default 30. |
|
|
| Folders exports may write to. |
| Folders |
| Folders project meshes may come from. |
| Folders high-poly and cage meshes may come from. |
| Folders imported resources may come from. |
Each file feature stays off until its folders are set. Separate several folders with :.
Typical flow
create_projectwith the mesh. If its UVs overlap or tile, passsettings={"auto_unwrap_settings": {"margin_size": 5, "island_orientation": "AlignWith3DMesh"}}, thenexport_meshso the game uses the same UVs.set_baking_mesh_inputswithlow_as_high=trueif there is no high-poly mesh, thenstart_batch_bake.Build layers with
create_fill_layer,insert_smart_material,set_layer_maskandinsert_mask_effect. Tune them withset_fill_parametersandset_levels.Check every side with
capture_turntable, close-ups with itsfocusandzoom, and single channels withcapture_channel.export_with_profilewithprofile="roblox". Checkomitted_files: Painter reports Success even when it skips a map.
Where the other ideas came from
All five projects are MIT licensed. Every file was read except lockfiles, licences and image assets.
Project | Used |
The base of this fork | |
Its notes on Painter's quirks, tuning generators, content effects, insert positions, Levels values, one undo step per recipe | |
Returning captures as images, channel previews, | |
The idea of a camera orbit, with the rotation order corrected for Painter, and the | |
Reporting the maps Painter skipped |
Read and left out, because they solve problems a one-person setup doesn't have: leases, receipts and brokers for several clients, installers and updaters, and a sandbox for script files.
QScreen.grabWindow, the capture used by jwang47 and parodyband, is not used here. On macOS it returns whatever is on screen at that spot, including other apps.
Limits
The bridge and capture are macOS-only as written. The bridge also needs a Unix socket.
capture_viewportandcapture_turntableneed Painter to have macOS Screen Recording permission, its window not to be minimized and the display to be awake.capture_channeldoesn't need any of these.Painter's Python API has no brush strokes, so paint layers can't be drawn by script.
No tool adds a stack channel such as Opacity. Use
execute_pythonfor that.Exported textures and meshes have not been tested in Roblox yet.
Available Tools
86 toolsapply_baking_presetA
Apply a captured baking preset transactionally after explicit confirmation.
Inputs: preset (required), texture_set (required), confirm. Returns: object
apply_fill_presetC
Apply a named preset of a Fill, Fill Effect, Generator or Filter source.
Inputs: uid (required), preset (required), channel. Returns: object
apply_smart_maskC
Apply a Smart Mask resource to a layer using transactional mask insertion.
Inputs: uid (required), resource_url (required). Returns: object
audit_projectB
Audit texture sets, channels, layer hygiene, and outdated resources.
Inputs: no named parameters. Returns: object
cancel_bakeB
Request cooperative cancellation of a running bake job.
Inputs: job_id (required). Returns: object
capture_baking_presetC
Capture a portable JSON baking preset without filesystem-backed properties.
Inputs: texture_set (required), bakers. Returns: object
capture_channelC
See one flattened channel as a flat texture, for example Roughness or Normal.
Inputs: texture_set (required), channel, size_log2.
capture_turntableB
See every side: orbit the camera, capture each yaw angle, then restore the view.
zoom above 1 moves closer. A negative elevation looks up from below. focus is the [x, y, z] point to orbit, for close-ups of one part; it defaults to the model's center.
Inputs: zoom, focus, angles, max_size, +1 more.
capture_viewportC
Look at Painter. view="3d" is the model; view="window" includes the whole UI.
Inputs: view, max_size.
close_projectA
Close the open project; refuses unsaved work unless discard_unsaved=true.
Inputs: discard_unsaved. Returns: object
configure_bakingC
Transactionally configure Texture Set, UV tile, common, and per-baker settings.
Inputs: texture_set (required), confirm, enabled, baker_values, +4 more. Returns: object
create_fill_layerC
Create a Fill Layer, optionally with sRGB base color [r,g,b].
position is top, or above, below or inside reference_uid.
Inputs: name (required), position, base_color, texture_set, +1 more. Returns: object
create_groupC
Create a layer group at the top, or above, below or inside reference_uid.
Inputs: name (required), position, texture_set, reference_uid. Returns: object
create_layer_recipeB
Create a nested recipe atomically, optionally saving an approved .spp backup first.
Inputs: recipe (required), backup_mode, backup_path, texture_set, +1 more. Returns: object
create_paint_layerC
Create a Paint Layer at the top, or above, below or inside reference_uid.
Inputs: name (required), position, texture_set, reference_uid. Returns: object
create_projectC
Back up an optional current project, create a typed project, and verify its file.
Inputs: output_path (required), mesh_file_path (required), confirm, settings, +7 more. Returns: object
delete_layerB
Delete a layer or group by UID. This modifies the open project.
Inputs: uid (required). Returns: object
diff_layer_snapshotsB
Compare two layer snapshots by UID and report added, removed, and changed nodes.
Inputs: after (required), before (required). Returns: object
execute_pythonA
Execute raw Painter Python only when SP_MCP_ALLOW_EXECUTE_PYTHON=1.
Variables survive between calls. Assign to result to return a value; printed
text comes back as output.
Inputs: code (required). Returns: object
export_meshB
Export the project mesh, with any Auto UV result, inside SP_MCP_EXPORT_ROOTS.
Inputs: output_path (required), overwrite. Returns: object
export_smart_maskC
Export a layer mask as a verified Smart Mask inside SP_MCP_EXPORT_ROOTS.
Inputs: uid (required), name (required), output_directory (required), overwrite. Returns: object
export_smart_materialC
Export a group as a verified Smart Material inside SP_MCP_EXPORT_ROOTS.
Inputs: uid (required), name (required), output_directory (required), overwrite. Returns: object
export_texturesB
Export textures inside SP_MCP_EXPORT_ROOTS and verify every output file.
Inputs: preset (required), output_directory (required), bit_depth, overwrite, +3 more. Returns: object
export_with_profileC
Run a curated export profile inside SP_MCP_EXPORT_ROOTS and verify outputs.
Inputs: profile (required), output_directory (required), overwrite, size_log2, +1 more. Returns: object
find_layersC
Search layers by partial name, exact node type, and visibility.
Inputs: query, visible, node_type, texture_set. Returns: object
find_outdated_resourcesA
Plan project-resource replacements without modifying the project.
Inputs: no named parameters. Returns: object
get_bake_jobB
Return progress and terminal status for the latest or selected bake job.
Inputs: job_id. Returns: object
get_capabilitiesA
Report runtime-supported channels, blend modes, and version-sensitive features.
Inputs: no named parameters. Returns: object
get_fill_parametersB
Inspect parameters and presets of a Fill, Fill Effect, Generator or Filter.
Use it to tune generators such as edge wear. Effect UIDs come from snapshot_layer_tree.
Inputs: uid (required), channel. Returns: object
get_fill_projectionB
Inspect a Fill layer's projection mode and common UV transformation.
Inputs: uid (required). Returns: object
get_fill_sourcesC
Inspect a Fill layer's material or per-channel color/resource sources.
Inputs: uid (required). Returns: object
get_geometry_maskB
Inspect a layer's Mesh/UVTile geometry mask and available elements.
Inputs: uid (required). Returns: object
get_mesh_reload_jobB
Return status and texture-set changes for the latest mesh reload job.
Inputs: job_id. Returns: object
get_procedural_inputsC
Inspect image inputs on Fill, Fill Effect, Generator, or Filter sources.
Inputs: uid (required), channel. Returns: object
get_project_creation_jobB
Read terminal state and file verification for an asynchronous project creation.
Inputs: job_id. Returns: object
get_project_infoA
Return the current project path and texture-set names.
Inputs: no named parameters. Returns: object
get_shelf_refresh_jobB
Read persistent state for the latest or selected shelf refresh job.
Inputs: job_id. Returns: object
import_project_resourceC
Import and verify a sandboxed resource inside the open Painter project.
Inputs: usage (required), file_path (required), name, group, +1 more. Returns: object
import_session_resourceC
Import and verify a sandboxed resource for the current Painter session.
Inputs: usage (required), file_path (required), name, group, +1 more. Returns: object
import_shelf_resourceC
Import and verify a safe resource in an editable shelf or the user shelf.
Inputs: usage (required), file_path (required), name, group, +2 more. Returns: object
insert_content_effectC
Insert Fill, Paint, Generator, Filter, Levels or Anchor into a layer's content.
Inputs: uid (required), effect_type (required), name, resource_url. Returns: object
insert_mask_effectC
Insert Fill, Paint, Generator, Filter, Levels, Anchor, or Smart Mask into a mask.
Inputs: uid (required), effect_type (required), name, resource_url. Returns: object
insert_smart_materialC
Insert a Smart Material at the top, inside parent_uid, or relative to reference_uid.
Inputs: resource_url (required), name, position, parent_uid, +2 more. Returns: object
inspect_bakingB
Inspect enabled bakers, UV tiles, and mesh-map assignments without starting a bake.
Inputs: texture_set. Returns: object
inspect_baking_parametersC
Inspect editable common parameters and one baker's typed property metadata.
Inputs: texture_set (required), baker. Returns: object
inspect_export_presetB
Resolve an export preset and preview its map names without writing files.
Inputs: preset (required), texture_set. Returns: object
list_anchor_pointsC
List Anchor Point effects with owner and Texture Set context.
Inputs: texture_set. Returns: object
list_export_presetsA
List built-in and shelf export presets without exporting files.
Inputs: no named parameters. Returns: object
list_export_profilesA
List curated engine export profiles and whether their Painter presets are available.
Inputs: no named parameters. Returns: object
list_layersB
List layers with stable UIDs, types, visibility, and optional group children.
Inputs: recursive, texture_set. Returns: object
list_project_resourcesA
List resources referenced by the open project.
Inputs: no named parameters. Returns: object
list_shelvesA
List Painter shelves with paths, write capability, and crawling state.
Inputs: no named parameters. Returns: object
open_projectB
Open an approved .spp, requiring a backup when the current project is dirty.
Inputs: project_path (required), confirm, backup_mode, overwrite_backup, +1 more. Returns: object
painter_statusA
Check the connection and report Painter, Python API, and project status.
Inputs: no named parameters. Returns: object
plan_layer_recipeB
Validate a recipe, resolve channels, and preview backup/mutation scope without editing.
Inputs: recipe (required), backup_mode, backup_path, texture_set, +1 more. Returns: object
plan_mesh_reloadB
Validate a mesh reload and preview texture-set and backup impact.
Inputs: mesh_file_path (required), backup_mode, backup_path, mesh_settings, +4 more. Returns: object
plan_profile_exportB
Preview an engine-profile texture export without writing files.
Inputs: profile (required), output_directory (required), size_log2, texture_sets. Returns: object
plan_project_creationC
Validate a new project, typed import settings, context switch, and backup.
Inputs: output_path (required), mesh_file_path (required), settings, overwrite, +6 more. Returns: object
plan_texture_exportB
Validate an export and list exact output files without writing them.
Inputs: preset (required), output_directory (required), bit_depth, size_log2, +2 more. Returns: object
preflight_bakeC
Validate selected Texture Sets, mesh inputs, UV tiles, and expected mesh maps.
Inputs: texture_sets. Returns: object
rename_layerC
Rename a layer or group by UID.
Inputs: uid (required), name (required). Returns: object
replace_outdated_resourcesA
Atomically replace all outdated resources after explicit confirm=true.
Inputs: confirm. Returns: object
save_projectB
Overwrite and verify the current saved project after explicit confirmation.
Inputs: mode, confirm. Returns: object
save_project_copyB
Save a verified .spp copy inside SP_MCP_PROJECT_ROOTS without relocating the project.
Inputs: output_path (required), mode, overwrite. Returns: object
search_resourcesB
Search Painter resources and return identifiers, type, category, and usages.
query uses Painter's shelf syntax: words such as "rust", or filters such as "u:generator", "u:smartmaterial rust", "u:basematerial" or "p:starter_assets". Underscores in a resource name don't match; search one word of it.
Inputs: query (required), limit, usage, resource_type. Returns: object
select_layersC
Select one or more layers in Painter by UID.
Inputs: uids (required). Returns: object
set_active_channelsC
Replace a Fill or Paint layer's active channel set by UID.
Inputs: uid (required), channels (required). Returns: object
set_baking_mesh_inputsC
Assign sandboxed high-poly/cage meshes and related common baker settings.
Inputs: texture_set (required), confirm, cage_file, cage_mode, +2 more. Returns: object
set_baking_resource_inputC
Set or clear a Resource-typed common/per-baker input transactionally.
Inputs: parameter (required), texture_set (required), baker, clear, +2 more. Returns: object
set_fill_anchor_sourceC
Connect an Anchor Point to one Fill channel or the complete material source.
Inputs: uid (required), anchor_uid (required), channel, material_mode. Returns: object
set_fill_base_colorB
Set a Fill Layer's base color using its UID and sRGB [r,g,b] values.
Inputs: uid (required), color (required). Returns: object
set_fill_channelsC
Set and enable multiple uniform Fill channels, such as Roughness or Metallic.
Inputs: uid (required), values (required). Returns: object
set_fill_parametersB
Update parameters of a Fill, Fill Effect, Generator or Filter; rolls back on failure.
Inputs: uid (required), values (required), channel. Returns: object
set_fill_projectionC
Set Fill, UV, or Triplanar projection with transactional transform updates.
Inputs: uid (required), mode (required), scale, offset, +1 more. Returns: object
set_fill_projection_advancedC
Configure UV, triplanar, planar, spherical, or cylindrical projection details.
Inputs: uid (required), mode (required), settings (required). Returns: object
set_fill_resourceB
Assign a Painter resource to one Fill channel, a whole material or a mask Fill.
A Fill inside a mask has no channels, so leave channel out for one.
Inputs: uid (required), resource_url (required), channel, material_mode. Returns: object
set_geometry_maskC
Set a geometry mask using mesh names or standard UDIM numbers.
Inputs: uid (required), elements (required), mask_type (required), inclusion_list. Returns: object
set_layer_maskC
Add/update or remove a layer mask; backgrounds are reported by get_capabilities.
Inputs: uid (required), enabled (required), background. Returns: object
set_layer_propertiesC
Set visibility, opacity, or blend mode; channel defaults to BaseColor.
Inputs: uid (required), channel, opacity, visible, +1 more. Returns: object
set_levelsC
Tune a Levels effect, for example to push a mask's contrast.
channel picks what a content Levels affects, such as BaseColor or Roughness.
Inputs: uid (required), clamp, gamma, channel, +4 more. Returns: object
set_procedural_inputC
Connect a resource to a procedural image input or reset it to its default.
Inputs: uid (required), input_name (required), reset, channel, +1 more. Returns: object
snapshot_layer_treeC
Capture a detailed layer/effect snapshot with a deterministic SHA-256 digest.
Inputs: texture_set. Returns: object
start_bakeB
Start an asynchronous mesh-map bake after explicit confirmation.
Inputs: texture_set (required), confirm, backup_mode, backup_path, +1 more. Returns: object
start_batch_bakeC
Preflight and start a cancellable multi-Texture-Set bake with result manifests.
Inputs: texture_sets (required), confirm, backup_mode, backup_path, +1 more. Returns: object
start_mesh_reloadC
Back up and asynchronously reload a mesh after explicit confirmation.
Inputs: mesh_file_path (required), confirm, backup_mode, backup_path, +5 more. Returns: object
start_shelf_refreshC
Start event-observed discovery for one Painter shelf after confirmation.
Inputs: shelf_name (required), confirm. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 86 tools
The domain is genuinely large, and most tools state a distinct target (e.g., set_fill_base_color vs set_fill_channels vs set_fill_parameters). However, several clusters overlap heavily — three capture_* tools, set_fill_projection vs set_fill_projection_advanced, insert_content_effect vs insert_mask_effect vs insert_smart_material, and apply_smart_mask vs set_layer_mask — forcing an agent to read long descriptions to choose correctly.
Nearly everything follows a snake_case verb_noun pattern (list_*, get_*, set_*, create_*, plan_*, start_*_job, get_*_job), which is predictable and readable. Minor deviations like painter_status (noun-first) and the mix of plan/start/get_job job-lifecycle verbs are the only friction.
86 tools is far beyond what an agent can reliably navigate in one surface; the plan/start/get_job triples alone multiply the tool count considerably. This is an extreme mismatch for a single server, even given the breadth of Substance Painter.
Coverage is unusually thorough: project lifecycle, layers, masks, fills/generators, baking, mesh reload, export/import, resources, and job polling are all represented with verification and rollback. Gaps like undo/redo, texture-set creation, and resource deletion are minor workarounds rather than dead ends.
Related MCP Connectors
Build and edit Spline 3D scenes from any AI tool: create files, generate 3D models and images.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Blender-as-a-service for agents: search 3D assets, run Blender Python, or brief the studio agent.
Connect your AI assistant to Blender for 3D modeling, Geometry Nodes, materials, lighting, animation, rendering and export. Inspect real scenes and viewport images, refine the result and restore checkpoints. OAuth connects your chat to Blender Bridge Desktop on an online Windows 10/11 x64 computer running Blender 4.2+. The chat can run on another device. Requires an active Blender Bridge account; 7-day trial available. AI model access is separate.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to control Substance 3D Painter, inspecting projects and exporting texture sets via a secure preset-based tool.45 PyPI2MIT
- AlicenseNot gradedqualityDmaintenanceEnables conversational control of Adobe Substance 3D Painter for look-dev iteration, including baking, smart materials, and generator parameter tuning.MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to observe, batch, script, recover, bake, and export Adobe Substance 3D Painter scenes through a Model Context Protocol server with specialist schemas and persistent tooling.3MIT
- FlicenseNot gradedqualityAmaintenanceEnables Claude to drive a 3D modeling application through natural-language prompts for scene creation, object modification, materials, lighting, animation, MoGraph, dynamics, and rendering.-