---
title: "Unreal Engine MCP for explosion and smoke effects"
description: "Your agent calls Spatial Compiler's hosted MCP server for fire, smoke and explosion sprite sheets, then you play them in Niagara by hand."
canonical: https://appliedmanifold.com/mcp/unreal/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [Engine MCP](https://appliedmanifold.com/mcp/)
3.  Unreal Engine MCP

MCP // UNREAL ENGINE

# Unreal Engine MCP for fire, smoke and explosions

An MCP server lets your agent call tools while it works on your Unreal Engine project. Spatial Compiler's hosted server gives it fire, smoke, explosion and dust effects as PNG sprite sheets, which you play through a Niagara Sprite Renderer set to an 8 x 8 grid.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [See the examples →](https://appliedmanifold.com/docs/pyrofx/examples/)

-   Godot 4 Available
-   Unity Manual setup
-   **Unreal Engine** Manual setup
-   Roblox Studio Manual setup
-   three.js Available

A draft compile is from $0.05, and new accounts start with $5 of usage.

**FIREBALLFINAL**

![First frame of the fireball bake](/bakes/fireball/poster.webp)

Fireball, 9.4 x 13.4 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-fireball)

01 // ALONGSIDE

## Where Spatial Compiler fits next to editor tools

MCP is the protocol your agent uses to call tools. Servers that plug into the Unreal Editor let an agent work on actors, Blueprints and levels. Spatial Compiler's server is hosted and works from any MCP client, so your agent can call it for effects next to the other tools you connected.

Compiles are measured in meters and Unreal measures in centimeters, so the 13.4 m fireball is 1,340 units tall in your level. Every tile is square, and `layout.json` records meters per tile, which gives your agent the square sprite size to set (times 100).

02 // HOW TO

## Play a precomputed explosion through Niagara today

1.  Add the hosted server, `https://spatialcompiler.dev/mcp`, to your MCP client and sign in in your browser.
2.  Ask your agent to compile the `fireball` example at final quality into a folder outside `Content`, packed into one RGBA sheet with `export.pack`.
3.  Drag the PNG into the Content Browser to import it, then set its Texture Group to Effects.
4.  Make a material with Blend Mode Translucent and the Unlit shading model, sample the sheet through the Particle SubUV node, and plug its color into Emissive Color and its alpha into Opacity.
5.  In a Niagara emitter, set the Sprite Renderer's Sub UV > Sub Image Size to 8 x 8 and turn on Sub UV Blending Enabled.
6.  Set the particle Lifetime to 4 s in Initialize Particle, the time the fireball's 64 frames span, and add the Sub UV Animation module in Linear mode so they play once. The frames are packed tighter at the start, so check the timing against `layout.json`.

mcp.json · hosted server

```json
{
  "mcpServers": {
    "spatial-compiler": {
      "type": "http",
      "url": "https://spatialcompiler.dev/mcp"
    }
  }
}
```

03 // REAL OUTPUT

## Two one-shots to start from

The fireball rolls up 13.4 m over 3.7 s. The impact throws earth across 3.5 m in 2.0 s.

**IMPACTFINAL**

![First frame of the impact bake](/bakes/impact/poster.webp)

Impact, 3.5 x 2.8 m, compiled with Spatial Compiler. [Spec →](https://appliedmanifold.com/docs/pyrofx/examples/#ex-impact)

04 // RELATED

## Related pages

-   [Unity MCP UnityUse Spatial Compiler's hosted MCP server from a Unity project. Your agent compiles effect sprite sheets that you set up in a Particle System.](https://appliedmanifold.com/mcp/unity/)
-   [Roblox Studio MCP Roblox StudioUse Spatial Compiler's hosted MCP server while you build in Roblox Studio: 1024 px flipbooks you set on a ParticleEmitter by hand.](https://appliedmanifold.com/mcp/roblox-studio/)
-   [Unreal Engine VFX Unreal EngineFire, smoke, explosion and dust effects in Unreal Engine: sprite sheets you set up by hand.](https://appliedmanifold.com/effects/unreal-vfx/)
-   [Niagara Sub UV setup Unreal EngineSet Sub Image Size, a Particle SubUV material and the Sub UV Animation module so a Niagara sprite plays an 8 x 8 flipbook.](https://appliedmanifold.com/guides/unreal-niagara-subuv/)
-   [Godot MCP Godot 4Connect your agent to Spatial Compiler's hosted MCP server to compile fire, smoke, explosion and dust effects into Godot 4 scenes.](https://appliedmanifold.com/mcp/godot/)
-   [Engine MCP serversAn engine MCP server is an editor plugin that lets your agent read and change your project through tools.](https://appliedmanifold.com/learn/engine-mcp/)
-   [Install via MCPPoint your MCP client at the hosted server, `https://spatialcompiler.dev/mcp`, which signs you in with an OAuth 2.1 browser login, or run the local server with `npx -y @applied-manifold/spatial-compiler` and your API key in `SPATIAL_API_KEY`.](https://appliedmanifold.com/docs/mcp/)

[All pages in Engine MCP →](https://appliedmanifold.com/mcp/)

[← Unity MCP](https://appliedmanifold.com/mcp/unity/)[Blender MCP →](https://appliedmanifold.com/mcp/blender/)

05 // FAQ

## Unreal Engine MCP questions

[All questions →](https://appliedmanifold.com/faq/)

**README.UNREAL**

### How do I set up Unreal Engine MCP for effects?

Add the hosted Spatial Compiler MCP URL to your MCP client and sign in through your browser. No Unreal Engine plugin is required.

### Do I need to install a plugin in Unreal Engine for effects?

No. The hosted server talks to your MCP client and outputs PNG sprite sheets that you import into the Content Browser.

### Does Spatial Compiler work with Unreal Engine?

Yes. You import the compiled PNG sheets and play them through a Niagara Sprite Renderer by hand.

### What tools does the Unreal effects MCP give my agent?

Your agent can validate specs with check, estimate prices at $0, compile sprite sheets and run sweep for up to 16 draft variants.

### How do I set the SubUV grid for a compiled Unreal sheet?

Set Sub Image Size to 8 by 8 in the Niagara Sprite Renderer to match the 64 frames of a default compile.

## Compile your first effect

You pay per compile and see the price before it runs. New accounts start with $5 of usage.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [Install via MCP →](https://appliedmanifold.com/docs/mcp/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
