Home / Guides / Claude Code with Unreal

How to use Claude Code with Unreal Engine

Short answer: in Unreal Engine 5.8, enable Epic's Unreal MCP and All Toolsets plugins, start the server, and generate a config for Claude Code. Then install Epic's official Claude Code plugin and ask Claude to work in your level. Everything below comes from Epic's docs and Epic's own GitHub repo, checked October 2026.

What actually exists

There are two official pieces, both made by Epic Games:

Epic says it exposes hundreds of tools across 30+ toolsets, including actors, Blueprints, materials, Niagara, Control Rigs, Sequencer, State Trees, widgets, Gameplay Ability System and automation testing. The tools themselves come from the All Toolsets plugin. Without it, the server exposes nothing.

What you need

Unreal Engine

High end 3D engine with Blueprints visual scripting and C++.

Pricing: Free. Beginner rating: 2/5. Amazing visuals, but heavy and complex for a first game.

Free to download. Big and powerful, so expect a learning curve.

Claude

AI assistant that writes game code, explains bugs and builds playable prototypes.

Pricing: Freemium, from $20/mo. Beginner rating: 5/5. Explains code clearly to beginners.

Claude Code is the agent Epic's plugin is built for.

Setup, step by step

  1. Enable the plugins. In Unreal Editor open Edit, then Plugins. Enable Unreal MCP and All Toolsets. Restart the editor when asked.
  2. Start the server. Open the console (backtick key) and type ModelContextProtocol.StartServer. Or turn on Auto Start Server under Edit, Editor Preferences, Model Context Protocol. It listens on http://127.0.0.1:8000/mcp by default.
  3. Generate the Claude Code config. In the console type ModelContextProtocol.GenerateClientConfig ClaudeCode. This writes .mcp.json to your project folder.
  4. Install Epic's Claude Code plugin. In Claude Code run /plugin install unreal-engine-skills-for-claude-code@claude-plugins-official. If the marketplace is missing, first run /plugin marketplace add anthropics/claude-plugins-official.
  5. Start Claude Code from your project folder so it picks up .mcp.json.
  6. Check it. Run /mcp and look for unreal-mcp. Then try Epic's test prompt: List all actors in the current level.

The generated .mcp.json looks like this:

{
  "mcpServers": {
    "unreal-mcp": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

If port 8000 is busy, start the server on another port, like ModelContextProtocol.StartServer 8001, then run the config command again.

Things to try first

Tips that save time

Sources

Related

Comparing engines? Read Best game engines for beginners in 2026. Prefer Godot or Roblox? See Build a Godot game with AI coding agents or How to make a Roblox game with AI.

FAQ

Is this official?

Yes. Unreal MCP is documented by Epic in the Unreal Engine 5.8 docs, and the Unreal Engine Skills for Claude Code plugin is published by Epic Games on GitHub and listed in Anthropic's official Claude Code plugin marketplace (checked October 2026).

Which Unreal Engine version do I need?

Epic documents Unreal MCP in the Unreal Engine 5.8 documentation and marks it Experimental. We did not find an official statement about older versions, so plan on 5.8.

Is it free?

Unreal MCP ships as an engine plugin, and Epic's Claude Code plugin is open source under the MIT license. Claude Code itself needs a Claude account or API access from Anthropic, so check Anthropic's current pricing.

Does it work with Cursor, Codex or Gemini too?

Yes. Unreal MCP is a standard MCP server. Its config command supports ClaudeCode, Cursor, VSCode, Gemini, Codex and All.

Does it work on Windows?

Yes. Epic's Claude Code plugin supports macOS, Linux, and Windows via Git Bash or WSL. Without bash, the MCP tools still work, but a small startup hook that tells Claude it is in an Unreal project will not run.

Get one new free AI game dev tool every week

One short email each week: a free or freemium tool a beginner can use, what it is good for, and where it fits in your game. No spam, unsubscribe any time.