material-workbench
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@material-workbench Render a painted grass tile with seed 42."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Material Workbench
Recipe-driven, deterministic procedural materials and isometric terrain tiles for game engines — a Python engine, a desktop app, and an MCP server, all rendering from the same JSON recipe.

A recipe is a small JSON document — an archetype plus a handful of parameters and a seed. Feed it to the engine and you get back textures: PBR map sets for 3D engines (Unreal/Godot/Unity), or hand-painted-looking isometric ground tiles for 2D/iso games. Same recipe, same seed, same bytes — every time. The render is content-addressed and cached by a hash of the recipe, so nothing is recomputed twice.
What you get
Two archetypes today
metal_rust— procedural rusted metal: 5 PBR maps (base color, normal, roughness, metallic, AO), tileable.painted_grass— Dofus-style painted terrain: a mottled green wash, grass tufts, and scattered blossoms, projected to a 2:1 isometric diamond with a transparent surround.
Three ways to drive it
CLI —
material-workbench render recipe.json --out ./outwrites the PBR maps to disk.Desktop app (Tauri + React + Three.js) — pick a preset, tweak sliders, preview in 3D (materials) or as an iso tile (terrain), and export.
MCP server — expose the workbench as tools to an MCP-capable agent over stdio.
Cached — every recipe carries a
render_hash; identical recipes hit the cache instead of re-rendering.Adding an archetype is one registry entry plus a render function — no central refactor.
Painted grass → iso tile | Rusted metal base color |
|
|
Related MCP server: mojulo
Prerequisites
The Python engine is cross-platform. The desktop app targets Windows 11 today (the Rust toolchain is pinned to stable-x86_64-pc-windows-msvc); the sidecar has a POSIX fallback but the Tauri shell is not yet wired/tested for macOS/Linux.
Tool | Version | Needed for |
latest | Python env + commands | |
Python | 3.12 ( | engine, CLI, MCP, sidecar |
Node.js + npm | 20.19+ (or 22.12+) | desktop app frontend (Vite 7) |
Rust (rustup) | stable | desktop app shell |
MSVC C++ Build Tools + WebView2 | — | Tauri on Windows |
Quickstart
Python engine / CLI
uv sync --extra dev
uv run pytest # run the test suite
uv run material-workbench render examples/recipe-rusty-floor.json --out ./outrender writes the PBR maps to ./out. It works for any archetype the engine supports (metal_rust, painted_grass); the isometric tile projection is exposed through the desktop app and the JSON-RPC service.
Desktop app
Order matters. The Rust shell launches the Python engine as a sidecar by locating
.venv/Scripts/python.exe(walking up from the binary). Runuv syncat the repo root before starting the app, or setPYTHON_BINto a Python with the package installed.
uv sync # 1. create the .venv the app will find
cd tauri
npm install # 2. frontend deps
npm run tauri dev # 3. build the Rust shell + launchPick a preset (Prairie, Prairie fleurie, Herbe rase, or the metal_rust presets), hit
Render (force), change the seed for variations, then Export tuile iso… to write a
transparent 2:1 diamond PNG (terrain) — or Export to UE5… to write the BC/N/ORM PBR set (materials).
To build a distributable bundle: npm run tauri build.
MCP server
uv run material-workbench serve-mcp # FastMCP over stdioRegister it with any MCP client (the tool surface mirrors the service: archetypes, recipes, render, cache).
How it works
recipe.json ──► normalize + validate ──► engine (numpy/PIL) ──► PBR maps ──► cache (by render_hash)
│
┌────────────────────────────────────────┼─────────────────────────┐
CLI JSON-RPC sidecar (Tauri app) MCP server
(write maps) (render, iso-tile export, recipes) (agent tools)The engine is pure numpy + Pillow (no GPU, no external services). Transport adapters (CLI, JSON-RPC, MCP) are thin wrappers around a single MaterialWorkbenchService. See docs/ARCHITECTURE.md for the full layering.
Project layout
src/material_workbench/ Python engine, IR, cache, adapters (CLI / JSON-RPC / MCP)
tauri/ Desktop app (React + Three.js frontend, Rust shell)
examples/ Sample recipes
tests/ pytest suite (engine, services, adapters)
tools/ Calibration & snapshot scripts (dev only)
docs/ Architecture & assetsContributing
Contributions are welcome — see CONTRIBUTING.md for the dev setup, test/lint commands, and pull-request flow. By participating you agree to the Code of Conduct.
License
MIT © 2026 hoklims
Available Tools
12 toolsarchetype_listA
List all registered archetypes with their params and modifiers.
Inputs: no named parameters. Returns: Generic wrapper for non-object return types.
cache_lookupB
Look up a cached manifest by render_hash.
Inputs: render_hash (required). Returns: Generic wrapper for non-object return types.
initializeC
Handshake. Returns sidecar version + cache_root + capabilities.
Inputs: client (required), app_version (required), app_data_root (required), protocol_version (required), +1 more. Returns: Generic wrapper for non-object return types.
recipe_mutateC
Apply patches [{param_path, value}], re-normalize, return new hash.
Inputs: recipe (required), patches (required). Returns: Generic wrapper for non-object return types.
recipe_normalizeB
Normalize a recipe (clamp params, derive seeds, recompute hash).
Inputs: recipe (required). Returns: Generic wrapper for non-object return types.
recipe_readB
Read a recipe JSON file. scope must be 'workspace' or 'app_data'.
Inputs: path (required), scope (required). Returns: Generic wrapper for non-object return types.
recipe_validateC
Validate a recipe. Returns {valid: bool, errors: list}.
Inputs: recipe (required). Returns: Generic wrapper for non-object return types.
recipe_writeC
Write a recipe to disk after normalization. Returns render_hash.
Inputs: path (required), scope (required), recipe (required). Returns: Generic wrapper for non-object return types.
render_cancelA
Cancel a render request. Idempotent.
Inputs: request_id (required). Returns: Generic wrapper for non-object return types.
render_runC
Render a recipe. Returns manifest + render_source enum.
Inputs: recipe (required), request_id (required), force. Returns: Generic wrapper for non-object return types.
shutdownC
Returns {ok: true}. Client-side disconnect is the actual close.
Inputs: no named parameters. Returns: Generic wrapper for non-object return types.
workspace_setA
Change workspace_root at runtime. Pass null to clear.
Inputs: workspace_root (required). Returns: Generic wrapper for non-object return types.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct action and resource: archetypes, cache, recipes (multiple operations), rendering, server control, and workspace. No two tools overlap significantly in purpose.
All tools follow a consistent verb_noun pattern using lowercase snake_case (e.g., recipe_read, render_run). No deviations or mixed conventions.
12 tools cover the domain comprehensively without unnecessary duplication. The number feels appropriate for a material/workbench server.
Core workflows (read, write, normalize, validate, mutate, render) are present, but there is no explicit delete recipe tool or a way to list all recipes. Minor gaps that agents might work around.
Related MCP Connectors
Generate game-ready 3D models, textures, and audio from natural language, over MCP.
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
Generate 3D models, worlds, PBR materials, and coordinated asset packs from AI agents.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server for procedural material generation and inspection via a deterministic Texture DSL, exposing tools to list, validate, render, and multiscale-inspect materials.-
- AlicenseNot gradedqualityBmaintenanceA local MCP server that lets coding agents turn conversational prompts into deterministic, re-runnable recipes for 3D objects, walkable worlds, and playable games, all stored on your own disk without API keys or cloud rendering. Those recipes can be edited in place and exported to the browser, Godot, Unity, Unreal, Blender, glTF/OpenUSD, or print-ready STL and 3MF at true scale.3Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to procedurally generate, transform, inspect, and export 3D meshes and scenes through MCP tools.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to create, edit, validate, and package pixel-art textures for Minecraft resource packs through deterministic MCP tools.380 npm5MIT

