Bake, light and render, by asking
MCP Pro for Toolbag connects Claude Code, Cursor and other MCP clients to Marmoset Toolbag 5. The AI imports models, builds materials from Substance export folders, lights and frames them, bakes high-to-low maps, renders stills, passes, turnarounds and turntable videos, exports GLB, FBX, USD and Marmoset Viewer files, and looks at the result after each step. 99 tools, no code execution.
Early Access, buy once, updates included. Verified on Toolbag 5.03, Windows 11. Unofficial tool.
One prompt demo
One prompt in Claude Code, and the AI did the rest in Toolbag through MCP Pro for Toolbag: 124 tool calls in about 3.5 minutes. Everything below is its unretouched output.



It also rendered a 360-degree turntable video and exported a Marmoset Viewer file. Honest limits: the wear is subtle (curvature edge-lightening and AO grime layers). There is no chipping, because the tools cannot mask texture layers yet.
How it works
Two parts: a Python MCP server that your AI client starts, and a regular Toolbag Python plugin that runs each command through Toolbag's own Python API (mset).
MCP client --stdio--> toolbag-mcp (Python MCP server)
|
| HTTP JSON on 127.0.0.1:60090, per-session token
v
Toolbag Python plugin "MCP Pro for Toolbag"
-> no bridge threads: every request and mset call is handled
on Toolbag's main thread (one scene change per callback)
-> long work as jobs; command log
The plugin starts a localhost-only HTTP bridge inside Toolbag with a per-session token. The bridge has no threads: Toolbag's own update callbacks poll the socket and run every Toolbag API call on Toolbag's main thread, one scene change per callback, and Toolbag stays interactive (except while it bakes or renders). Toolbag only runs scripts while its window is the active window, so on Windows the MCP server wakes an inactive Toolbag before each call without taking focus (and un-minimizes it if needed): you can keep typing in your AI client. Long work runs as jobs. Every command is written to a command log. There is no arbitrary-code tool.
What the AI can do in Toolbag
Grouped by area. Tool names are the ones your AI client sees.
Sees the result
Fast previews through the active camera in any of 17 render passes (albedo, normals, wireframe, AO, roughness, metalness, object ID ...), material previews on Toolbag's sphere and contact sheets of baked maps come back to the model as images.
render_preview render_material_preview bake_previewScene and objects
New / open / save, import FBX / OBJ / USDC, an object tree with stable #uid ids, find, transforms, pivots, parenting, groups, duplicate, delete (confirm), visibility, selection, mesh settings, primitives.
import_model list_objects find_objects set_transform set_parent set_mesh_settingsMaterials
Every subroutine slot with a live-verified shader catalogue, typed fields, texture maps by kind (incl. ORM packing and DirectX normals) and one call that turns a Painter / Sampler / Designer export folder into materials.
create_material set_material_shader set_material_textures create_material_from_folderLighting
Sky images, procedural sun and sky, colour backgrounds, directional / spot / omni lights aimed at objects, fog, a shadow catcher and studio / three-point / soft / dramatic presets sized to the model.
apply_lighting_preset set_sky load_sky_image add_light set_shadow_catcherCamera
Look-at and aspect-correct orbit framing from any angle, lens (depth of field with focus on an object, flare, distortion), post effects (tone mapping, exposure, bloom, vignette, grain), extra cameras.
frame_camera set_camera set_lens set_post_effect create_cameraRendering
Final stills (raster or ray tracing), pass contact sheets, orbit turnarounds, turntable videos (MP4 / AVI / image sequences, exact 360-degree spin) and renderer settings.
render_image render_passes render_turntable_frames render_video set_render_settingsBaking
Bakers, bake groups with High / Low, cage offsets estimated from the geometry, all of Toolbag's maps with their settings, texture sets, presets, a preview material.
create_baker add_bake_group set_cage set_bake_maps bakeTexture projects
Create a texture project on a material, add fill, procedural and smart layers, per-map values and blend modes, set baked input maps and export the output maps.
create_texture_project add_texture_layer set_texture_layer export_texture_projectExport
GLB, FBX, OBJ, USDC and DAE, Marmoset Viewer (.mview plus an HTML page that embeds it) and scene bundles with all referenced files.
export_scene export_viewer export_scene_bundleRecipes
High-to-low bake, look-dev turntable, portfolio renders, Substance export folder to Toolbag, Viewer export, one call each.
recipe_bake_high_to_low recipe_lookdev_turntable recipe_portfolio_renders recipe_substance_to_toolbag recipe_viewer_exportJobs, connection and safety
Long work runs as jobs (pending + job_id, collected by wait_job). Connection status, command log, Toolbag's log; localhost only, per-session token, no code execution.
toolbag_connect wait_job list_jobs get_audit_log get_toolbag_logOne-call recipes
Common jobs in a single tool call. The pictures are the real output of the live test run on Toolbag 5.03 (Windows 11). The test scenes are deliberately simple primitives with synthetic textures; your own models go through the same calls.

High-to-low bake in one call
Imports both models, creates a baker and a bake group, estimates the cage from the distance between the meshes, enables the maps (default normal, AO, curvature, thickness, material ID), bakes and returns the files and a contact sheet. Shown: a bumpy high-poly sphere baked onto a 16x32 low-poly sphere at 512 px.
recipe_bake_high_to_low(high_path="D:/art/crate_high.fbx",
low_path="D:/art/crate_low.fbx",
size=2048, folder="D:/art/bake")
Look-dev with a turntable
Imports a model, builds its material from a texture folder (BaseColor / Normal / ORM / Roughness / Metallic / AO / Height / Emissive by name), adds studio lighting with a shadow catcher, renders framed stills from several angles plus a contact sheet and, if asked, a 360-degree turntable MP4.
recipe_lookdev_turntable(model_path="D:/art/chair.fbx",
textures_folder="D:/art/chair_tex",
lighting_preset="studio", video=True)

