Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SP_MCP_HOSTNoPainter remote-scripting host.localhost
SP_MCP_PORTNoPainter remote-scripting port.60041
SP_MCP_TIMEOUTNoHTTP timeout in seconds.30
SP_MCP_MESH_ROOTSNoApproved input roots for FBX, OBJ, DAE, PLY, and USD mesh reloads.
SP_MCP_EXPORT_ROOTSNoApproved export roots. Separate multiple Windows paths with `;`.
SP_MCP_PROJECT_ROOTSNoApproved roots for `.spp` project copies.
SP_MCP_RESOURCE_ROOTSNoApproved input roots for project/session/shelf resource imports.
SP_MCP_BAKE_MESH_ROOTSNoApproved roots for high-poly and cage meshes used by baking.
SP_MCP_ALLOW_EXECUTE_PYTHONNoSet to `1` to expose arbitrary Python execution.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Control the locally running Adobe Substance 3D Painter instance. Use UIDs from list_layers for edits because layer names may be duplicated.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
painter_statusA

Check the connection and report Painter, Python API, and project status.

get_project_infoA

Return the current project path and texture-set names.

plan_project_creationC

Validate a new project, typed import settings, context switch, and backup.

create_projectC

Back up an optional current project, create a typed project, and verify its file.

get_project_creation_jobB

Read terminal state and file verification for an asynchronous project creation.

save_projectB

Overwrite and verify the current saved project after explicit confirmation.

open_projectB

Open an approved .spp, requiring a backup when the current project is dirty.

get_capabilitiesA

Report runtime-supported channels, blend modes, and version-sensitive features.

audit_projectB

Audit texture sets, channels, layer hygiene, and outdated resources.

inspect_bakingB

Inspect enabled bakers, UV tiles, and mesh-map assignments without starting a bake.

inspect_baking_parametersC

Inspect editable common parameters and one baker's typed property metadata.

configure_bakingC

Transactionally configure Texture Set, UV tile, common, and per-baker settings.

set_baking_mesh_inputsC

Assign sandboxed high-poly/cage meshes and related common baker settings.

set_baking_resource_inputC

Set or clear a Resource-typed common/per-baker input transactionally.

capture_baking_presetC

Capture a portable JSON baking preset without filesystem-backed properties.

apply_baking_presetA

Apply a captured baking preset transactionally after explicit confirmation.

preflight_bakeC

Validate selected Texture Sets, mesh inputs, UV tiles, and expected mesh maps.

start_batch_bakeC

Preflight and start a cancellable multi-Texture-Set bake with result manifests.

start_bakeB

Start an asynchronous mesh-map bake after explicit confirmation.

get_bake_jobB

Return progress and terminal status for the latest or selected bake job.

cancel_bakeB

Request cooperative cancellation of a running bake job.

plan_mesh_reloadB

Validate a mesh reload and preview texture-set and backup impact.

start_mesh_reloadC

Back up and asynchronously reload a mesh after explicit confirmation.

get_mesh_reload_jobB

Return status and texture-set changes for the latest mesh reload job.

list_layersB

List layers with stable UIDs, types, visibility, and optional group children.

find_layersC

Search layers by partial name, exact node type, and visibility.

snapshot_layer_treeC

Capture a detailed layer/effect snapshot with a deterministic SHA-256 digest.

diff_layer_snapshotsB

Compare two layer snapshots by UID and report added, removed, and changed nodes.

get_geometry_maskB

Inspect a layer's Mesh/UVTile geometry mask and available elements.

set_geometry_maskC

Set a geometry mask using mesh names or standard UDIM numbers.

create_fill_layerC

Create a top-level Fill Layer, optionally setting sRGB base color [r,g,b].

create_groupC

Create a top-level layer group.

create_paint_layerC

Create a top-level Paint Layer.

plan_layer_recipeB

Validate a recipe, resolve channels, and preview backup/mutation scope without editing.

create_layer_recipeB

Create a nested recipe atomically, optionally saving an approved .spp backup first.

insert_smart_materialC

Insert a Smart Material resource at stack top or inside a group.

apply_smart_maskC

Apply a Smart Mask resource to a layer using transactional mask insertion.

set_fill_base_colorB

Set a Fill Layer's base color using its UID and sRGB [r,g,b] values.

get_fill_projectionB

Inspect a Fill layer's projection mode and common UV transformation.

get_fill_sourcesC

Inspect a Fill layer's material or per-channel color/resource sources.

get_procedural_inputsC

