v0.1.0 Early Access · Sampler 6.0.4 verified

Photos to materials, by asking

MCP Pro for Sampler connects Claude Code, Cursor and other MCP clients to Adobe Substance 3D Sampler. The AI turns photos into tileable PBR materials, builds and tunes layer stacks, weathers materials, makes variations and exports them for Unreal, Unity, Godot, Blender, glTF, Painter and Designer, and looks at the maps after each step. 65 tools, no code execution.

Early Access, buy once, updates included. Verified on Sampler 6.0.4, Windows 11.
mcp_live_photo· 1024 px · Godot layoutget_material_preview
Contact sheet of six material maps (base colour, normal, roughness, metallic, height, ambient occlusion) made from a stone-wall test image
recipe_photo_to_material output from the live test, as the model sees it. Input: a synthetic stone-wall test image. Unretouched.
65
MCP tools
5
one-call recipes
9
export layouts
$12
once, Early Access

How it works

Two parts: a Python MCP server that your AI client starts, and a regular Sampler Python plugin that runs each command through Sampler's own Python API.

MCP client  --stdio-->  sampler-mcp (Python MCP server)
                              |
                              |  HTTP JSON on 127.0.0.1:60071, per-session token
                              v
        Sampler Python plugin "sampler_mcp_bridge"
        -> commands run on a worker thread; every Sampler API call
           is passed to Sampler's UI thread
        -> Sampler 6.0 Python API + Qt for previews, command log

The plugin starts a localhost-only HTTP bridge inside Sampler with a per-session token. Commands run on a worker thread and every Sampler API call is passed to Sampler's UI thread, so Sampler stays fully interactive and you can watch and keep working by hand. Every command is written to a command log. There is no arbitrary-code tool.

What the AI can do in Sampler

Grouped by area. Tool names are the ones your AI client sees.

Sees the material

Map contact sheets come back to the model as images; Sampler's 3D view or window can be captured; texture stats report value ranges and tiling seam ratios per axis.

get_material_preview get_viewport_capture get_texture_stats

Photo to material

Sampler's AI Image to Material or classic B2M, multi-angle capture, HDR merge, environment images, bitmaps and channel sets, with resolution, crop, upscale and physical size options.

import_images import_textures recipe_photo_to_material

Layer stacks

All of Sampler's filters (delighters, content-aware fill, auto tiling, equalize, weathering, structures, finishes, blends) and catalogue materials; insert anywhere, replace, remove, flatten, presets, channel restrictions, blend modes.

add_filter add_material replace_layer apply_layer_preset set_layer_channels set_layer_blend_mode

Parameters

Typed get/set for every layer, blend and texture-generator parameter: sliders clamped to their range, colours as #rrggbb, vectors, options by name, toggles; random seeds; expose parameters to the exported .sbsar.

get_parameters set_parameters set_texture_generator set_random_seed expose_parameter

Snapshots instead of undo

Sampler's API has no undo, so parameter values can be remembered and put back; destructive tools ask for confirm=true.

snapshot_parameters restore_parameters list_snapshots

Catalogue

Search filters (with categories), materials, texture generators and export presets; describe an item's parameters before using it; import .sbsar files.

search_filters search_materials search_texture_generators describe_catalog_item import_resource

Projects and assets

Create, open, save and save as (the file is checked); create assets (ASM / OpenPBR, presets, channels), select, rename, delete, resolution, channels, metadata.

create_project save_project_as create_asset set_asset_resolution set_asset_metadata

Export

PNG, JPG, TGA, TIF and EXR maps, .sbsar, .sbs, all of Sampler's export presets, all assets at once, plus engine layouts the bridge builds itself (Godot and glTF ORM packing with OpenGL normals).

export_material export_all_assets recipe_engine_export

Recipes

Photo to tileable material, a folder of photos, weathering, variations and engine export, one call each.

recipe_photo_to_material recipe_batch_photos recipe_weathering recipe_variations recipe_engine_export

Connection and safety

Connection status (incl. visible Sampler dialogs), command log, Sampler's log, render cache; localhost only, per-session token, no code execution.

