Skip to main content
Glama

IlluGen MCP

Let your AI agent build, edit and render JangaFX IlluGen node graphs.

Describe a texture, a VFX flipbook or a procedural mask in plain words: your agent creates the .illugen project, wires the nodes, checks it and renders it with your own IlluGen. No clicks, no window.

MIT license Python 3.10+ MCP Windows CI

Quick start · What it can do · Tools · How it works · FAQ

Real tool calls and timings, real IlluGen renders. Reproduce them with examples/demo_scenes.py.


Quick start

1. Requirements

  • Windows with IlluGen 1.2.x installed and activated (a valid JangaFX license: this project does not include or replace IlluGen).

  • Python 3.10+. uv is recommended (no manual install needed).

2. Add it to your agent

Claude Desktop: one click

Download illugen-mcp-<version>.mcpb from the latest release and open it (or drag it into Claude Desktop › Settings › Extensions). Needs uv on your PATH. If IlluGen is installed elsewhere, set its path in the extension settings.

Claude Code

claude mcp add illugen -s user -- uvx --from git+https://github.com/dokaNc/illugen-mcp illugen-mcp

Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI… (any MCP client): add this to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json, …):

{
  "mcpServers": {
    "illugen": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/dokaNc/illugen-mcp", "illugen-mcp"]
    }
  }
}
pip install git+https://github.com/dokaNc/illugen-mcp
claude mcp add illugen -s user -- illugen-mcp

or "command": "illugen-mcp" in the JSON configuration.

Set ILLUGEN_EXE to the full path of IlluGen.exe:

claude mcp add illugen -s user -e ILLUGEN_EXE="D:\Apps\IlluGen\IlluGen.exe" -- uvx --from git+https://github.com/dokaNc/illugen-mcp illugen-mcp
"env": { "ILLUGEN_EXE": "D:\\Apps\\IlluGen\\IlluGen.exe" }

3. Ask

Restart your agent, then try:

Check that IlluGen is reachable with illugen_status, then build me a tileable stone mask
and render it to C:\Users\me\Desktop\stone.

Related MCP server: graphite-editor-mcp

What it can do

  • Build graphs from scratch: all 157 node types of IlluGen 1.2.1 (Grayscale, Color, UV, Geometry, Islands, Utils, signals, import/export…), with their real defaults, every legal enum value, ranges, units and descriptions.

  • Wire them safely: pin types (Grayscale, Color, UV, Normal, Islands, GeometryBuffer…) are checked before IlluGen sees the file, and the error suggests a converter node when types don't match.

  • Go beyond plain parameters: curves, color gradients, spline / lattice control points, subgraphs with exposed parameters, signal modulation (Oscillator → Scale…), framed groups and notes.

  • Start from the shipped examples: copy any of IlluGen's 120+ example presets and modify it.

  • Validate for real: project_validate(engine=true) loads the project in IlluGen, runs a trial export and reports dropped nodes or links, log errors and a screenshot of any warning dialog.

  • Render: project_render runs File › Export on every export node (PNG, JPG, TGA, EXR, HDR, RAW, R16, R8, OBJ, FBX, flipbook sequences…), returns the produced files and an inline preview.

  • Stay out of your way: rendering uses a private, invisible IlluGen instance. An IlluGen you have open keeps running untouched, and nothing steals your mouse or keyboard focus.

Tools

Tool

What it does

Starts IlluGen?

illugen_status

Installation, running instances, catalog version

no

list_node_types, describe_node_type

Browse node types; parameters, defaults, enums, typed pins, curves

no

list_presets

IlluGen's shipped example projects

no

project_new

Empty project, or an editable copy of a preset

no

project_summary, node_get

Read the graph (nodes, links, settings, curves, gradients…)

no

node_add, node_set, node_remove

