Skip to main content
Glama
MaterialCraft MCP Server

MaterialCraft MCP Server

by jhonsu01

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MATERIALCRAFT_APPNoPath of the desktop app when it lives elsewhere (e.g. a Linux AppImage).
MATERIALCRAFT_CLINoPath of `materialcraft-cli` / `materialcraft-cli.exe` (wins over `MATERIALCRAFT_DIR`).
MATERIALCRAFT_DIRNoMaterialCraft folder, one of its executables, a `.tar.gz` root (with `bin/`) or `MaterialCraft.app`. Default: auto-detect.
MATERIALCRAFT_MCP_TIMEOUTNoMaximum seconds per engine call (default 3600).3600

Instructions

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

Makes PBR materials with the engine of the locally installed MaterialCraft (Windows, macOS, Linux), an open-source Substance Designer-class node-based material designer: materials from a photo or texture (colour, height, normal, roughness and ambient occlusion maps derived from it) or from plain values; cooking of Substance Designer .sbs and MaterialCraft .mcraft packages into texture maps (png, jpg, tga, exr...) with exposed inputs set; portable .mcmat materials for TextureCraft; .sbs ↔ .mcraft conversion; 3D renders on a ball, cube, sphere, plane or torus. All paths must be absolute; inputs are only read; files are never overwritten unless overwrite is true. The engine runs headless and never touches the MaterialCraft app. list_materialcraft_catalog lists the commands and nodes; run_materialcraft_commands runs any engine command or node tool. When a result lists output files it includes files_markdown: ready-made links (file:/// URLs) to every file and folder written. Show them to the user exactly as given (one per line, or inside a table cell) so each output can be opened from the chat; never retype the paths. If your app also has a tool that delivers or presents files to the user (for example present in DeepSeek Harness), call it with the output files too, so they appear as cards that open in the app.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_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.

cook_materialA

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.

export_materialA

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.

render_materialB

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

get_material_infoA

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

list_materialcraft_catalogA

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

run_materialcraft_commandsB

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.

open_in_materialcraftA

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

get_materialcraft_statusB

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

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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