Skip to main content
Glama
MaterialCraft MCP Server

MaterialCraft MCP Server

by jhonsu01

Why

MaterialCraft is an open-source, Substance Designer-class node-based material designer with a headless CLI (materialcraft-cli) that opens .sbs packages, and an MCP mode. This Model Context Protocol server turns it into file-in / file-out tools for Claude, so you can ask things like:

"Turn this brick photo into a PBR material and export the maps." "Cook this .sbs into 2K PNG maps with its roughness input at 0.3." "Make a brushed gold material and render it on a sphere." "Convert every .sbs in this folder to .mcraft."

Sibling of designcraft-mcp-server, effectcraft-mcp-server, lightcraft-mcp-server, photocraft-mcp-server, vectorcraft-mcp-server, filmcraft-mcp-server, pdfcraft-mcp-server, wordcraft-mcp-server, soundcraft-mcp-server, deckcraft-mcp-server, gridcraft-mcp-server, figcraft-mcp-server, anicraft-mcp-server, texturecraft-mcp-server, solidcraft-mcp-server, mailcraft-mcp-server and audacity-mcp-server.

Related MCP server: Material Maker MCP

Platforms

OS

MaterialCraft package to install

Where the server finds it (no setup needed)

Status

Windows 10/11 (x64, x86, arm64)

MSI or portable zip

C:\Program Files\MaterialCraft, C:\Program Files\ArtCraft\MaterialCraft, %LOCALAPPDATA%\Programs\MaterialCraft, PATH

✅ Verified (Windows 11)

Linux (x86_64, aarch64, riscv64)

.deb, .rpm or .tar.gz

/usr/bin, /usr/local/bin, /opt/materialcraft/bin, ~/.local/bin, PATH

✅ Verified (Debian 12, headless)

macOS 11+ (Apple silicon and Intel)

.dmg (the app) plus materialcraft-cli-<version>-macos-universal.zip

/Applications/MaterialCraft.app, /usr/local/bin, /opt/homebrew/bin, ~/.local/bin, ~/bin, PATH

🟡 Supported, not yet tested on a Mac

All downloads: MaterialCraft releases (there is also a FreeBSD tar.gz; set MATERIALCRAFT_DIR to it). Anywhere else: set MATERIALCRAFT_DIR (folder, .tar.gz root or MaterialCraft.app) or MATERIALCRAFT_CLI.

  • macOS: the DMG contains only the app. Unzip the separate materialcraft-cli zip and move materialcraft-cli to /usr/local/bin (or point MATERIALCRAFT_CLI at it). The first run checks Apple's notarization online.

  • Linux: the AppImage and Flatpak contain only the app, not materialcraft-cli; use the deb, rpm or tar.gz. For an AppImage app, set MATERIALCRAFT_APP so open_in_materialcraft can start it. On a server without a GPU, the verified setup used libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.

How it works

Part

What it is

MaterialCraft engine (materialcraft-cli mcp)

MaterialCraft's own engine: graphs of atomic nodes, the .sbs reader and writer, the cooker that renders each output, and the 3D preview renderer. Started fresh for each job, confined to a private temporary folder, and never touches the MaterialCraft app.

MCP server (Node.js)

9 high-level tools. Builds a PBR graph from a photo (colour, height, normal, roughness, ambient occlusion) or from values, cooks packages into maps, and returns a 3D render.

Tools

Tool

What it does

create_material

A PBR material from a photo or texture (base colour, height from its brightness, a normal map, roughness and ambient occlusion from its tones) or from values (colour, roughness, metallic); saved as maps, .mcmat and .mcraft / .sbs

cook_material

An .sbs or .mcraft package with its exposed inputs set → texture maps (png, jpg, tga, exr, 8 to 32 bits), .mcmat or a converted package

export_material

One package, a list or a folder → maps, .mcmat or converted packages

render_material

Pictures of a material on a ball, rounded cube, sphere, plane or torus

get_material_info

Graphs, outputs, exposed inputs, node count, cook errors and import warnings

list_materialcraft_catalog

Engine commands, nodes, 3D scenes and formats

run_materialcraft_commands

Any engine command plus graph_new, node_add, node_connect, node_param... in one session ($steps[N].field references), then save

open_in_materialcraft

Open packages in the MaterialCraft app

get_materialcraft_status

Platform, installation, version, commands and nodes

Reads

.sbs, .mcraft; pictures (png, jpg, tga, tif, bmp, webp, exr, hdr)

Writes

texture maps (png, jpg, tga, bmp, webp, exr, hdr), .mcmat, .mcraft, .sbs

Unsupported .sbs nodes are kept as placeholders and listed in the warnings.

Example

