SuperAPIAI Directory

illugen-mcp

github.com · AI developer platforms

illugen-mcp is an MCP server for JangaFX IlluGen that lets AI agents such as Claude and Cursor create, edit, validate, and render IlluGen node graphs through natural language. It reads and writes .illugen project files directly and calls the locally authorized IlluGen to perform export rendering; rendering takes place in a hidden private instance and does not interfere with windows the user already has open.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsWindows · Linux

About this tool

illugen-mcp is a community-developed MCP server that connects JangaFX IlluGen's node graph editing and rendering capabilities to AI agents. Users can describe textures, VFX flipbooks, or procedural masks in natural language, and the agent creates .illugen projects, connects nodes, validates, and renders, without manually clicking through the interface.

Purpose and main capabilities

  • Build node graphs from scratch: covers all 157 node types in IlluGen 1.2.1 (Grayscale, Color, UV, Geometry, Islands, Utils, signals, import/export, etc.), including real default values, valid enum values, ranges, units, and descriptions.
  • Safe connections: checks pin types (Grayscale, Color, UV, Normal, Islands, GeometryBuffer, etc.) before writing to the file, and when types do not match, gives an error suggesting conversion nodes.
  • Supports advanced parameters: curves, color gradients, spline/lattice control points, subgraphs with exposed parameters, signal modulation (e.g., Oscillator → Scale), framed groups, and comments.
  • Reuse examples: can copy and modify the 120+ example presets bundled with IlluGen.
  • Real validation: project_validate(engine=true) loads the project in IlluGen, performs a trial export, reports discarded nodes or connections and log errors, and attaches a screenshot of the warning dialog.
  • Render export: project_render performs File › Export for each export node, supporting PNG, JPG, TGA, EXR, HDR, RAW, R16, R8, OBJ, FBX, flipbook sequences, etc., and returns the generated files and inline previews.
  • Does not interfere with existing work: rendering uses a private, invisible IlluGen instance; an already open IlluGen is unaffected, and mouse and keyboard focus are not taken over.

How to use

  1. Environment requirements: Windows, with IlluGen 1.2.x installed and activated (you must provide your own JangaFX license; this project does not include or replace IlluGen); Python 3.10+, with uv recommended.
  2. Connect to an agent: for Claude Desktop, you can download illugen-mcp-<versio from the latest releasen>.mcpb one-click installation (requires uv in PATH; the IlluGen path can be specified in the extension settings); for other MCP clients (Claude Desktop, Cursor, Windsurf, VS Code, Gemini CLI, etc.), add the command in the MCP configuration (such as claude_desktop_config.json, .cursor/mcp.json), or use "command": "illugen-mcp" and set ILLUGEN_EXE to the full path of IlluGen.exe. Restart the agent to use it.
  3. Typical workflow: project_new → node_add … → link_add … → project_validate(engine=true) → project_render.
  4. Updating the node catalog: the built-in node table targets IlluGen 1.2.1; after upgrading IlluGen, the catalog can be rebuilt from the local installation (takes several minutes, with IlluGen running in the background). The new catalog is stored in %LOCALAPPDATA%\illugen-mcp\data and takes precedence over the built-in table.

How it works Edits act directly on files, and .illugen projects can be read and written losslessly (byte-identical when saved without modification), making offline editing fast and safe; node definitions come from a built-in table matching IlluGen 1.2.1. During rendering, the server launches a hidden copy of IlluGen in a separate folder, loads the project, and triggers IlluGen's own export shortcut, tracking progress through logs and closing it when finished. Export failures and load warnings are returned to the agent along with screenshots, so it can fix the node graph itself. Files written by the server include the project and render results at user-specified locations, as well as a temporary directory under %LOCALAPPDATA%\illugen-mcp (can be overridden with ILLUGEN_MCP_HOME).

Use cases Suited for IlluGen users who want to quickly generate textures, VFX flipbooks, and procedural masks in natural language, and want an AI agent to automatically build, validate, and batch-export node graphs.

Limitations

  • Currently Windows only; rendering depends on the Windows version of IlluGen. Offline editing (project_, node_, link_*) is pure Python and could theoretically run on other platforms, but has only been tested on Windows.
  • Requires the user to have their own activated IlluGen license.
  • If IlluGen has not finished starting, launch it manually once first (activate the license, close the welcome screen), check the path with illugen_status, and look at the latest log in %LOCALAPPDATA%\JangaFX\illugen\logs.
  • A render reporting "Nodes failed to export" is usually a node graph issue (pin type mismatch, unconnected input); the error screenshot shows the warning nodes, and describe_node_type can list the expected pin types.
  • Supports reading custom keyboard shortcuts from IlluGen config.ini.
  • This project is an independent community project and is not affiliated with, endorsed by, or supported by JangaFX; IlluGen and JangaFX are trademarks of their respective owners.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools