شعار Substance Designer MCP

Substance Designer MCP

المجتمع
matthieuhuguet

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

الناشرmatthieuhuguet
المستودعsubstance-designer-mcp
اللغةPython
التفريعات
12
النجوم
59
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الترخيصMIT
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Substance Designer MCP إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 59، والنسخ المتفرعة: 12 في المستودع المرتبط.

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

التثبيت

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>"
      }
    }
  }
}

استخدم MCP الخاص بـ Substance Designer MCP مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Substance Designer MCP، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Substance Designer MCP كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Substance Designer MCP.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "substance-designer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Substance Designer MCP، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Substance Designer MCP.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Substance Designer MCP لمساعدتي في هذه المهمة؟
Substance Designer MCP
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Substance Designer MCP.

الأسئلة الشائعة

ما استخدامات خادم MCP Substance Designer MCP؟

Substance Designer MCP هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Substance Designer MCP مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Substance Designer MCP مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Substance Designer MCP مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Substance Designer MCP، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Substance Designer MCP بـ TypingMind؟

يعمل Substance Designer MCP عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Substance Designer MCP في TypingMind؟

يتيح Substance Designer MCP إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Substance Designer MCP؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Substance Designer MCP يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