{
  "name": "Old bricks",
  "image_path": "C:\\Textures\\bricks.jpg",
  "invert_height": true,
  "height_strength": 3,
  "roughness": 0.7,
  "size": 2048,
  "formats": ["maps", "mcmat", "sbs"],
  "map_format": "png",
  "scene": "rounded_cube",
  "output_dir": "C:\\Materials"
}

Requirements

  • MaterialCraft with materialcraft-cli (tested with 0.4.1); see Platforms

  • Node.js ≥ 20 (bundled with Claude Desktop for .mcpb installs)

Installation

  1. Download materialcraft-mcp-server.mcpb from the latest release.

  2. Double-click it (or drag it into Claude Desktop → Settings → Extensions) and click Install.

  3. Optional: if MaterialCraft is not in a standard location, fill in its folder or the materialcraft-cli path in the extension settings.

Claude Code and Cowork (plugin)

Add the marketplace jhonsu01/sunsam-plugins (in Claude Code: /plugin marketplace add jhonsu01/sunsam-plugins; in the Claude app: Plugins → Add → Add marketplace) and install materialcraft-bridge.

Sunsam Code

Install MaterialCraft Bridge from the Sunsam Code marketplace, or drop the .mcpb into MCP → Install extension.

Codex (OpenAI)

Recommended — the marketplace (gets updates): Plugins → Add → Add marketplace, source jhonsu01/craft-marketplace, reference main, then install MaterialCraft Bridge from Craft Bridges (craft-marketplace). New versions arrive by refreshing the marketplace. Or upload the zip (Codex then keeps it in your account and refuses a newer zip with the same name):

  1. Download materialcraft-mcp-server-<version>-codex.zip from the latest release.

  2. In Codex: Plugins → Add → New plugin, choose the zip and click Add plugin.

  3. Codex starts the server with node, so Node.js ≥ 20 must be on PATH. If MaterialCraft is not in a standard location, set MATERIALCRAFT_DIR or MATERIALCRAFT_CLI as system environment variables (Codex has no settings form for local plugins).

DeepSeek Harness

  1. Plugins → Add plugin, enter github:jhonsu01/craft-marketplace#path:/plugins/materialcraft-mcp-server and click Install, then Enable now.

  2. Harness runs the server with its own MCP client and node (Node.js ≥ 20 on PATH); the tools appear as mcp__materialcraft__<tool> and the output files as cards that open in Harness.

  3. Harness does not update plugins by itself yet: to upgrade, uninstall the plugin and install it again with the same address.

Claude Code / other MCP clients

git clone https://github.com/jhonsu01/materialcraft-mcp-server.git
cd materialcraft-mcp-server
npm install
npm run build

Windows:

claude mcp add materialcraft -- node "%CD%\dist\bundle.cjs"

macOS / Linux:

claude mcp add materialcraft -- node "$PWD/dist/bundle.cjs"

Configuration

Variable

Meaning

MATERIALCRAFT_DIR

MaterialCraft folder, one of its executables, a .tar.gz root (with bin/) or MaterialCraft.app. Default: auto-detect

MATERIALCRAFT_CLI

Path of materialcraft-cli / materialcraft-cli.exe (wins over MATERIALCRAFT_DIR)

MATERIALCRAFT_APP

Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage)

MATERIALCRAFT_MCP_TIMEOUT

Maximum seconds per engine call (default 3600)

Safety

  • Files are never overwritten unless overwrite: true: a free name (_2) is used in folders and an existing output_path is an error. Inputs are only read; an edited file is saved only as a new copy (_edited).

  • All paths must be absolute. The engine runs headless, confined to a private temporary folder for each job (the inputs are copied in, the outputs moved out), and never touches the MaterialCraft app.

  • Everything runs locally with no network access. Each job uses a private engine in a temporary folder that is deleted at the end.

Development

npm run build       # TypeScript + single-file bundle (dist/bundle.cjs)
npm test            # unit tests (Windows, macOS and Linux path logic)
npm run test:e2e    # 18 end-to-end checks over real MCP stdio (a synthetic brick photo)
npm run pack:mcpb   # materialcraft-mcp-server.mcpb
npm run pack:codex  # Codex / DeepSeek Harness plugin zip

Linux test in Docker (unpack materialcraft-<version>-linux-x86_64.tar.gz first):

docker run --rm -v "$PWD:/work:ro" -v "/path/to/materialcraft-0.4.1-linux-x86_64:/opt/materialcraft:ro" -e MATERIALCRAFT_DIR=/opt/materialcraft -w /work node:22-bookworm bash -c "apt-get update && apt-get install -y libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig && node scripts/e2e.mjs"

License

