Coating Lab
Integrates with Blender to bake wear masks into a copy of a game gun model and to render look-dev images and a variant sheet for coating variants.
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., "@Coating Labcoat my Model Lab AR-15 in FDE at issued wear and render variants"
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.
An MCP server that gives game gun models real surface finishes, worn where use wears a gun.
A finish library with sources. Anodized aluminium, manganese and zinc phosphate, blued and nitrided steel, ceramic coatings (FDE, OD green, tungsten, graphite, coyote), stainless, polymer, rubber, brass, copper, lead, walnut. Each is a physically based value (linear colour, metallic, roughness) with what shows when it wears through and the sources of its numbers. Values reasoned from descriptions are marked as estimates.
Coating variants. A spec puts a finish on each material slot of a model, in as many variants as you want (an issued rifle, a two-tone FDE build, an abused one), each at a wear level: new, issued, worn or abused.
Wear from evidence, baked once. In Blender, into the model's vertex colours: exposed edges, where the hands work the gun (its grip, the support hand, the controls), where parts slide (a magazine in its well, a stock on its tube), and dirt where the surface is occluded and round the muzzle and the port. Every variant reads the same masks, so a new variant costs nothing.
Checks. Every finish against the rules physically based rendering rests on. Every variant's worn share against its level, and no wear inside corners.
One formula everywhere. The checks, the look-dev renders and an engine's material compute wear the same way (
coat.py), so what passes is what the player sees.

Model Lab (modellab-mcp) builds give their own slots (upper, lower,
barrel and more), marks and parts: spec_for_modellab makes a coating spec from a build in one call.
Install
Python 3.10 or later and Blender 4.2 or later.
pip install coatinglab-mcp{"mcpServers": {"coatinglab": {"command": "coatinglab-mcp"}}}Setting | Meaning |
| The only folder Coating Lab writes to. |
| Blender, when it is not on the PATH or in the usual install folder. |
| A finishes JSON of your own, merged over the built-in library. |
| Process names that hold the machine. A bake waits for none of them to run. |
Related MCP server: EnfusionTexKit
Tools
Tool | What it does |
| The library, and one finish with its notes and sources. |
| The library, or a finish of your own, against the physical rules. |
| The wear levels, and the ready variant sets. |
| A coating spec for a Model Lab build. |
| A spec's problems: a slot without a finish, a finish on the wrong material. |
| Bakes the wear masks into a copy of the model. |
| Each variant's wear against its level, and wear kept out of corners. |
| Look-dev renders and a sheet. |
| A variant's values by slot for an engine material. |
The masks and the formula
The bake writes the vertex colour Col:
Channel | Meaning |
R | Edge: 1 on flat ground, 0 on a sharp exposed edge |
G | Handling: 1 where the hands work the gun |
B | Rub: 1 along the lines parts slide on |
A | Dirt: 1 where the surface is occluded, and round the muzzle and the port |
An engine's material follows the formula in src/coatinglab/coat.py. A wear level is a threshold: the higher the
level, the weaker the mask that already wears through. A grunge texture breaks wear up but never makes wear.
What is estimated
Every roughness value. No source maps a finish's surface to a rendering roughness.
The colours of the anodized, phosphate, blued, nitrided and most ceramic finishes. The standards set processes, not colours. OD green and coyote come from FED-STD-595 colour numbers.
The wear amounts. Sources say where guns wear, not how fast. Each level is set so Model Lab's M4A1 lands in the middle of its band.
A hand's zone is a sphere: on a round handguard the support hand's wear reaches its top as well as its underside.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Build 3D scenes, place cameras and render shots. Previs, storyboards, set design, product and CAD.
3D avatar/asset foundry: text/image -> rigged, validated, engine-ready GLB via x402.
Search/download 7,000+ PBR materials, HDRIs, decals, 3D assets; generate PBR materials and HDRIs.
Inspect, validate and safely edit 3D product configurators: options, pricing, materials and rules.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables conversational control of Adobe Substance 3D Painter for look-dev iteration, including baking, smart materials, and generator parameter tuning.MIT
- AlicenseAqualityBmaintenanceenables creation of Enfusion/Arma Reforger PBR materials — generates maps, packs Enfusion channels (BCR/NMO), writes .emat files, and stages them atomatically into addons via MCP or CLI.6GPL 3.0
- AlicenseCqualityBmaintenanceEnables AI agents to build game assets in Blender by modeling, lighting, rendering previews to inspect and correct, validating against engine budgets, and exporting to GLB/FBX.126MIT
- AlicenseBqualityCmaintenanceEnables 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.35MIT