sampler_connect get_bridge_status get_audit_log get_sampler_log

One-call recipes

Common jobs in a single tool call. The pictures are the real output of the live test run on Sampler 6.0.4 (Windows 11), made from synthetic test images.

Synthetic stone-wall test image used as the input photoThe six maps the recipe produced

A photo becomes a tileable PBR material

A new asset with AI Image to Material (or B2M), Delighter (AI Powered) and Equalize on the photo and Sampler's Tiling filter on top (or Auto Tiling, Make It Tile, none). It waits for the computation, measures the tiling seams, exports in an engine layout and returns a preview of the maps.

recipe_photo_to_material(image="D:/photos/wall.png",
    name="M_Wall", resolution=1024,
    engine="godot", export_dir="D:/game/materials")
Base colour, normal and roughness after heavy dirt and moss

Weather a material

Stacks dirt, dust, rust, moss, snow, corrosion, oxidation, cracks, scratches, splatter, stains, wet, erosion or gum filters, picks each filter's light or heavy preset for the strength, sets seeds and returns a preview. Tune afterwards with set_parameters.

recipe_weathering(effects=["dirt", "moss"],
                  strength="heavy", seed=5)
Three variations of the weathered material, labelled with their seeds

N variations, original restored

New seeds on every layer (and optional hue shifts), each variation exported if you ask, all shown as one contact sheet. The original parameters are restored afterwards and the seeds are reported so a variation can be reproduced.

recipe_variations(count=3, vary_color=True,
                  export_dir="D:/out/variations",
                  export_size=256, seed=3)
Contact sheet of the base colours of two materials made from two test images

A folder of photos, one material each

The photo-to-material pipeline for every photo in a folder, with a naming template such as M_{stem}, one export folder per material and a contact sheet of the results.

recipe_batch_photos(folder="D:/scans/walls",
    export_dir="D:/out", engine="gltf",
    name_template="M_{stem}")
Unreal layout: BaseColor, Normal and OcclusionRoughnessMetallic maps

Engine-ready export

One or all assets as unreal, unity_hdrp, unity, blender, godot, gltf, painter (OpenGL maps + .sbsar), designer (.sbsar + .sbs) or sbsar. Shown: the Unreal layout from the live run.

recipe_engine_export(engine="unreal",
    directory="D:/ue/Textures", size=256)

Demo

Screen recordings of the AI working in Sampler.

Modes and tool caps

Some clients cap or slow down with many tools. Pick a mode when you register the server. No mode has a code-execution tool.

ModeToolsFor
minimal22project, catalogue, layers, parameters, import, preview, export, the two main recipes
lite52everyday work; well under the ~100-tool cap of some clients
default64everything except plugin-development tools
full65everything, plus reload_bridge

Supported clients

Any MCP client that can start a local stdio server. Configs for the first three are in the setup guide.

Claude Codeclaude mcp add sampler -- <path>/.venv/Scripts/sampler-mcp.exe
Cursor~/.cursor/mcp.json or a project .cursor/mcp.json
Claude Desktopclaude_desktop_config.json
Other stdio MCP clientsSame command and arguments; not individually tested. Add --mode lite for tool caps.

Install outline

About ten minutes. Full instructions ship in the download (INSTALL.md); the setup guide walks through every step.

Install the MCP server (Python 3.10+)

python -m venv .venv
.venv\Scripts\pip install .

macOS: python3 -m venv .venv and .venv/bin/pip install .

Install the Sampler plugin and restart Sampler

powershell -ExecutionPolicy Bypass -File scripts\install_plugin.ps1

It copies sampler_mcp_bridge into Documents\Adobe\Adobe Substance 3D Sampler\plugins\. Sampler loads plugins only at start-up.

Register the server with your AI client

claude mcp add sampler -- D:/tools/mcp-pro-for-sampler/.venv/Scripts/sampler-mcp.exe

Open a project in Sampler and ask

Try "Make a tileable material from D:/photos/wall.jpg and export it for Godot into D:/game/materials. Show me the maps."