Apache-2.0. MaterialCraft is © its authors (Storytold), MIT or Apache-2.0. This project is not affiliated with or endorsed by MaterialCraft or Storytold. Substance 3D Designer is a trademark of Adobe.

Available Tools

9 tools
cook_materialCook a material packageA

Open a Substance Designer .sbs or a MaterialCraft .mcraft package, optionally set its exposed inputs (by id) and pick a graph, then cook it into texture maps, a portable .mcmat and / or a converted package (.sbs ↔ .mcraft). Unsupported nodes are kept as placeholders and listed in warnings. The input is never changed.

Inputs: input_path (required), graph, scene, suffix, +9 more.

create_materialCreate a PBR materialA

Make a PBR material with MaterialCraft (a Substance Designer-class node-based material designer): from a photo or texture (image_path: colour from the picture, height from its brightness, a normal map from the height, roughness and ambient occlusion from its tones) or from plain values (colour, roughness, metallic). Saves the texture maps (base colour, normal, roughness, metallic, height, ambient occlusion), a portable .mcmat for TextureCraft and the .mcraft / .sbs package, and returns a 3D render.

Inputs: name, size, color, scene, +14 more.

export_materialExport / convert materialsA

Cook one or many packages (.sbs, .mcraft) into texture maps (png, jpg, tga, exr...), portable .mcmat materials or converted packages, one after another. Inputs are never changed; outputs go next to each input or into output_dir.

Inputs: formats, map_size, bit_depth, input_dir, +4 more.

get_materialcraft_statusMaterialCraft statusB
Read-onlyIdempotent

Check the MaterialCraft installation: platform, executables, version, engine commands, node library, formats, whether the app is running.

Inputs: no named parameters.

get_material_infoMaterial infoA
Read-onlyIdempotent

What a package holds: its graphs, the open graph's outputs (usages), exposed inputs, node count, cook errors and import warnings. Read only.

Inputs: input_path (required), graph.

list_materialcraft_catalogList commands, nodes, scenes, formatsA
Read-onlyIdempotent

What MaterialCraft can do: commands (for run_materialcraft_commands), nodes (the node library with ports and parameters), scenes (3D preview objects) and formats.

Inputs: kind (required), filter.

open_in_materialcraftOpen in MaterialCraftA

Open files in the MaterialCraft desktop app to keep working by hand (.sbs, .mcraft).

Inputs: paths.

render_materialRender a materialB
Read-onlyIdempotent

Pictures of a material package: on 3D objects (ball, rounded cube, sphere, plane, torus...) and / or a node in 2D, optionally saved as PNG.

Inputs: input_path (required), save, size, graph, +5 more.

run_materialcraft_commandsRun MaterialCraft engine commandsB
Destructive

Advanced: run any MaterialCraft commands in order (graph., node., edit.*...) plus the engine tools graph_new / node_add / node_connect / node_param / library_list / session_inspect / bitmap_import (step id = the tool name), on a new or an opened package, then save maps, .mcmat or the package. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[0].id". A new session starts with a sample package; add a graph with graph_new first.

Inputs: name, steps, formats, preview, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 9 tools

    Disambiguation3/5

    cook_material and export_material overlap heavily, since both can cook packages into texture maps, .mcmat files, or converted packages; the main distinction is single-package configuration versus batch export. list_materialcraft_catalog and get_materialcraft_status also overlap on engine commands, node library, and formats, though the descriptions make the intended split mostly readable.

    Naming Consistency4/5

    All tool names use snake_case and begin with a verb, with core operations following a clear verb_material pattern. Minor deviations like open_in_materialcraft and the embedded product name in several tools are still predictable and readable.

    Tool Count5/5

    Nine tools is well-scoped for a material creation, cooking, export, rendering, and inspection server. Each tool covers a recognizable part of the workflow without obvious bloat.

    Completeness4/5

    The surface covers creation, inspection, cooking/export, rendering, advanced graph/node command execution, and desktop handoff. There is no explicit delete or package-listing operation, but those are minor gaps in a file-based workflow and are partly addressable through the advanced command runner.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to create Material Maker node graphs from natural language, validate them against the node catalog, and render them headlessly to PBR texture maps and editable .ptex files.
      12
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables an AI agent to discover Material Maker nodes, validate and build procedural material graphs through an undoable batch, and compare real 3D previews and labeled PBR maps returned as images. It also runs bounded parameter sweeps that restore the source state, and exports maps with manifests listing filenames, channels, sizes, hashes and changed-file state.
      35
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables LLMs such as Claude to drive Blender through high-level tools for real-world-scale modeling, PBR texturing, lighting, rendering, rigging/animation, and UE5 game-asset baking and export. It also provides asset-library search, reference comparison, quality inspection, and import/export of common 3D file formats.
      58
      MIT