Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TEXTURECRAFT_APPNoPath of the desktop app when it lives elsewhere (e.g. a Linux AppImage)
TEXTURECRAFT_CLINoPath of texturecraft-cli / texturecraft-cli.exe (wins over TEXTURECRAFT_DIR)
TEXTURECRAFT_DIRNoTextureCraft folder, one of its executables, a .tar.gz root (with bin/) or TextureCraft.app. Default: auto-detect
TEXTURECRAFT_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.

Textures 3D models with the engine of the locally installed TextureCraft (Windows, macOS, Linux), an open-source Substance Painter-class 3D texture painter: built-in meshes or your glb / gltf / fbx / obj / usd / abc / ply / stl files and .tcraft projects; layers from the bottom up: fills (colour, roughness, metallic, procedural patterns), built-in materials (metals, woods, plastics, rust...) or .tcmat / .mcmat / .mcraft files, projected pictures and decals; baked mesh maps (ambient occlusion, curvature, thickness...); texture export with engine presets (glTF, Unreal, Unity, Blender, Godot, OpenPBR) and the mesh with its textures (glb, obj, usdz); renders from any angle, path traced if asked. 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 TextureCraft app. list_texturecraft_catalog lists the commands and materials; run_texturecraft_commands runs any engine command. 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
texture_modelA

Texture a 3D model with TextureCraft (a Substance Painter-class 3D texture painter): a built-in mesh, your mesh (glb, gltf, fbx, obj, usd, abc, ply, stl) or an existing .tcraft project, then layers from the bottom up: fills (colour, roughness, metallic and procedural patterns such as grunge on height), built-in materials (steel, rust, copper, oak, plastic... or a .tcmat / .mcmat / .mcraft file), pictures projected on a channel, and decals; optionally bakes mesh maps (ambient occlusion, curvature...). Saves the .tcraft project, the textures with an engine preset (glTF, Unreal, Unity, Blender, Godot...) and the mesh with its textures (glb, obj, usdz), and returns a 3D render.

export_texturesA

Export the textures of one or many TextureCraft projects (.tcraft) with an engine preset (glTF, Unreal, Unity, Blender, Godot, OpenPBR, separate maps, mesh maps), the mesh with its textures (glb, obj, usdz, usda, usdc), or convert a mesh to a new project. Inputs are never changed; outputs go next to each input or into output_dir.

render_modelC

Pictures of a textured project or a mesh from several angles (up to 4), real-time or path traced (samples), or the UV view; optionally saved as PNG.

get_model_infoB

What a project or mesh holds: mesh (triangles, vertices, materials), texture sets (resolution, channels, baked maps) and the layer stack. Read only.

list_texturecraft_catalogA

What TextureCraft can do: commands (for run_texturecraft_commands), materials (the built-in material library), procedurals (patterns a fill can use), presets (texture export presets), meshes (built-in meshes) and formats.

run_texturecraft_commandsA

Advanced: run any TextureCraft commands in order (layer., mask., effect., material., bake., tool., camera., display....) plus the engine tools project_new / paint_stroke / bake / session_inspect / material_load / resource_import (step id = the tool name), on a new project (project_new first) or an opened one, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[1].layer".

open_in_texturecraftB

Open files in the TextureCraft desktop app to keep working by hand (.tcraft, .glb, .gltf, .fbx, .dae, .usd, .usda, .usdc, .usdz, .abc, .obj, .ply, .stl).

get_texturecraft_statusA

Check the TextureCraft installation: platform, executables, version, engine commands, built-in materials, 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.5/5.0

Scored across 8 tools

Disambiguation4/5

Most tools have clearly separated roles: create/paint (texture_model), export (export_textures), render (render_model), inspect (get_model_info), install check (get_texturecraft_status), capabilities (list_texturecraft_catalog), open in app (open_in_texturecraft). The main overlap is between texture_model and run_texturecraft_commands, which both paint/build projects (one high-level, one raw), and texture_model's built-in saving partially overlaps export_textures. Also three 'information' tools (status, model_info, catalog) risk mild confusion but descriptions differentiate them well.

Naming Consistency4/5

All names are snake_case and start with a verb (texture, run, open, get, export, render, get, list), which is predictable. Minor deviations: open_in_texturecraft uses a verb_place form rather than verb_noun, and the noun side varies in shape (texturecraft_status vs model_info vs catalog), but overall the convention holds.

Tool Count5/5

Eight tools is well-scoped for a 3D texturing server: one creation pipeline, one advanced escape hatch, one export, one render, plus inspection/status/catalog/open helpers. Each tool has a clear reason to exist and none feels redundant enough to remove.

Completeness4/5

Core lifecycle is covered: texturing/building a project, advanced command automation, export with presets, rendering, reading project contents, opening in the desktop app, and capability discovery. Minor gaps exist around incremental layer editing on an already-textured project and deletion/cleanup of projects, but run_texturecraft_commands largely provides an escape hatch for these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues