Logo van Substance Designer MCP

Substance Designer MCP

Community
matthieuhuguet

The first MCP (Model Context Protocol) integration for Adobe Substance 3D Designer. Control SD from Claude, Cursor, or any MCP client.

Uitgevermatthieuhuguet
Repositorysubstance-designer-mcp
TaalPython
Forks
12
Sterren
59
Beschikbare tools
0
Transporttypestdio
Categorieën
LicentieMIT
Links
  • Koppel tools aan AI-workflows

    Substance Designer MCP biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • 0 beschikbare tools

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Indicatoren van opensource-interesse

    59 sterren en 12 forks in de gekoppelde repository.

Substance Designer MCP

The first MCP (Model Context Protocol) integration for Adobe Substance 3D Designer.

Control Substance Designer from any MCP-compatible AI client (Claude Code, Claude Desktop, Cursor) — create graphs, build nodes, connect them, set parameters, generate full PBR material graphs from a single prompt.


What it does

  • Natural language → SD graph: "Create a cracked concrete material" → 44-node PBR graph with height, normal, roughness, AO, baseColor, metallic outputs
  • 79 built-in material recipes: pro-grade materials using the same node architecture as professional SD artists
  • 16 MCP tools: get scene info, create/delete graphs, create nodes, connect nodes, set parameters, build full materials in one call
  • Library node support: Clouds, Cells, Perlin Noise, Polygon, Edge Detect, Flood Fill, Multi-Directional Warp, etc.
  • Thread-safe: All SD API calls dispatched to Qt main thread via Signal/Slot queued connection

Architecture

AI Client (Claude / Cursor)
        │  stdio (MCP protocol)
        ▼
sd_mcp_bridge.py  (FastMCP server, Python 3.12)
        │  TCP localhost:9881 (length-prefix framing)
        ▼
SD Plugin __init__.py  (Python 3.11, runs inside SD)
        │  sd.api
        ▼
Adobe Substance 3D Designer 15.x

The bridge and plugin communicate with a simple length-prefix framing protocol: [4-byte big-endian length][JSON payload]. Each command uses a fresh TCP socket — no persistent connection, no stale state.


Requirements

  • Adobe Substance 3D Designer 15.x (tested on 15.0.3)
  • Python 3.12+ for the bridge (managed via uv)
  • uv package manager: pip install uv or winget install astral-sh.uv
  • An MCP-compatible client: Claude Code, Claude Desktop, or Cursor

Installation

Step 1 — Install the SD Plugin

Copy the plugin/ folder contents to your SD user scripts directory:

Windows:

%USERPROFILE%\Documents\Adobe\Adobe Substance 3D Designer\python\sduserplugins\sd_mcp_plugin\

The directory must contain:

sd_mcp_plugin/
├── __init__.py    ← main plugin (TCP listener, all MCP tools)
└── recipes.py     ← 79 material recipes

SD auto-loads all plugins from sduserplugins/ on startup. No additional configuration needed.

Step 2 — Install the Bridge Server

bash
cd server/
uv sync   # installs mcp[cli] into .venv

Or with pip:

bash
pip install "mcp[cli]>=1.4.1"

Step 3 — Configure Your MCP Client

Claude Code (~/.claude/settings.json):

json
{
  "mcpServers": {
    "substance_designer": {
      "command": "C:\\Users\\YOUR_USERNAME\\.local\\bin\\uv.exe",
      "args": [
        "run",
        "--directory",
        "C:\\PATH\\TO\\substance-designer-mcp\\server",
        "python",
        "sd_mcp_bridge.py",
        "--port",
        "9881"
      ]
    }
  }
}

See config/ folder for Claude Desktop and Cursor examples.

Step 4 — Start SD before your AI client

SD must be running before the MCP bridge starts. The plugin binds TCP port 9881 on SD startup. If SD is not running when Claude/Cursor launches, the bridge will fail to connect.


Usage

Once connected, you can ask your AI client to:

Build a weathered steel material with surface oxidation
Create a cliff heightmap with high detail and disorder
Make a new graph called MyRock, add a clouds node and a slope blur, connect them
List all available material recipes

Available MCP Tools

ToolDescription
get_scene_infoList all open packages and graphs
create_graphCreate a new compositing graph
get_graph_infoGet all nodes and connections in a graph
list_node_definitionsSearch available node types
create_nodeCreate an atomic node (blend, levels, blur, etc.)
create_instance_nodeCreate a library node (Clouds, Cells, Perlin, etc.)
create_output_nodeCreate a PBR output (baseColor, normal, height, etc.)
connect_nodesConnect two nodes via their ports
disconnect_nodesRemove a connection
set_parameterSet a node parameter
get_node_infoGet ports and parameters of a node
delete_nodeDelete a node
move_nodeReposition a node
duplicate_nodeDuplicate an atomic node
delete_graphDelete a graph from a package
open_graphOpen a graph in the SD editor
save_packageSave the package to disk
execute_sd_codeExecute arbitrary Python in SD's context
build_material_graphBuild a full PBR material in one call
build_heightmap_graphBuild a heightmap-only graph in one call
list_recipesList all 79 available material recipes
get_recipe_infoGet details about a specific recipe
apply_recipeApply a recipe to an existing graph

Material Recipes

python
build_material_graph(graph_name="MySteel", recipe_name="pro_steel")
# → 37-node PBR graph: height + normal + roughness + AO + baseColor + metallic

