Mods are a feature of the full game, not the demo. They open when the full game launches, and details may change before then.

Make mods with AI

Connect the AI coding tools you already use (Claude Code, Codex, Cursor and others) to the mod editor, so the AI can help change your mod, check it, look at previews, and press Test itself.

The mod editor can connect to the AI tools you already use. Once connected, the AI can read your mod, make changes for you, run the same check the game uses, look at previews of items and creatures, press Test this one, and tell you what happened. You just say what you want in plain words. You do not need to learn the format.

What it is#

Any tool that supports MCP (a standard that lets AI use outside tools) can connect. That includes Claude Code, Codex and Cursor, and other MCP-capable tools. Once connected, the AI can:

  • Read your mod, see which items, creatures, recipes and dialogues it has, and change them for you.
  • Run the game's check after a change, to see if anything is wrong. The result matches the check at the bottom of the editor.
  • Look up the original game's items, creatures, buffs and more, to use as a reference or a starting point.
  • Get previews of items, creatures and buildings, so it knows what they look like.
  • Press Test by itself, and get back the game's script log and a screenshot of the game.

What the AI cannot do: publish a mod, change anything on the Workshop, touch files outside your mod folders, or make the game run arbitrary code.

Works without connecting#

Every new mod folder includes AGENTS.md, CLAUDE.md, and a format file for each table (in the schemas folder). These files tell the AI how mods are written. So even without connecting, if you open the mod folder in Cursor, Codex or Claude Code, the AI already understands the format.

When the AI edits files in your outside tool, the mod editor updates to match. If you also changed the same file in the editor, the editor warns you.

For mods you made before this feature, open the mod, then in the Connect AI panel press Prepare this mod (under "Make this mod readable for AI") to add these files.

Connecting, step by step#

  1. 1
    Open the mod editor

    In Steam, press Play and choose Mod Editor. Or, on the title screen, open Workshop, go to Make Mods, and open the mod you want to change.

  2. 2
    Press Connect AI

    Find this button at the top of the editor to open the Connect AI panel.

  3. 3
    Turn on Allow AI connections

    You turn this main switch on yourself the first time. After that the game remembers it.

  4. 4
    Press the button for your tool

    Press the Claude Code, Codex or Cursor button to write its connection settings. Choose This mod only (written into the mod folder) or All mods (written into that tool's own user settings; for Claude Code the panel gives you one command to paste and run).

  5. 5
    Open the mod folder in that tool

    In Claude Code, Codex or Cursor, open this mod's folder.

  6. 6
    Allow the connection the first time

    When the AI connects for the first time, the editor shows a prompt asking whether to allow that tool. Press Allow. You will not be asked again.

Things you can say#

You can copy these as they are, or change them to what you want:

  • "Make a frost sword that glows, with a little more attack than the iron sword, then test it and show me."
  • "Make a creature that spits poison clouds, with half the health of the slime, then check it for mistakes."
  • "Make a healing dish using ingredients my mod already has, then show me the preview."
  • "Check whether my mod has any problems, and fix them if it does."

Safety#

  • The AI can only touch your mod folders. It cannot publish, and it cannot change anything on the Workshop.
  • If the AI broke something, press Ctrl+Z in the editor to step back one change at a time. To roll back everything the AI did, use Undo AI changes in the Connect AI panel.
  • When you download someone else's mod, its AGENTS.md and CLAUDE.md are replaced with the game's standard versions, so the author's own instructions are not handed to your AI. Text inside a mod (names, lines of dialogue, descriptions) is treated as data, never as instructions to the AI.
  • Your AI tool still asks before it runs commands or changes files. Keep those confirmations on, and do not choose "allow everything" for the mod folder.

If it does not connect#

  • Make sure the game or the mod editor is open and Allow AI connections is on. When the game is closed, the AI receives a message asking you to open the mod editor first.
  • Reconnect in your AI tool. In Claude Code, type /mcp in the chat, find the Fangjie mod server, and choose to reconnect.
  • If you pressed Deny when the connection first asked, it will stay blocked. Open the Connect AI panel, allow that tool, then reconnect.

Next#