できること
UE4.25 MCP server for Unreal Editor via Python Remote Execution (OHD mod-kit retarget).
作者による原文
- 接続方法 パソコンで動く
- アカウントまたはキー キー不要
- カテゴリ 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 4/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 7/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 11/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
unreal-mcp-ue4-for-ohd をインストールして。https://mcp.popnx.com/i/ribattrw-unreal-mcp-ue4-for-ohd.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
AI にインストールしてもらう
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server unreal-mcp-ue4-for-ohd を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "unreal-ue4-for-ohd": { "command": "npx", "args": [ "-y", "unreal-mcp-ue4-for-ohd" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、unreal-mcp-ue4-for-ohd のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "unreal-ue4-for-ohd": { "command": "npx", "args": [ "-y", "unreal-mcp-ue4-for-ohd" ] } } }Claude を終了してもう一度開く
試してみる
unreal-mcp-ue4-for-ohd を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が unreal-mcp-ue4-for-ohd を使っていると言うか、回答に unreal-mcp-ue4-for-ohd のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ unreal-mcp-ue4-for-ohd につなげません
unreal-mcp-ue4-for-ohd はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · unreal-mcp-ue4-for-ohd につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server unreal-mcp-ue4-for-ohd を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user unreal-ue4-for-ohd -- npx -y unreal-mcp-ue4-for-ohd 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、unreal-mcp-ue4-for-ohd のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user unreal-ue4-for-ohd -- npx -y unreal-mcp-ue4-for-ohdClaude Code で /mcp と入力
unreal-mcp-ue4-for-ohd が一覧にあり、接続済みと表示されれば OK です
試してみる
unreal-mcp-ue4-for-ohd を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が unreal-mcp-ue4-for-ohd を使っていると言うか、回答に unreal-mcp-ue4-for-ohd のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server unreal-mcp-ue4-for-ohd を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "unreal-ue4-for-ohd": { "command": "npx", "args": [ "-y", "unreal-mcp-ue4-for-ohd" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、unreal-mcp-ue4-for-ohd のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
unreal-mcp-ue4-for-ohd を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が unreal-mcp-ue4-for-ohd を使っていると言うか、回答に unreal-mcp-ue4-for-ohd のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server unreal-mcp-ue4-for-ohd を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "unreal-ue4-for-ohd": { "type": "stdio", "command": "npx", "args": [ "-y", "unreal-mcp-ue4-for-ohd" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、unreal-mcp-ue4-for-ohd のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Node.js を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
node -v- バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
node -v一度入れれば、Node.js を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
unreal-mcp-ue4-for-ohd を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が unreal-mcp-ue4-for-ohd を使っていると言うか、回答に unreal-mcp-ue4-for-ohd のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user unreal-ue4-for-ohd -- npx -y unreal-mcp-ue4-for-ohdClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"unreal-ue4-for-ohd": {
"command": "npx",
"args": [
"-y",
"unreal-mcp-ue4-for-ohd"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"unreal-ue4-for-ohd": {
"command": "npx",
"args": [
"-y",
"unreal-mcp-ue4-for-ohd"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"unreal-ue4-for-ohd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"unreal-mcp-ue4-for-ohd"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
- 週あたりのダウンロードi
- 54/週
- 接続方法
- パソコンで動く
- 最新バージョンi
- 2026.5.12-12
- レジストリ公開日i
- 2026年9月8日
- コードの最終更新i
- 2026年9月10日
- 作者
- RibatTRW
- パッケージ
npm: unreal-mcp-ue4-for-ohd- ウェブサイト
- github.com
- レジストリでの状態
- 有効
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月20日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント RibatTRW で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:2 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
公開済みの脆弱性(OSV.dev)
OSV.dev に unreal-mcp-ue4-for-ohd@2026.5.12-12 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月16日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/ribattrw-unreal-mcp-ue4-for-ohd)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6209件のうち69%よりスターが多い
- このカテゴリのほかの6209件のうち31%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6209件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
unreal-mcp-ue4-for-ohdは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は2 か月前、最新バージョン(2026.5.12-12)がレジストリに届いたのは2 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ unreal-mcp-ue4-for-ohd | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
unreal-mcp-ue4-for-OHD
UE4.25.4-first MCP server for Operation Harsh Doorstop modding via Unreal Python Remote Execution (stdio transport)
Fork of runreal/unreal-mcp, heavily refactored UE4-first (via a UE4.27.2 stage) and retargeted here to UE4.25.4 for the OHDCore Mod Kit: same transport and tool surface, with version pins, docs links, and Python-dialect constraints adjusted for the kit's embedded Python 2.7.14. Port, tool, docs, and smoke-test work were developed with assistance from OpenAI Codex.
[!NOTE]
Still under active development — expect bugs, rough edges, and UE4.25-specific limitations.
Published package:
unreal-mcp-ue4-for-ohd· Registry name:io.github.RibatTRW/unreal-mcp-ue4-for-ohd
[!CAUTION]
Not an official Epic Games project. Any connected MCP client can inspect and modify your open editor session — use a disposable test project first, especially for asset or world-generation tools.
Contents
- Requirements · Setup · Migrating from unreal-mcp-ue4 · Editor remote execution · Usage · Sidebar tab · Internals · Testing · Publishing · Available Tools · Contributing · Troubleshooting · Notes and Limitations · Roadmap · License
Requirements
| Need | Pin |
|---|---|
| Unreal Engine | 4.25.4 via OHDCore Mod Kit: engine tree HDEngine/, project HDGame/HarshDoorstop/HarshDoorstop.uproject, launched with LaunchEditor.bat |
| Runtime | Node.js 20+, npm |
| Client | Any MCP client (Codex, Claude Code, Claude Desktop, Cursor, Copilot in a supported IDE) |
| Editor payloads | Python 2.7 only (kit embeds 2.7.14): no f-strings, single-argument print(), no pathlib-era idioms |
Reference: Unreal Engine Python API 4.25. No custom C++ plugin is required — the server uses the editor's built-in Python Remote Execution. UE5-only scripting features are not reintroduced; unreliable graph/binding flows are excluded from the MCP surface or return a clear message instead of failing silently.
graph TD
A[MCP client] --> B[unreal-mcp-ue4-for-ohd stdio server] B --> C[manage_* namespaces + direct tools] C --> D[Python 2.7 payloads] D --> E[Unreal Editor via Remote Execution]
Setup
Autonomous agents setting up unattended: follow the ordered guide in docs/agent-setup.md.
npm install -g unreal-mcp-ue4-for-ohd # recommended; then reference the `unreal-mcp-ue4-for-ohd` binary
npx unreal-mcp-ue4-for-ohd # one-off invocation
Local source checkout:
git clone https://github.com/RibatTRW/unreal-mcp-ue4-for-OHD.git
cd unreal-mcp-ue4-for-OHD npm install npm run build # produces dist/bin.js, dist/index.js, dist/editor/tools.js
One install, then one line per client (global vs local-checkout variants). All clients call the same 34 tools over stdio (3 session-info + 3 direct actor CRUD primitives + 28 manage_* namespaces):
| Client | Global install | Local checkout |
|---|---|---|
| Claude | claude mcp add --scope user unreal-mcp-ue4-for-ohd -- unreal-mcp-ue4-for-ohd | claude mcp add --scope user unreal-mcp-ue4-for-ohd -- node /absolute/path/to/unreal-mcp-ue4-for-OHD/dist/bin.js |
| Codex | codex mcp add unreal-ue4 -- unreal-mcp-ue4-for-ohd | codex mcp add unreal-ue4 -- node /absolute/path/to/unreal-mcp-ue4-for-OHD/dist/bin.js |
| Copilot | .vscode/mcp.json → { "servers": { "unreal-ue4": { "command": "unreal-mcp-ue4-for-ohd", "args": [] } } }, then start the server from the MCP config UI and confirm unreal-ue4 is in the tools picker | same file with "command": "node", "args": ["/absolute/path/to/unreal-mcp-ue4-for-OHD/dist/bin.js"] |
Copilot docs: Extending GitHub Copilot Chat with MCP servers · About Model Context Protocol in GitHub Copilot
Migrating from unreal-mcp-ue4
This fork was renamed to its own identity so it can ship independently of upstream. Upstream credit: the UE4 line derives from conaman/unreal-mcp-ue4 (itself forked from runreal/unreal-mcp).
[!WARNING]
npm install -g unreal-mcp-ue4installs upstream's UE4.27 build, not this fork. For the OHD/UE4.25.4 retarget, install the renamed package instead.
| Before (upstream name) | After (this fork) |
|---|---|
npm install -g unreal-mcp-ue4 | npm install -g unreal-mcp-ue4-for-ohd |
npx unreal-mcp-ue4 | npx unreal-mcp-ue4-for-ohd |
unreal-mcp-ue4 --version | unreal-mcp-ue4-for-ohd --version |
Registry io.github.conaman/unreal-mcp-ue4 | Registry io.github.RibatTRW/unreal-mcp-ue4-for-ohd |
Re-add the server in your client (local server labels such as unreal-ue4 are unchanged — only the command changes):
claude mcp add --scope user unreal-mcp-ue4-for-ohd -- unreal-mcp-ue4-for-ohd
codex mcp add unreal-ue4 -- unreal-mcp-ue4-for-ohd
Copilot .vscode/mcp.json: change "command" to "unreal-mcp-ue4-for-ohd", keeping the unreal-ue4 server key.
Editor remote execution
Verified live against the kit. In the OHD editor (LaunchEditor.bat → HarshDoorstop.uproject):
Edit -> Plugins: enablePython Editor Script Plugin(ships disabled).Editor Scripting Utilitiesis already enabled — no action needed. EnableSequencerScripting(ships disabled) only for advancedmanage_sequenceactions: actor binding, track/key edits, camera cuts, playback ranges, speed-track analysis.- Restart if prompted →
Edit -> Project Settings -> Plugins -> Python→ enableEnable Remote Execution(endpoint239.0.0.1:6766, bind0.0.0.0, raise Multicast TTL from kit default0to1). Restart again if needed. - Keep the project open while using the server or tests; restart the editor after any plugin/Python setting change.
- No UMG plugin to install (tooling uses shipped editor modules). Do mod experiments in a throwaway content-only mod (Create Mod in the editor); never edit shipped
Plugins/*,HDAssets, or engine content.
Connection env overrides (UNREAL_MCP_*):
| Var | Default |
|---|---|
UNREAL_MCP_BIND_ADDRESS / UNREAL_MCP_COMMAND_ADDRESS | first non-internal IPv4 |
UNREAL_MCP_COMMAND_PORT | 6776 |
UNREAL_MCP_MULTICAST_ADDRESS / UNREAL_MCP_MULTICAST_PORT / UNREAL_MCP_MULTICAST_TTL | 239.0.0.1 / 6766 / 1 |
UNREAL_MCP_RETRY_COUNT / UNREAL_MCP_RETRY_DELAY_MS | built-in retry policy |
Usage
- Prefer
manage_*namespace tools (action-specific input schemas are exposed over MCP). Namespaces dispatch throughaction+params. Canonical reads:manage_editor.project_info(project),manage_editor.map_info+manage_level.world_outliner(map/level). Discover the surface withmanage_tools(list_namespaces). - Direct tools (
get_unreal_*,editor_create/update/delete_object) are low-level primitives for session path discovery and actor CRUD. manage_editor.run_pythonis the escape hatch for debugging, prototyping, and UE4.25 API gaps — still Python 2.7-compatible.
First run: open the kit project and wait for load → confirm plugins + remote execution → npm install -g unreal-mcp-ue4-for-ohd (or npm run build) → open/start the client session → run something read-only:
unreal-mcp-ue4-for-ohd --version(prints version, no stdio transport)manage_editor+action: "project_info"/"map_info"·manage_level+"world_outliner"·manage_tools+"list_namespaces"- In prose:
Get project info from the unreal-ue4 server.·List the actors in the current level.·Spawn a StaticMeshActor named TestCube at 0,0,100.
What the server can do: read project/map/asset/actor info; spawn, inspect, move, delete level actors; search assets and inspect references/metadata; create DataAsset/StringTable and other common UE4 data assets; create/edit Blueprint assets and Widget Blueprint trees where UE4.25 Python exposes the APIs.
Sidebar tab
One call sets up the EUW (Editor Utility Widget) sidebar tab end to end — an EUW asset plus a WebBrowser child hosting a web page beside the viewport:
manage_widget + action: "setup_sidebar_tab", params widget_blueprint_path (e.g. /Game/DSHSidebar), url (any page URL; the DSH web GUI is the convention), use_template: true (missing target is duplicated from the golden template — full-fill DSHBrowser + verified On Key Down shortcut fix — instead of built from scratch; re-runs are idempotent, reusing existing targets while refreshing URL/layout).
Caveats: non-DSH pages get no editor-driving loop (typing in them does nothing to the viewport); the 4.25 CEF gate applies (a minimal page renders where a full app shows blank); first template use reports template_staged (the 4.25 Asset Registry can't see the staged /Game file until restart — restart, then re-run); a custom browser_widget_name is ignored on the template path with a warning and DSH asset/browser names stay; if the opened tab looks stale, Compile the widget blueprint in the designer, then dock it beside the viewport.
Internals
TypeScript 7 native toolchain (tsc -p tsconfig.json, ES2022, Node 20 proven), stdio transport, Effect-migrated dispatch/connection layers (Zod stays at the MCP SDK call-site — the SDK only accepts Zod). Recent performance work:
| Item | Shape |
|---|---|
| Prelude cache | static Python prelude cached in the editor session behind the render seam; cacheable renders are ~1–5% of full bytes, miss resends once (scripts/check-prelude-cache.mjs) |
| Schema compaction | seven heaviest tool schemas compacted to cut the listTools payload; surface pinned by scripts/__snapshots__/list-tools.snapshot.json (scripts/check-tool-surface.mjs) |
| Validation fragments | shared limit/asset-path validators used across namespaces |
| Batch design | harness-level chaining memo in docs/w1-batch-design-memo.md, offline prototype green (scripts/check-batch-prototype.mjs); live gate not run |
| Connect health-hint | short-lived healthy-connection hint skips redundant reconnects |
Testing
| Command | Needs editor? | Covers |
|---|---|---|
npm run check:py27 | No | Python 2.7 dialect gate — run after touching server/editor/scripts |
npm run test:no-unreal | No | offline: MCP startup, tool discovery, namespace action schemas, param validation, payload codec, batch prototype, prelude cache, tool surface, dispatch envelope, schema parity, connection session |
| npm run test:e2e | Yes | builds, spawns its own MCP server process, connects to the open editor: startup, discovery, project/map/outliner reads, source-control reads, direct-tool actor cre