build_heightmap_graph(graph_name="CliffHM", style="cliff", detail_level=3, scale=5.0, disorder=0.5)
# → 9-node heightmap graph

Pro recipes (37–44 nodes, professional architecture): pro_granite, pro_limestone, pro_sandstone, pro_basalt, pro_slate, pro_steel, pro_iron, pro_copper, pro_concrete, pro_concrete_aged, pro_concrete_smooth

Core materials: steel, iron, copper, gold, silver, aluminum, brass, granite, marble, sandstone, limestone, slate, basalt, wood, wood_oak, moss, bone, leather, fabric_cotton, fabric_silk, fabric_wool, fabric_denim, fabric_burlap, sand, mud, gravel, clay, soil, ice, snow, frost, water, diamond, ruby, sapphire, emerald, amethyst, concrete, brick, lava, asphalt, plaster, tile, painted_metal, carbon_fiber, terracotta, obsidian, ...

Heightmap styles: cliff, rock, sand, cracked, mud, mountain, cobblestone, terrain


Critical Rules (SD 15.x)

These are hard constraints of the SD 15.x API — violating them hangs or crashes SD:

  • ONE tool call at a time — never parallel calls to SD tools
  • SDUsage.sNew() hangs SD 15 permanently — removed from plugin
  • newNode(unknown_definition) hangs SD 15 permanently — plugin validates before calling
  • arrange_nodes() destroys all connections — use move_node() instead
  • Library node outputs are never "unique_filter_output" — always call get_node_info first
  • directionalwarp warp-map port = "inputintensity" (NOT inputgradient)
  • Wrong port ID in connect_nodes = crash — plugin validates before calling SD

Known Library Node Ports (SD 15.0.3)

NodeOutputKey Inputs
clouds_2outputscale, disorder
cells_1outputscale, disorder
perlin_noiseoutputscale, disorder
polygon_2outputSides, Scale, Gradient
gradient_linear_1Simple_GradientTiling, rotation
gradient_axialoutputpoint_1, point_2
slope_blur_grayscale_2Slope_BlurSamples, Source, Effect
blur_hq_grayscaleBlur_HQIntensity, Source
non_uniform_blur_grayscaleNon_Uniform_BlurIntensity, Anisotropy, Source
edge_detectoutputedge_width, tolerance, input
flood_filloutputmask
flood_fill_to_gradient_2outputangle, input, angle_input
flood_fill_to_grayscaleoutputluminance_random, input
multi_directional_warp_grayscaleoutputintensity, directions, input, intensity_input
highpass_grayscaleHighpassRadius, Source
histogram_scanOutputPosition, Contrast, Input_1
invert_grayscaleInvert_GrayscaleSource
crystal_1outputscale, disorder

Troubleshooting

Bridge can't connect to SD:

  • Make sure SD is running and fully loaded before launching your AI client
  • Check SD logs: %LOCALAPPDATA%\Adobe\Adobe Substance 3D Designer\log.txt (look for [SD-MCP])
  • Verify the plugin is in the correct sduserplugins directory

SD hangs after a command:

  • A bad node definition was likely used. Restart SD.
  • The plugin validates node definitions before calling SD, but library nodes need correct pkg:// URLs.

Wrong port:

  • Plugin listens on 9881 by default. Bridge must use --port 9881.

Plugin not loading:

  • Delete __pycache__/ in the plugin directory and restart SD.

License

MIT License — see LICENSE


Author

Built by matthieuhuguet / ZenRay — first MCP integration for Substance Designer.

Pro recipe architecture based on deep analysis of professional Substance Designer node graph patterns: clouds_2 → slope_blur → edge_detect → flood_fill → multi_directional_warp → directionalwarp chains.


Contributing

PRs welcome. Key areas for improvement:

  • More material recipes
  • Color graph support (currently height/grayscale focused)
  • Windows + macOS path handling for plugin install
  • Auto-install script for the SD plugin

Installatie

TypingMind
{
  "mcpServers": {
    "substance-designer-mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "{{config.SERVER_PATH}}",
        "python",
        "sd_mcp_bridge.py",
        "--port",
        "9881"
      ],
      "env": {
        "SERVER_PATH": "<SERVER_PATH>"
      }
    }
  }
}

Gebruik Substance Designer MCP MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra Substance Designer MCP is verbonden, kun je deze dus met verschillende AI-modellen in TypingMind gebruiken, zonder de verbinding voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg Substance Designer MCP toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus Gereed aangeeft.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van Substance Designer MCP.
  4. Sla de serverlijst op.
  5. Vernieuw om te controleren of de connector nog steeds klaar is voor gebruik.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "substance-designer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van Substance Designer MCP in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van Substance Designer MCP in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je Substance Designer MCP gebruiken om me hiermee te helpen?
Substance Designer MCP
Zeker. Ik heb het gelezen.
Dit vond ik met Substance Designer MCP.

Veelgestelde vragen

Waarvoor wordt de MCP-server Substance Designer MCP gebruikt?

Substance Designer MCP is een MCP-server waarmee compatibele AI-clients verbinding kunnen maken met externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik Substance Designer MCP MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je Substance Designer MCP gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom Substance Designer MCP MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als Substance Designer MCP verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik Substance Designer MCP MCP met TypingMind?

Substance Designer MCP werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt Substance Designer MCP MCP in TypingMind?

Substance Designer MCP biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om Substance Designer MCP MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als Substance Designer MCP authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