Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ue-mcp-native-cpp

Skill by db-lyon

ue-mcp-native-cpp guides an AI assistant through writing native C++ UCLASSes in Unreal Engine projects with ue-mcp. It covers class creation, file edits, full builds, Live Coding and module dependencies. It is written for developers who want agents to author Unreal C++.

  • Score 74
  • 520 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ue-mcp-native-cpp

Built from the published package, never by AI.

git clone --depth 1 https://github.com/db-lyon/ue-mcp /tmp/ue-mcp && mkdir -p ~/.claude/skills && cp -r /tmp/ue-mcp/skills/ue-mcp-native-cpp ~/.claude/skills/ue-mcp-native-cpp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ue-mcp-native-cpp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through writing and modifying native C++ UCLASSes in an Unreal Engine project through the ue-mcp project tool. It describes a loop: create a class with create_cpp_class, read the generated files, append declarations and bodies with write_cpp_file, then compile. The project tool wraps GameProjectUtils::AddCodeToProject and ILiveCodingModule so agents can work end to end without Python or the editor UI.

The skill explains when to run a full build instead of Live Coding, such as after adding a new UCLASS, and how to add module dependencies to a Build.cs file with add_module_dependency. It also covers engine source lookup tools and common pitfalls. It is aimed at developers using ue-mcp who want an AI assistant to write native Unreal C++ and test the resulting class in the editor.

Written from the project's SKILL.md and checked against it.

What it can do

  • create_cpp_classWrites a .h and .cpp pair using the same template as File, New C++ Class.
  • write_cpp_fileWrites full file contents to the Source/ tree for .h, .cpp, .inl and .cs files.
  • read_cpp_headerReads a generated header file so the assistant can inspect it before editing.
  • read_cpp_sourceReads a generated source file so the assistant can inspect it before editing.
  • list_project_modulesLists the project's native modules with their name, host type and source path.
  • live_coding_compileHot-patches method bodies in existing UCLASSes without restarting the editor.
  • add_module_dependencyAdds a module to a Build.cs file and avoids duplicates, creating the AddRange block if needed.
  • read_engine_headerParses a header from Engine/Source to show how Unreal implements a feature.
  • find_engine_symbolSearches engine runtime headers for a given symbol.
  • search_engine_cppSearches engine .h, .cpp and .inl files in chosen engine trees for a query.

What you need

  • An Unreal Engine project
  • ue-mcp with the project tool
  • UnrealBuildTool on the host
  • MSVC or Clang on the host

Try asking

  • Create a new native UCLASS called BotSpawner in my Unreal project
  • Add a UPROPERTY and a UFUNCTION to my existing C++ class
  • Add the Engine module dependency to my project's Build.cs file

Good to know

  • Live Coding does not reliably register brand-new UCLASSes, so a full build and editor restart are needed.
  • write_cpp_file only writes inside Source/ and only .h, .cpp, .inl and .cs files.
  • Intermediate/ and Binaries/ are regenerated and should not be edited.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/ue-mcp-native-cpp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md4 KB

Alternatives to ue-mcp-native-cpp

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

ue-mcp-native-cpp: common questions

When should I use a full build instead of Live Coding?

Use a full build with project(action="build") for new UCLASSes. The skill also says UFUNCTION reflection macros and UPROPERTY annotations usually need a full build.

Can the assistant write files anywhere in my project?

No. write_cpp_file refuses writes outside the Source/ tree and rejects extensions other than .h, .cpp, .inl and .cs.

How do I check that Unreal sees my new class?

The skill suggests asset read_properties or reflection reflect_class with the class name. It also suggests blueprint create with a parentClass path to subclass it.

How do I install ue-mcp-native-cpp?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ue-mcp-native-cpp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ue-mcp-native-cpp safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ue-mcp-native-cpp?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

ue-mcp-native-cpp Install

Add to stack

Loading.