Skip to content
Loom0.1.0
Source

Reference

Coding agents

An agent writes Loom well when it can check its own work. The plugin comes with Loom’s MCP server, which gives your agent the Loom reference for the version you have installed, your project’s types, and a check that compiles your sources without Unreal.

Server
loom-mcp
Tested with
Claude Code
  1. With the plugin installed, choose Tools › Connect an Agent… in the editor. The window shows the exact command and config for this project, with a button to copy the Claude Code command.

    The paths are absolute and the plugin lives in each project, so an entry belongs to one project. Add it again for another project.

Tool Does Needs a build
docs Shows a page of the Loom reference for the installed version, or lists the pages No
docs_search Finds the reference sections that mention some words No
types Looks up a class, struct, enum or function in your project’s types, such as Actor.K2_DestroyActor Yes
check Compiles every source without Unreal and lists what’s wrong and where Yes

A check with a mistake in it answers like this:

Content/Broken/BP_Broken.lm:6:21: no variable Nope
1 error

The server only reads. It writes no files and starts no builds: your agent edits sources with its own tools, and the editor builds them.

With the editor open, every save starts a build. check answers in seconds without Unreal, so your agent can fix mistakes while the build runs.

    1. 1Write and saveA .lm under Content, with the agent's own file tools
    2. 2CheckThe check tool. Seconds, no Unreal
    3. 3Unreal buildsStarted by the save. Needs the editor open, or LoomBuild
    4. 4Read the reportIntermediate/Loom/report.json, rewritten by each build

↺ Errors from the check or the report: fix, save, and go round again

A clean check doesn’t guarantee the build. Unreal can still refuse a Blueprint, and those errors are only in the report. To test a Blueprint’s functions, your agent can run LoomTest without the editor.

  • The server can’t build, run tests or read the report. Builds come from saving in the editor, or from the LoomBuild commandlet.
  • Nothing signals that a build has finished, except report.json being rewritten.
  • types knows types as of the last build, and leaves out the Blueprints your Loom sources make.
  • Every save with the editor open starts a build, including half-finished work.
Message Means
<dir> is not in an Unreal project: no folder up from it has a .uproject The --project path in the agent’s config isn’t inside a project. Copy the config again from Connect an Agent.
no types yet: the Loom plugin saves them to <project>/Intermediate/Loom/types.json when it builds, and this project hasn't built. … No build has run yet. Choose Tools › Rebuild All Blueprints.
the project's types have nothing named <name>; names that hold it: … No type has that exact name. The message lists close matches.