Edit nodes (values validated against IlluGen's definitions)

no

link_add, link_remove

Connections, parameter pins, optional inputs, modulation ranges

no

curve_set, gradient_set, spline_set

Curves, gradients, control points

no

subgraph_expose_param

Expose an inner parameter on a subgraph node

no

annotation_add, annotation_remove

Framed groups and notes

no

project_set_settings

FPS, loop region, default texture size

no

node_set_data

Raw access to any other node field

no

project_thumbnail

Thumbnail embedded in the file

no

project_validate

Offline checks; with engine=true, a real load + trial export

with engine=true (~5 s)

project_render

Export everything, optionally to output_dir; files + preview

yes (~7 s)

project_screenshot

Screenshot of the project open in IlluGen (viewport + graph)

yes

project_normalize

Load + save in IlluGen (fills defaults, refreshes the thumbnail), keeps a .bak

yes

Typical flow: project_new → node_add … → link_add … → project_validate(engine=true) → project_render.

Showcase

Lava (Voronoi noise → levels → color ramp → glow), caustics (polygon fractal → caustics → ramp) and an energy web (Voronoi edges → ramp → glow): 4 to 5 nodes each, built and rendered by the agent in about 15 seconds. The exact graphs are in examples/demo_scenes.py.

Example prompts

Open the "brick_wall" preset, make it 2048x2048, make the bricks darker and render it.
Create a 64-frame looping smoke flipbook (8x8 atlas), export as TGA to D:\fx\smoke.
Build a subgraph "edge wear" (noise + levels + blur) with its seed exposed, use it twice with
different seeds and blend the results.
Explain what every node in C:\projects\lava.illugen does and suggest how to make it less noisy.

How it works

  • Editing happens directly on the file. .illugen projects are read and written losslessly (a file saved without changes is byte-identical), so offline edits are instant and safe. Node definitions come from bundled tables matching IlluGen 1.2.1.

  • Rendering uses IlluGen itself. The server starts a private copy of IlluGen in its own folder, hidden from the screen and the taskbar, loads the project and triggers IlluGen's own export shortcut. It follows progress through IlluGen's log and closes it when done. Your settings and open IlluGen windows are not touched.

  • Errors come back to the agent. Failed exports and loading warnings are detected and returned with a screenshot, so the agent can fix the graph by itself.

Files written by the server: projects and renders where you ask, plus a scratch folder in %LOCALAPPDATA%\illugen-mcp (override with ILLUGEN_MCP_HOME).

Updating IlluGen

The bundled node tables target IlluGen 1.2.1. After an IlluGen update, rebuild the catalog from your installation (takes a few minutes, IlluGen runs invisibly):

uvx --from git+https://github.com/dokaNc/illugen-mcp python -m illugen_mcp.build_catalog

The new catalog is stored in %LOCALAPPDATA%\illugen-mcp\data and takes precedence over the bundled one.

FAQ

Does it work on macOS or Linux? Not yet: rendering drives the Windows build of IlluGen. Offline editing (project_*, node_*, link_*) is pure Python and should work elsewhere, but only Windows is tested.

Will it mess with the IlluGen I have open? No. Each render runs in its own private instance with its own configuration and recovery file.

IlluGen did not finish starting Start IlluGen once by hand (activate the license, close the welcome screen), check the path with illugen_status, and look at the latest log in %LOCALAPPDATA%\JangaFX\illugen\logs. If it persists, open an issue with that log.

A render says "Nodes failed to export". Usually a graph problem (pin type mismatch, disconnected input). The screenshot returned with the error shows the node in warning; describe_node_type lists the expected pin types.

I changed IlluGen's keyboard shortcuts. Supported: the server reads them from IlluGen's config.ini.

Development

git clone https://github.com/dokaNc/illugen-mcp
cd illugen-mcp
pip install -e ".[dev]"
pytest                      # tests needing IlluGen are skipped automatically if it isn't installed
ruff check .

Contributions are welcome: see CONTRIBUTING.md.

Disclaimer

IlluGen MCP is an independent community project. It is not affiliated with, endorsed by or supported by JangaFX. IlluGen and JangaFX are trademarks of their respective owner. You need your own licensed copy of IlluGen; this project neither includes nor modifies it.

License

MIT

Available Tools

25 tools
annotation_addAdd annotationA

Adds a comment to the node graph: a framed group around nodes, or a free text note.

Annotations only document the graph; they do not change the rendered result. Writes the project file in place.
Returns {"group": index} or {"note": index}, the index to pass to annotation_remove.

Inputs: kind (required), path (required), text (required), size, +4 more.

annotation_removeRemove annotationA
Destructive

Deletes one group or note annotation from the node graph.

The indexes of later annotations of the same kind shift down by one: re-read project_summary before removing
another. Fails if the index does not exist. Writes the project file in place.
Returns {"ok": true}.

Inputs: kind (required), path (required), index (required), graph.

curve_setSet curveA
DestructiveIdempotent

Replaces all the keys of a node's curve (remap curves, custom oscillator waveforms...).

The previous keys are discarded. Writes the project file in place.
Returns: curve (name written) and keys (number of keys).

Inputs: path (required), curve (required), points (required), node_id (required), +2 more.

describe_node_typeDescribe node typeA
Read-onlyIdempotent

Describes one node type: its parameters, curves and typed input/output pins.

Call it before node_add or node_set to get valid parameter names, value kinds, defaults, enum values and UI
ranges, and before link_add to get pin names and the data kind each pin carries. Offline and read-only.
Pin kinds: Grayscale, Color, UV, Normal, Islands, GeometryBuffer...; 'Inherit' takes the kind of whatever is
connected; 'Signal' is a modulator (Oscillator, Cycle, Constant...).
Returns: type, category, params {name: {kind, default, values for enums, min/max, label, modulatable}},
curves, pins {inputs, outputs, optional_inputs} and parameter_pins {pin name: parameter it drives when a
Signal is linked to it, e.g. 'Scale', 'Seed'}. An unknown type fails with close-match suggestions.

Inputs: node_type (required).

gradient_setSet gradientA
DestructiveIdempotent

Replaces a node's color gradient (Color Ramp, Color Interpolate, Geometry Combine Color...).

The previous stops are discarded. Fails if the node has no gradient. Writes the project file in place.
Returns: stops (number written) and color_space.

Inputs: path (required), stops (required), node_id (required), graph, +2 more.

illugen_statusIlluGen statusA
Read-onlyIdempotent

Reports whether IlluGen is installed and which node catalog this server uses.

Call it first when an engine tool (project_render, project_validate with engine=true, project_screenshot,
project_normalize) fails, or to find the folder of the shipped presets. Takes no arguments, does not start
IlluGen and changes nothing.
Returns: exe (path used, set with the ILLUGEN_EXE variable), installed (bool), running_instances (IlluGen
processes currently open, GUI ones included), catalog_illugen_version and node_types (IlluGen version and
node count of the bundled catalog), presets_dir.

Inputs: no named parameters.

list_node_typesList node typesA
Read-onlyIdempotent

Lists the IlluGen node types this server can create, grouped by category.

Use it to find a type name for node_add, then describe_node_type for that type's parameters and pins.
Offline (IlluGen not needed) and read-only.
Returns {category: [type names]}, e.g. {"Grayscale": ["Node_Grayscale_Noise", ...]}; an empty object means
nothing matched the filters.

Inputs: search, category.

list_presetsList presetsA
Read-onlyIdempotent

Lists the example projects shipped with IlluGen, usable as starting points.

Pass a returned name to project_new(from_preset=...) to get an editable copy; the presets themselves are
never modified. Read-only; reads the presets folder of the installed IlluGen.
Returns [{name, path}], sorted by name. The list is empty when nothing matches or when IlluGen is not found
(check illugen_status).

Inputs: search. Returns: result

node_addAdd nodeA

Adds a node to the graph with IlluGen's default values, optionally setting some parameters.

Writes the project file in place. Parameter values are checked: an unknown name or invalid enum value fails
with suggestions and nothing is saved; a value outside the UI range is kept and reported in warnings.
Connect the new node with link_add afterwards.
Returns: id (string id of the new node), type, and warnings if any.

Inputs: path (required), node_type (required), graph, label, +2 more.

node_getGet nodeA
Read-onlyIdempotent

Returns every detail of one node: parameter values, curves, gradients, spline points, pins and links.

Use it before node_set, curve_set, gradient_set, spline_set or node_set_data to see current values and exact
names; use project_summary for the whole graph. Offline and read-only.
Returns: id, type, label, pos, disabled, params {name: value} ('<driven by link>' when a Signal drives it),
curves {name: [[position, value], ...]}, gradients, spline_points, subgraph pins for subgraphs,
parameter_pins, outgoing and incoming links, known_inputs and known_outputs.

Inputs: path (required), node_id (required), graph.

node_removeRemove nodeA
Destructive

Deletes a node from the graph, with its outgoing links and every link from other nodes into it.

Writes the project file in place and cannot be undone: copy the file first if you may need the node back.
To bypass a node without losing it, use node_set(disabled=true) instead.
Returns: removed_links, the number of links from other nodes that pointed to the deleted node.

Inputs: path (required), node_id (required), graph.

node_setSet nodeA
Idempotent

Changes an existing node's parameter values, label, position or disabled flag.

Only what you pass changes. Writes the project file in place; values are checked like in node_add. For
curves, gradients and spline points use curve_set, gradient_set and spline_set.
Returns: changed {name: new value} and warnings (value outside the UI range, or parameter currently driven
by a link, in which case the value only applies once unlinked).

Inputs: path (required), node_id (required), graph, label, +3 more.

node_set_dataSet raw node dataA
DestructiveIdempotent

Low-level escape hatch: overwrites one raw field of a node's internal data block.

Use it only for fields that node_set, curve_set, gradient_set and spline_set do not cover. The value is
written without type checking, so run project_validate(engine=true) afterwards. Writes the project file in
place.
Returns {"ok": true}.

Inputs: key (required), path (required), value (required), node_id (required), +1 more.

project_newNew projectA

Creates a new .illugen project file, blank or copied from a preset or another project.

Start every new graph here, then add nodes with node_add. Writes only the file at `path`; the copied preset
or project is left untouched, and a copied preset is made editable.
Returns the new file's path plus its summary (same shape as project_summary).

Inputs: path (required), overwrite, from_preset.

project_normalizeNormalize projectA
Idempotent

Loads the project in a private, invisible IlluGen and saves it back in place, the way IlluGen writes it.

Fills in every default value, applies IlluGen's own fixes and refreshes the embedded thumbnail. Use it before
sharing a project built with this server, or to update a project made with an older IlluGen. Overwrites the
project file; a copy of the original is kept as <name>.illugen.bak (replacing any previous one). Needs IlluGen
installed.
Returns: path, backup (path of the .bak copy), log_issues from IlluGen and node_count.

Inputs: path (required).

project_renderRender projectA
Idempotent

Renders the project with the real IlluGen: runs the export of every enabled Node_Export_* node.

IlluGen runs as a private, invisible instance (an IlluGen open on screen is not affected). The project file
itself is not modified; image files are written to output_dir or to the export nodes' folders, overwriting
files with the same names. Needs IlluGen installed and at least one enabled export node. Run project_validate
first when the graph is new.
Returns: a result {ok, items_written, seconds, files (written paths), exports (settings of each export node),
log_issues} followed by a preview image. On failure: {ok: false, error, log_issues, hint} plus screenshots of
IlluGen's error dialogs.

Inputs: path (required), preview, timeout_s, output_dir.

project_screenshotScreenshot projectA
Read-onlyIdempotent

Opens the project in a private, invisible IlluGen and returns a screenshot of its window.

Shows the viewport and the node graph with each node's live preview: use it to check visually what a graph
does, or to see why a render fails. Use project_render to produce the actual image files. Works on a temporary
copy, so the project file is not modified. Needs IlluGen installed; takes a few seconds.
Returns {path} and a PNG image.

Inputs: path (required), width, height.

project_set_settingsProject settingsA
Idempotent

Changes project-wide settings: frame rate, animation loop region and default texture size.

Only the values you pass change; omitted ones are kept. Applies to the whole project (top-level graph and
subgraphs). Writes the project file in place. The resolution of an individual export is set on its export
node with node_set.
Returns the resulting settings, same shape as project_summary.settings.

Inputs: path (required), loop_region, frames_per_second, default_texture_width, +1 more.

project_summaryProject summaryA
Read-onlyIdempotent

Gives an overview of a project: its nodes, links, export settings, annotations and main settings.

Use it to get node ids before node_get, node_set or link_add, and to check the graph after edits; use
node_get for every value of a single node. Offline and read-only.
Returns: path, graph (scope shown), app_version, settings (frames_per_second, loop_region, default texture
size...), annotations {groups, notes} in index order, node_count and nodes [{id, type, label, pos, links
going out of the node, export settings for Node_Export_* nodes, subgraph_nodes for subgraphs}].

Inputs: path (required), graph.

project_thumbnailProject thumbnailA
Read-onlyIdempotent

Returns the preview image IlluGen embedded in the project file at its last save.

Instant and offline (IlluGen not needed), but it can be outdated or missing for a project edited only through
this server: project_normalize refreshes it, project_screenshot and project_render show the current state.
Read-only.
Returns a JPEG image, or {thumbnail: null, hint} when the file has none.

Inputs: path (required).

project_validateValidate projectA
Read-onlyIdempotent

Checks a project for problems before rendering it.

Offline checks: unknown node types, unknown parameters, dangling links, missing export node. `legacy_params`
(informational) lists parameters of older project versions, such as the shipped presets, that IlluGen renames
or ignores on load. With engine=true, it also loads and re-saves a temporary copy in an invisible IlluGen,
runs a trial export, and reports what the real loader dropped (nodes, links), serialization errors from its log
and a screenshot of any load-issue dialog. The project file is never modified.
Returns: a report {ok, offline_issues, legacy_params, and with engine: dropped_nodes, dropped_links,
trial_export, engine_log_issues, load_dialog} followed by any screenshots.

Inputs: path (required), engine.

spline_setSet spline pointsA
DestructiveIdempotent

Replaces the control points of a spline, sweep, point-shape or lattice node.

Points are chained in order unless `edges` is given. The previous points are discarded. Fails if the node has
no spline or lattice points. Writes the project file in place.
Returns: points (number written) and edges (number of segments, when applicable).

Inputs: path (required), points (required), node_id (required), edges, +2 more.

subgraph_expose_paramExpose subgraph parameterA
Idempotent

Shows a parameter of a node inside a subgraph on the subgraph node itself, so it can be tweaked from outside.

To build a subgraph: node_add('Subgraph'), then node_add and link_add with graph=<subgraph id> to add a
Node_Input (its label becomes an input pin name), the inner nodes and a Node_Output (its label becomes an
output pin name). Writes the project file in place.
Returns: id of the exposed parameter, node_id, param_name and label.

Inputs: path (required), param (required), subgraph (required), inner_node (required), +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 25 tools

    Disambiguation5/5

    Each tool targets a clearly distinct resource or lifecycle stage (status, catalog lookup, preset listing, project create/read/update/render/validate, node CRUD, link CRUD, curve/gradient/spline setters, annotations, subgraphs). Overlaps are explicitly managed: node_set vs curve_set/gradient_set/spline_set vs node_set_data are delineated in descriptions, and project_render/screenshot/thumbnail/normalize/validate all serve different purposes despite sharing the engine context.

    Naming Consistency5/5

    Tool names are consistently snake_case and follow a predictable resource_action or verb_noun pattern (e.g., node_add, project_render, list_node_types, curve_set, link_remove). Prefixes group related tools logically, and nothing mixes camelCase or wildly different verb styles.

    Tool Count4/5

    At 25 tools the set is on the heavy side of typical MCP servers, but the domain is a full node-graph authoring environment with many distinct data types and lifecycle operations. Each tool appears to earn its place, and no obvious redundant or trivial tool inflates the count.

    Completeness4/5

    Coverage is strong: nodes have create/read/update/delete, links have add/remove, projects have create/read/settings/render/validate/screenshot/normalize/thumbnail, and curves/gradients/splines/annotations/subgraphs are handled. Minor gaps exist (e.g., no update for existing annotations, no direct way to unexpose a subgraph parameter), but agents can work around them.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to create Material Maker node graphs from natural language, validate them against the node catalog, and render them headlessly to PBR texture maps and editable .ptex files.
      13
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to author node-graph-based procedural graphics as data and render them deterministically via a pinned headless engine, returning validated, hashed image artifacts with full provenance.
      4
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      35
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables agents and Blender users to generate game-ready art through a set of Blender tools covering concept image generation, image-to-3D mesh creation, mesh cleanup, PBR material assignment, greybox level layout, camera pathing and still or sequence rendering. Every action runs headless Blender, returns machine-readable JSON with pass/fail self-checks such as triangle budget, scale, pivot and clearance, so agents can verify and fix each step unattended.
      MIT