Portfolio renders
Beauty shots of the target from several angles (default front, three-quarter, side, top), each framed to fit, plus a contact sheet. transparent=true writes PNGs with alpha; lighting_preset relights first.
recipe_portfolio_renders(target="helmet",
angles=["front", "three_quarter", "side", "top"],
transparent=True)
Substance export folder to Toolbag
Turns a Substance 3D Painter, Sampler or Designer export folder into Toolbag materials, one per texture set, maps detected by name (OpenGL or DirectX normals), assigns them to objects and returns a preview. Shown: a synthetic Rock_* texture set from the test suite.
recipe_substance_to_toolbag(folder="D:/art/chair_tex",
assign_to=["#12"])
Marmoset Viewer export
Frames the scene (or a target) and exports a Marmoset Viewer .mview plus an HTML page that embeds it, and returns a preview of the framing. The HTML page loads Marmoset's viewer script from the web, so serve it over HTTP.
recipe_viewer_export(path="D:/web/chair.mview",
title="Chair", author="Me")Guides: High-to-low baking in Marmoset Toolbag with AI · Look-dev, portfolio renders and turntables in Toolbag with AI · Substance textures to Toolbag materials, then GLB, FBX, USD and Viewer export
Straight from the tools
Unretouched images from the live test run. Each caption says which tool made it.






Modes and tool caps
Some clients cap or slow down with many tools. Pick a mode when you register the server. No mode has a code-execution tool.
| Mode | Tools | For |
|---|---|---|
minimal | 24 | import, materials from folders, lighting preset, framing, preview, render, bake, export, the main recipes |
lite | 62 | everyday work; small context |
default | 98 | everything except plugin development; fits clients with a ~100-tool cap |
full | 99 | everything, plus reload_bridge |
Details: setup guide, modes.
Supported clients
Any MCP client that can start a local stdio server. Configs for the first three are in the setup guide.
claude mcp add toolbag -- <path>/.venv/Scripts/toolbag-mcp.exe~/.cursor/mcp.json or a project .cursor/mcp.jsonclaude_desktop_config.json--mode lite for a small context.Install outline
About ten minutes. Full instructions ship in the download (INSTALL.md); the setup guide walks through every step.
Install the MCP server (Python 3.10+)
python -m venv .venv
.venv\Scripts\pip install .Install the Toolbag plugin
powershell -ExecutionPolicy Bypass -File scripts\install_plugin.ps1It copies plugin\MCP Pro for Toolbag into %LOCALAPPDATA%\Marmoset Toolbag 5\plugins\. No admin rights needed.
Start Toolbag with the bridge
powershell -ExecutionPolicy Bypass -File scripts\start_toolbag.ps1It starts Toolbag with the plugin and waits until the bridge answers. With Toolbag already open, Edit > Plugins > MCP Pro for Toolbag should start it too (that menu path was not clicked in testing).
Register the server with your AI client
claude mcp add toolbag -- D:/tools/mcp-pro-for-toolbag/.venv/Scripts/toolbag-mcp.exeAsk
Try "Import D:/art/chair.fbx, use the Painter export in D:/art/chair_tex, light it like a studio product shot and render a 3/4 view at 1920x1080."
Requirements: Marmoset Toolbag 5 (verified on 5.03, Windows 11; macOS untested) and Python 3.10 or later for the server. The install and launch scripts are for Windows.
What to expect in 0.1.0 (Early Access)
- Verified live on Toolbag 5.03 (build 5033) on Windows 11: all 99 tools called against a running Toolbag, results checked by content, three full runs in a row without a Toolbag crash. macOS is untested; other Toolbag 5.x builds, NVIDIA GPUs and Toolbag 4 too.
- No undo: Toolbag's Python API has none. Destructive tools need
confirm=true; save your scene before long sessions. - No viewport capture: Toolbag has no viewport screenshot API, so previews are fast renders through the active camera.
- No library tools: the Marmoset Library has no listing API.
- Imports verified for FBX, OBJ and USDC only (ABC / PLY / STL accepted, untested). Toolbag cannot import glTF / GLB; GLB export works. USD export is .usdc only.
- Toolbag is blocked while it bakes or renders. Long tools return a
job_idandwait_jobcollects the result. - The cage estimate is a heuristic: check bakes with
bake_previewand set the cage by hand for difficult meshes. - Final stills were verified with the raster renderer; switching to ray tracing was verified, a ray-traced final render was not.
- The bridge was started from the command line in testing (
start_toolbag.ps1); the Edit > Plugins menu entry was not clicked. - Later updates are included for buyers.
FAQ
What is MCP Pro for Toolbag?
Is it made by Marmoset?
Which Toolbag versions and operating systems are supported?
Which AI clients work?
Can the AI see what it made?
What happens with long bakes and renders?
Can I undo what the AI did?
Does it import glTF?
Is it safe to run?
How much is it, and is there a subscription?
Questions, bug reports, feature requests: MCP Pro Discord.
Guides
Step-by-step articles. All guides
Buy once on itch.io. Every later update is included.
Buy MCP Pro for Toolbag- MCP server with 99 tools in 11 areas
- Four modes: minimal 24, lite 62, default 98, full 99
- Toolbag 5 plugin (localhost bridge, jobs, command log)
- 5 recipes: high-to-low bake, look-dev turntable, portfolio renders, Substance folder to materials, Viewer export
- Install and launch scripts, setup instructions and an example
- Updates included; licence terms are in the download
More MCP Pro tools
Same idea, other apps. Texture in Painter, make materials in Sampler or Designer, present them in Toolbag, ship them to your engine.