elliezu/SubstancePainterMCP
Substance Painter MCP Server
e382927cc1a3substance-painter-mcp1.0.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 66 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 79 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
open_projectexecute_pythonNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (79: 79 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
apply_baking_presettool Apply a captured baking preset transactionally after explicit confirmation.
Apply a captured baking preset transactionally after explicit confirmation.
apply_fill_presettool Apply a named preset exposed by a procedural Fill source.
Apply a named preset exposed by a procedural Fill source.
apply_smart_masktool Apply a Smart Mask resource to a layer using transactional mask insertion.
Apply a Smart Mask resource to a layer using transactional mask insertion.
audit_projecttool Audit texture sets, channels, layer hygiene, and outdated resources.
Audit texture sets, channels, layer hygiene, and outdated resources.
cancel_baketool Request cooperative cancellation of a running bake job.
Request cooperative cancellation of a running bake job.
capture_baking_presettool Capture a portable JSON baking preset without filesystem-backed properties.
Capture a portable JSON baking preset without filesystem-backed properties.
configure_bakingtool Transactionally configure Texture Set, UV tile, common, and per-baker settings.
Transactionally configure Texture Set, UV tile, common, and per-baker settings.
create_fill_layertool Create a top-level Fill Layer, optionally setting sRGB base color [r,g,b].
Create a top-level Fill Layer, optionally setting sRGB base color [r,g,b].
create_grouptool Create a top-level layer group.
Create a top-level layer group.
create_layer_recipetool Create a nested recipe atomically, optionally saving an approved .spp backup first.
Create a nested recipe atomically, optionally saving an approved .spp backup first.
create_paint_layertool Create a top-level Paint Layer.
Create a top-level Paint Layer.
create_projecttool Back up an optional current project, create a typed project, and verify its file.
Back up an optional current project, create a typed project, and verify its file.
delete_layertool Delete a layer or group by UID. This modifies the open project.
Delete a layer or group by UID. This modifies the open project.
diff_layer_snapshotstool Compare two layer snapshots by UID and report added, removed, and changed nodes.
Compare two layer snapshots by UID and report added, removed, and changed nodes.
execute_pythontool Execute raw Painter Python only when SP_MCP_ALLOW_EXECUTE_PYTHON=1.Env vars
Execute raw Painter Python only when SP_MCP_ALLOW_EXECUTE_PYTHON=1.
export_smart_masktool Export a layer mask as a verified Smart Mask inside SP_MCP_EXPORT_ROOTS.
Export a layer mask as a verified Smart Mask inside SP_MCP_EXPORT_ROOTS.
export_smart_materialtool Export a group as a verified Smart Material inside SP_MCP_EXPORT_ROOTS.
Export a group as a verified Smart Material inside SP_MCP_EXPORT_ROOTS.
export_texturestool Export textures inside SP_MCP_EXPORT_ROOTS and verify every output file.
Export textures inside SP_MCP_EXPORT_ROOTS and verify every output file.
export_with_profiletool Run a curated export profile inside SP_MCP_EXPORT_ROOTS and verify outputs.
Run a curated export profile inside SP_MCP_EXPORT_ROOTS and verify outputs.
find_layerstool Search layers by partial name, exact node type, and visibility.
Search layers by partial name, exact node type, and visibility.
find_outdated_resourcestool Plan project-resource replacements without modifying the project.
Plan project-resource replacements without modifying the project.
get_bake_jobtool Return progress and terminal status for the latest or selected bake job.
Return progress and terminal status for the latest or selected bake job.
get_capabilitiestool Report runtime-supported channels, blend modes, and version-sensitive features.
Report runtime-supported channels, blend modes, and version-sensitive features.
get_fill_parameterstool Inspect procedural parameters, metadata, and presets for a Fill source.
Inspect procedural parameters, metadata, and presets for a Fill source.
get_fill_projectiontool Inspect a Fill layer's projection mode and common UV transformation.
Inspect a Fill layer's projection mode and common UV transformation.
get_fill_sourcestool Inspect a Fill layer's material or per-channel color/resource sources.
Inspect a Fill layer's material or per-channel color/resource sources.
get_geometry_masktool Inspect a layer's Mesh/UVTile geometry mask and available elements.
Inspect a layer's Mesh/UVTile geometry mask and available elements.
get_mesh_reload_jobtool Return status and texture-set changes for the latest mesh reload job.
Return status and texture-set changes for the latest mesh reload job.
get_procedural_inputstool Inspect image inputs on Fill, Fill Effect, Generator, or Filter sources.
Inspect image inputs on Fill, Fill Effect, Generator, or Filter sources.
get_project_creation_jobtool Read terminal state and file verification for an asynchronous project creation.
Read terminal state and file verification for an asynchronous project creation.
get_project_infotool Return the current project path and texture-set names.
Return the current project path and texture-set names.
get_shelf_refresh_jobtool Read persistent state for the latest or selected shelf refresh job.
Read persistent state for the latest or selected shelf refresh job.
import_project_resourcetool Import and verify a sandboxed resource inside the open Painter project.
Import and verify a sandboxed resource inside the open Painter project.
import_session_resourcetool Import and verify a sandboxed resource for the current Painter session.
Import and verify a sandboxed resource for the current Painter session.
import_shelf_resourcetool Import and verify a safe resource in an editable shelf or the user shelf.
Import and verify a safe resource in an editable shelf or the user shelf.
insert_mask_effecttool Insert Fill, Paint, Generator, Filter, Levels, Anchor, or Smart Mask content.
Insert Fill, Paint, Generator, Filter, Levels, Anchor, or Smart Mask content.
insert_smart_materialtool Insert a Smart Material resource at stack top or inside a group.
Insert a Smart Material resource at stack top or inside a group.
inspect_bakingtool Inspect enabled bakers, UV tiles, and mesh-map assignments without starting a bake.
Inspect enabled bakers, UV tiles, and mesh-map assignments without starting a bake.
inspect_baking_parameterstool Inspect editable common parameters and one baker's typed property metadata.
Inspect editable common parameters and one baker's typed property metadata.
inspect_export_presettool Resolve an export preset and preview its map names without writing files.
Resolve an export preset and preview its map names without writing files.
list_anchor_pointstool List Anchor Point effects with owner and Texture Set context.
List Anchor Point effects with owner and Texture Set context.
list_export_presetstool List built-in and shelf export presets without exporting files.
List built-in and shelf export presets without exporting files.
list_export_profilestool List curated engine export profiles and whether their Painter presets are available.
List curated engine export profiles and whether their Painter presets are available.
list_layerstool List layers with stable UIDs, types, visibility, and optional group children.
List layers with stable UIDs, types, visibility, and optional group children.
list_project_resourcestool List resources referenced by the open project.
List resources referenced by the open project.
list_shelvestool List Painter shelves with paths, write capability, and crawling state.
List Painter shelves with paths, write capability, and crawling state.
open_projecttool Open an approved .spp, requiring a backup when the current project is dirty.Files
Open an approved .spp, requiring a backup when the current project is dirty.
painter_statustool Check the connection and report Painter, Python API, and project status.
Check the connection and report Painter, Python API, and project status.
plan_layer_recipetool Validate a recipe, resolve channels, and preview backup/mutation scope without editing.
Validate a recipe, resolve channels, and preview backup/mutation scope without editing.
plan_mesh_reloadtool Validate a mesh reload and preview texture-set and backup impact.
Validate a mesh reload and preview texture-set and backup impact.
plan_profile_exporttool Preview an engine-profile texture export without writing files.
Preview an engine-profile texture export without writing files.
plan_project_creationtool Validate a new project, typed import settings, context switch, and backup.
Validate a new project, typed import settings, context switch, and backup.
plan_texture_exporttool Validate an export and list exact output files without writing them.
Validate an export and list exact output files without writing them.
preflight_baketool Validate selected Texture Sets, mesh inputs, UV tiles, and expected mesh maps.
Validate selected Texture Sets, mesh inputs, UV tiles, and expected mesh maps.
rename_layertool Rename a layer or group by UID.
Rename a layer or group by UID.
replace_outdated_resourcestool Atomically replace all outdated resources after explicit confirm=true.
Atomically replace all outdated resources after explicit confirm=true.
save_projecttool Overwrite and verify the current saved project after explicit confirmation.
Overwrite and verify the current saved project after explicit confirmation.
save_project_copytool Save a verified .spp copy inside SP_MCP_PROJECT_ROOTS without relocating the project.
Save a verified .spp copy inside SP_MCP_PROJECT_ROOTS without relocating the project.
search_resourcestool Search Painter resources and return identifiers, type, category, and usages.
Search Painter resources and return identifiers, type, category, and usages.
select_layerstool Select one or more layers in Painter by UID.
Select one or more layers in Painter by UID.
set_active_channelstool Replace a Fill or Paint layer's active channel set by UID.
Replace a Fill or Paint layer's active channel set by UID.
set_baking_mesh_inputstool Assign sandboxed high-poly/cage meshes and related common baker settings.
Assign sandboxed high-poly/cage meshes and related common baker settings.
set_baking_resource_inputtool Set or clear a Resource-typed common/per-baker input transactionally.
Set or clear a Resource-typed common/per-baker input transactionally.
set_fill_anchor_sourcetool Connect an Anchor Point to one Fill channel or the complete material source.
Connect an Anchor Point to one Fill channel or the complete material source.
set_fill_base_colortool Set a Fill Layer's base color using its UID and sRGB [r,g,b] values.
Set a Fill Layer's base color using its UID and sRGB [r,g,b] values.
set_fill_channelstool Set and enable multiple uniform Fill channels, such as Roughness or Metallic.
Set and enable multiple uniform Fill channels, such as Roughness or Metallic.
set_fill_parameterstool Transactionally update typed procedural parameters on a Fill source.
Transactionally update typed procedural parameters on a Fill source.
set_fill_projectiontool Set Fill, UV, or Triplanar projection with transactional transform updates.
Set Fill, UV, or Triplanar projection with transactional transform updates.
set_fill_projection_advancedtool Configure UV, triplanar, planar, spherical, or cylindrical projection details.
Configure UV, triplanar, planar, spherical, or cylindrical projection details.
set_fill_resourcetool Assign a Painter resource to one Fill channel or to the whole material.
Assign a Painter resource to one Fill channel or to the whole material.
set_geometry_masktool Set a geometry mask using mesh names or standard UDIM numbers.
Set a geometry mask using mesh names or standard UDIM numbers.
set_layer_masktool Add/update or remove a layer mask; backgrounds are reported by get_capabilities.
Add/update or remove a layer mask; backgrounds are reported by get_capabilities.
set_layer_propertiestool Set visibility, opacity, or blend mode; channel defaults to BaseColor.
Set visibility, opacity, or blend mode; channel defaults to BaseColor.
set_procedural_inputtool Connect a resource to a procedural image input or reset it to its default.
Connect a resource to a procedural image input or reset it to its default.
snapshot_layer_treetool Capture a detailed layer/effect snapshot with a deterministic SHA-256 digest.
Capture a detailed layer/effect snapshot with a deterministic SHA-256 digest.
start_baketool Start an asynchronous mesh-map bake after explicit confirmation.
Start an asynchronous mesh-map bake after explicit confirmation.
start_batch_baketool Preflight and start a cancellable multi-Texture-Set bake with result manifests.
Preflight and start a cancellable multi-Texture-Set bake with result manifests.
start_mesh_reloadtool Back up and asynchronously reload a mesh after explicit confirmation.
Back up and asynchronously reload a mesh after explicit confirmation.
start_shelf_refreshtool Start event-observed discovery for one Painter shelf after confirmation.
Start event-observed discovery for one Painter shelf after confirmation.
Text the model reads (79)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
painter_status tool
Check the connection and report Painter, Python API, and project status.
get_project_info tool
Return the current project path and texture-set names.
plan_project_creation tool
Validate a new project, typed import settings, context switch, and backup.
create_project tool
Back up an optional current project, create a typed project, and verify its file.
get_project_creation_job tool
Read terminal state and file verification for an asynchronous project creation.
save_project tool
Overwrite and verify the current saved project after explicit confirmation.
open_project tool
Open an approved .spp, requiring a backup when the current project is dirty.
get_capabilities tool
Report runtime-supported channels, blend modes, and version-sensitive features.
audit_project tool
Audit texture sets, channels, layer hygiene, and outdated resources.
inspect_baking tool
Inspect enabled bakers, UV tiles, and mesh-map assignments without starting a bake.
inspect_baking_parameters tool
Inspect editable common parameters and one baker's typed property metadata.
configure_baking tool
Transactionally configure Texture Set, UV tile, common, and per-baker settings.
set_baking_mesh_inputs tool
Assign sandboxed high-poly/cage meshes and related common baker settings.
set_baking_resource_input tool
Set or clear a Resource-typed common/per-baker input transactionally.
capture_baking_preset tool
Capture a portable JSON baking preset without filesystem-backed properties.
apply_baking_preset tool
Apply a captured baking preset transactionally after explicit confirmation.
preflight_bake tool
Validate selected Texture Sets, mesh inputs, UV tiles, and expected mesh maps.
start_batch_bake tool
Preflight and start a cancellable multi-Texture-Set bake with result manifests.
start_bake tool
Start an asynchronous mesh-map bake after explicit confirmation.
get_bake_job tool
Return progress and terminal status for the latest or selected bake job.
cancel_bake tool
Request cooperative cancellation of a running bake job.
plan_mesh_reload tool
Validate a mesh reload and preview texture-set and backup impact.
start_mesh_reload tool
Back up and asynchronously reload a mesh after explicit confirmation.
get_mesh_reload_job tool
Return status and texture-set changes for the latest mesh reload job.
list_layers tool
List layers with stable UIDs, types, visibility, and optional group children.
find_layers tool
Search layers by partial name, exact node type, and visibility.
snapshot_layer_tree tool
Capture a detailed layer/effect snapshot with a deterministic SHA-256 digest.
diff_layer_snapshots tool
Compare two layer snapshots by UID and report added, removed, and changed nodes.
get_geometry_mask tool
Inspect a layer's Mesh/UVTile geometry mask and available elements.
set_geometry_mask tool
Set a geometry mask using mesh names or standard UDIM numbers.
create_fill_layer tool
Create a top-level Fill Layer, optionally setting sRGB base color [r,g,b].
create_group tool
Create a top-level layer group.
create_paint_layer tool
Create a top-level Paint Layer.
plan_layer_recipe tool
Validate a recipe, resolve channels, and preview backup/mutation scope without editing.
create_layer_recipe tool
Create a nested recipe atomically, optionally saving an approved .spp backup first.
insert_smart_material tool
Insert a Smart Material resource at stack top or inside a group.
apply_smart_mask tool
Apply a Smart Mask resource to a layer using transactional mask insertion.
set_fill_base_color tool
Set a Fill Layer's base color using its UID and sRGB [r,g,b] values.
get_fill_projection tool
Inspect a Fill layer's projection mode and common UV transformation.
get_fill_sources tool
Inspect a Fill layer's material or per-channel color/resource sources.
get_procedural_inputs tool
Inspect image inputs on Fill, Fill Effect, Generator, or Filter sources.
set_procedural_input tool
Connect a resource to a procedural image input or reset it to its default.
get_fill_parameters tool
Inspect procedural parameters, metadata, and presets for a Fill source.
set_fill_parameters tool
Transactionally update typed procedural parameters on a Fill source.
apply_fill_preset tool
Apply a named preset exposed by a procedural Fill source.
list_anchor_points tool
List Anchor Point effects with owner and Texture Set context.
set_fill_anchor_source tool
Connect an Anchor Point to one Fill channel or the complete material source.
set_fill_resource tool
Assign a Painter resource to one Fill channel or to the whole material.
set_fill_projection tool
Set Fill, UV, or Triplanar projection with transactional transform updates.
set_fill_projection_advanced tool
Configure UV, triplanar, planar, spherical, or cylindrical projection details.
set_fill_channels tool
Set and enable multiple uniform Fill channels, such as Roughness or Metallic.
set_active_channels tool
Replace a Fill or Paint layer's active channel set by UID.
set_layer_mask tool
Add/update or remove a layer mask; backgrounds are reported by get_capabilities.
insert_mask_effect tool
Insert Fill, Paint, Generator, Filter, Levels, Anchor, or Smart Mask content.
rename_layer tool
Rename a layer or group by UID.
set_layer_properties tool
Set visibility, opacity, or blend mode; channel defaults to BaseColor.
select_layers tool
Select one or more layers in Painter by UID.
list_export_presets tool
List built-in and shelf export presets without exporting files.
inspect_export_preset tool
Resolve an export preset and preview its map names without writing files.
list_export_profiles tool
List curated engine export profiles and whether their Painter presets are available.
plan_texture_export tool
Validate an export and list exact output files without writing them.
export_textures tool
Export textures inside SP_MCP_EXPORT_ROOTS and verify every output file.
plan_profile_export tool
Preview an engine-profile texture export without writing files.
export_with_profile tool
Run a curated export profile inside SP_MCP_EXPORT_ROOTS and verify outputs.
import_project_resource tool
Import and verify a sandboxed resource inside the open Painter project.
list_shelves tool
List Painter shelves with paths, write capability, and crawling state.
import_shelf_resource tool
Import and verify a safe resource in an editable shelf or the user shelf.
start_shelf_refresh tool
Start event-observed discovery for one Painter shelf after confirmation.
get_shelf_refresh_job tool
Read persistent state for the latest or selected shelf refresh job.
import_session_resource tool
Import and verify a sandboxed resource for the current Painter session.
list_project_resources tool
List resources referenced by the open project.
search_resources tool
Search Painter resources and return identifiers, type, category, and usages.
find_outdated_resources tool
Plan project-resource replacements without modifying the project.
replace_outdated_resources tool
Atomically replace all outdated resources after explicit confirm=true.
save_project_copy tool
Save a verified .spp copy inside SP_MCP_PROJECT_ROOTS without relocating the project.
export_smart_material tool
Export a group as a verified Smart Material inside SP_MCP_EXPORT_ROOTS.
export_smart_mask tool
Export a layer mask as a verified Smart Mask inside SP_MCP_EXPORT_ROOTS.
delete_layer tool
Delete a layer or group by UID. This modifies the open project.
execute_python tool
Execute raw Painter Python only when SP_MCP_ALLOW_EXECUTE_PYTHON=1.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 79 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 79 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 79 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 79 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 79 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 79 capabilities; 4 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 79 capabilities touch files; 4 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 79 capabilities; 4 more call code the scanner could not follow, where it may happen
Where the code is: 79 handlers in 1 file at commit e382927cc1a3
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSVNothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK versionmcp >=1.28,<2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 79 capabilities; 4 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp >=1.28,<2 |
| Servers in the code | 1 (Substance Painter) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-07-28 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-01-30 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.