Inspect image inputs on Fill, Fill Effect, Generator, or Filter sources.

set_procedural_inputC

Connect a resource to a procedural image input or reset it to its default.

get_fill_parametersC

Inspect procedural parameters, metadata, and presets for a Fill source.

set_fill_parametersC

Transactionally update typed procedural parameters on a Fill source.

apply_fill_presetC

Apply a named preset exposed by a procedural Fill source.

list_anchor_pointsC

List Anchor Point effects with owner and Texture Set context.

set_fill_anchor_sourceC

Connect an Anchor Point to one Fill channel or the complete material source.

set_fill_resourceC

Assign a Painter resource to one Fill channel or to the whole material.

set_fill_projectionC

Set Fill, UV, or Triplanar projection with transactional transform updates.

set_fill_projection_advancedC

Configure UV, triplanar, planar, spherical, or cylindrical projection details.

set_fill_channelsC

Set and enable multiple uniform Fill channels, such as Roughness or Metallic.

set_active_channelsC

Replace a Fill or Paint layer's active channel set by UID.

set_layer_maskC

Add/update or remove a layer mask; backgrounds are reported by get_capabilities.

insert_mask_effectC

Insert Fill, Paint, Generator, Filter, Levels, Anchor, or Smart Mask content.

rename_layerC

Rename a layer or group by UID.

set_layer_propertiesC

Set visibility, opacity, or blend mode; channel defaults to BaseColor.

select_layersC

Select one or more layers in Painter by UID.

list_export_presetsA

List built-in and shelf export presets without exporting files.

inspect_export_presetB

Resolve an export preset and preview its map names without writing files.

list_export_profilesA

List curated engine export profiles and whether their Painter presets are available.

plan_texture_exportB

Validate an export and list exact output files without writing them.

export_texturesB

Export textures inside SP_MCP_EXPORT_ROOTS and verify every output file.

plan_profile_exportB

Preview an engine-profile texture export without writing files.

export_with_profileC

Run a curated export profile inside SP_MCP_EXPORT_ROOTS and verify outputs.

import_project_resourceC

Import and verify a sandboxed resource inside the open Painter project.

list_shelvesA

List Painter shelves with paths, write capability, and crawling state.

import_shelf_resourceC

Import and verify a safe resource in an editable shelf or the user shelf.

start_shelf_refreshC

Start event-observed discovery for one Painter shelf after confirmation.

get_shelf_refresh_jobB

Read persistent state for the latest or selected shelf refresh job.

import_session_resourceC

Import and verify a sandboxed resource for the current Painter session.

list_project_resourcesA

List resources referenced by the open project.

search_resourcesC

Search Painter resources and return identifiers, type, category, and usages.

find_outdated_resourcesA

Plan project-resource replacements without modifying the project.

replace_outdated_resourcesA

Atomically replace all outdated resources after explicit confirm=true.

save_project_copyB

Save a verified .spp copy inside SP_MCP_PROJECT_ROOTS without relocating the project.

export_smart_materialC

Export a group as a verified Smart Material inside SP_MCP_EXPORT_ROOTS.

export_smart_maskC

Export a layer mask as a verified Smart Mask inside SP_MCP_EXPORT_ROOTS.

delete_layerB

Delete a layer or group by UID. This modifies the open project.

execute_pythonC

Execute raw Painter Python only when SP_MCP_ALLOW_EXECUTE_PYTHON=1.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.7/5.0

Scored across 79 tools

Disambiguation2/5

The set contains many overlapping plan/start/get job triples and closely related tools such as start_bake vs start_batch_bake, plan_project_creation vs create_project, and multiple Fill parameter/projection/source setters. Descriptions help, but with 79 tools an agent can easily choose the wrong planning, inspection, or mutation tool.

Naming Consistency4/5

Most tool names use snake_case and follow a recognizable verb_noun or noun_action pattern, e.g. create_project, list_layers, set_fill_resource, get_bake_job. There are minor deviations such as painter_status and noun-first names like layer/export/job terms, but the convention is largely predictable.

Tool Count1/5

With 79 tools, the surface is far beyond a reasonable scoped MCP toolset and likely exceeds what an agent can reliably navigate. Many tools are narrow variants or lifecycle stages that could be consolidated.

Completeness4/5

The server covers the Substance Painter domain broadly: project lifecycle, layers, masks, fills, baking, export, resources, and shelves. Some operations are split across many tools, and there may be minor gaps, but the surface is substantially complete.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues