Add in-editor Slate setup wizard (Tools > MCP Setup Wizard)

Native UE editor tab (SMCPWizard) so setup happens inside Unreal, not just the
Node CLI. Three sections:
- Remote Control: live status of the :30010 bridge + a button to start it
  (WebControl.StartServer + EnableServerOnStartup).
- API keys: paste/save the agent-gateway Anthropic token (auth.env) and
  ElevenLabs key (integrations.json) — both git-ignored.
- MCP tools: lists the catalogue from tools.json.

Wiring:
- UEBlueprintMCPEditor module registers a nomad tab + a Tools-menu entry.
- Build.cs gains the Projects module (IPluginManager).
- server.js exports TOOLS and only launches the stdio server when run directly
  (isMain), so src/dumpTools.mjs can generate tools.json. `npm run dump-tools`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Bonchellon
2026-06-24 01:35:53 +03:00
parent b04ba768b4
commit 341e694ab5
10 changed files with 799 additions and 12 deletions

View File

@ -67,6 +67,19 @@ It has two halves that ship together:
Call `ping_ue` first to confirm the editor is reachable.
### In-editor setup wizard (Slate)
The C++ editor module adds a native wizard tab: **Tools → MCP Setup Wizard**. It
lets you, without leaving Unreal:
- see whether the Remote Control bridge (`:30010`) is up, and **start it** with one
click (`WebControl.StartServer` + enable-on-startup);
- paste & save the agent-gateway API keys (Anthropic token, ElevenLabs) into the
git-ignored `agent-gateway/` files;
- browse the list of MCP tools this server exposes (from `tools.json`).
Regenerate the tools list after changing the catalogue with `npm run dump-tools`.
### First-run check & `doctor`
The first time the server starts it prints a one-time environment check to its