What to expect in 0.1.0 (Early Access)

  • Verified live on Sampler 6.0.4 on Windows 11 against the plugin installed from the release zip: all 65 tools called, every one succeeded at least once. macOS has an install script but is untested.
  • No undo: Sampler's Python API has none. Use parameter snapshots, save before big changes; delete and flatten need confirm=true.
  • No layer reorder or rename in the API; a blend-mode change replaces the layer and restores its parameters.
  • Tools refuse while Sampler shows its Home screen, even if a project is loaded in the background. Import modes (AI, B2M, multi-angle, HDR merge, environment) apply to empty assets, so the tools create a new asset for them.
  • Viewport capture is a screenshot of Sampler's UI, so dialogs and notifications on top are captured too.
  • Assets made through the tools also appear in Sampler's material library (Sampler behaviour).
  • AI filters and big exports take tens of seconds; raise your client's tool timeout if it is short.
  • Later updates are included for buyers.

FAQ

What is MCP Pro for Sampler?
An MCP (Model Context Protocol) server plus a Substance 3D Sampler Python plugin. Together they let an AI client such as Claude Code or Cursor work in Adobe Substance 3D Sampler: turn photos into tileable PBR materials, build and tune layer stacks, weather materials, make variations and export them for Unreal, Unity, Godot, Blender, glTF, Painter and Designer. Version 0.1.0 (Early Access) has 65 tools.
Does it add its own image AI?
No. The tools drive Sampler's own features, including its AI Image to Material and Delighter (AI Powered) filters, which run inside Sampler on your machine. Your AI client decides which Sampler operations to run and checks the result. The output is ordinary Sampler assets and exported texture files.
Which Sampler versions and operating systems are supported?
Adobe Substance 3D Sampler 6.0.x. Live verification was done on Sampler 6.0.4 on Windows 11: every one of the 65 tools was called and succeeded at least once. macOS has an install script but is untested. Sampler has no Linux version. The MCP server needs Python 3.10 or later; the plugin runs on Sampler's embedded Python.
Do I need my own Sampler licence?
Yes. MCP Pro for Sampler does not include or modify Substance 3D Sampler; you license Sampler from Adobe separately.
Which AI clients work?
Any MCP client that can start a local stdio server. Configs for Claude Code, Cursor and Claude Desktop are in the setup guide; Windsurf, Cline and others use the same command but have not been individually tested. For clients with a tool cap, start the server with --mode lite (52 tools) or --mode minimal (22 tools).
Can the AI see the material?
Yes. get_material_preview exports the maps at low resolution and returns one labelled contact sheet as an image, get_viewport_capture grabs Sampler's 3D view, and get_texture_stats measures value ranges and tiling seams per axis, so the model can check whether a material really tiles.
Can I undo what the AI did?
Not with an undo button: Sampler's Python API has no undo. Instead, snapshot_parameters and restore_parameters remember and put back every parameter value of an asset, recipe_variations restores the original values by itself, and the destructive tools (delete_asset, flatten_layer, flatten_asset) refuse unless called with confirm=true. Snapshots do not bring back removed or flattened layers, so save your project before big changes.
How long do the operations take?
AI filters and big exports take tens of seconds. In the stdio smoke test the AI photo-to-material recipe took 59 s at 1024 px. If your client has a short tool timeout, raise it.
Is it safe to run?
The plugin listens on 127.0.0.1 only and requires a per-session token; requests from web pages (an Origin header) and non-loopback Host headers are refused. Neither the plugin nor the server contacts any remote service. There is no arbitrary-code tool in any mode, and every command is written to a command log.
How much is it, and is there a subscription?
$12 USD, paid once on itch.io (Early Access price). No subscription; later updates are included.
v0.1.0 Early Access
$12 USD, once

Buy once on itch.io. Every later update is included.

Buy MCP Pro for Sampler
  • MCP server with 65 tools in 10 areas
  • Four modes: minimal 22, lite 52, default 64, full 65
  • Sampler plugin for Sampler 6.0.x with a status panel
  • 5 recipes: photo to material, batch photos, weathering, variations, engine export
  • Install scripts, setup instructions and an example
  • Updates included; licence terms are in the download