/ Diretório / Playground / Unreal_mcp
● Comunidade ChiR24 ⚡ Instantâneo

Unreal_mcp

por ChiR24 · ChiR24/Unreal_mcp

Drive Unreal Engine 5 from Claude — spawn actors, manage assets, run PIE, edit Blueprints, record cinematics via a native C++ automation bridge.

Unreal_mcp pairs a TypeScript MCP server with a C++ plugin you drop into your UE project. Exposes ~36 tools across asset/actor/level/sequencer/blueprint/effect/audio/system domains. Works with UE 5.0-5.7.

Por que usar

Principais recursos

Demo ao vivo

Como fica na prática

unreal.replay ▶ pronto
0/0

Instalar

Escolha seu cliente

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "unreal": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/ChiR24/Unreal_mcp"
      ],
      "_inferred": true
    }
  }
}

Abra Claude Desktop → Settings → Developer → Edit Config. Reinicie após salvar.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "unreal": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/ChiR24/Unreal_mcp"
      ],
      "_inferred": true
    }
  }
}

Cursor usa o mesmo esquema mcpServers que o Claude Desktop. Config de projeto vence a global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "unreal": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/ChiR24/Unreal_mcp"
      ],
      "_inferred": true
    }
  }
}

Clique no ícone MCP Servers na barra lateral do Cline, depois "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "unreal": {
      "command": "TODO",
      "args": [
        "See README: https://github.com/ChiR24/Unreal_mcp"
      ],
      "_inferred": true
    }
  }
}

Mesmo formato do Claude Desktop. Reinicie o Windsurf para aplicar.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "unreal",
      "command": "TODO",
      "args": [
        "See README: https://github.com/ChiR24/Unreal_mcp"
      ]
    }
  ]
}

O Continue usa um array de objetos de servidor em vez de um map.

~/.config/zed/settings.json
{
  "context_servers": {
    "unreal": {
      "command": {
        "path": "TODO",
        "args": [
          "See README: https://github.com/ChiR24/Unreal_mcp"
        ]
      }
    }
  }
}

Adicione em context_servers. Zed recarrega automaticamente ao salvar.

claude mcp add unreal -- TODO 'See README: https://github.com/ChiR24/Unreal_mcp'

Uma linha só. Verifique com claude mcp list. Remova com claude mcp remove.

Casos de uso

Usos do mundo real: Unreal_mcp

How to prototype an Unreal level from natural language

👤 Indie devs, level designers iterating fast ⏱ ~20 min intermediate

Quando usar: You want to rough-in a scene without clicking through content browser menus.

Pré-requisitos
  • Unreal Engine 5.x project with McpAutomationBridge plugin enabled — Copy plugins/McpAutomationBridge into your project's Plugins folder, restart editor
  • UE_PROJECT_PATH env var — Absolute path to your .uproject file
Fluxo
  1. Spawn the basics
    Create a new empty level 'Prototype_01'. Spawn a ThirdPersonCharacter at origin, a DirectionalLight at 30° pitch, and a floor plane.✓ Copiado
    → Level saved with the three actors
  2. Populate props
    Scatter 20 instances of StaticMesh_Tree in a 50m radius. Add SkySphere with a sunset preset.✓ Copiado
    → Visible trees + sunset atmosphere
  3. Enter PIE to playtest
    Start Play In Editor and capture a screenshot after 3 seconds.✓ Copiado
    → Screenshot showing the running scene

Resultado: A playable whitebox scene in under 10 minutes.

Armadilhas
  • Plugin version mismatch with UE version — Rebuild the plugin against your exact UE version; check UBT output
  • Port 8091 already in use — Set MCP_AUTOMATION_PORT to a free port in both env and plugin settings
Combine com: filesystem

Edit Unreal Blueprint graphs from Claude conversationally

👤 Gameplay programmers ⏱ ~15 min advanced

Quando usar: You need to add a simple node or variable without breaking flow from coding.

Fluxo
  1. Identify the target BP
    List all Blueprints under /Game/Characters. Return paths.✓ Copiado
    → List
  2. Add a node
    In BP_PlayerCharacter, add a PrintString node connected to BeginPlay, text 'Hello from MCP'.✓ Copiado
    → BP recompiles cleanly; PIE shows the text

Resultado: Small BP changes without alt-tabbing.

Armadilhas
  • BP compile errors silently fail — Always ask for the compile log after an edit

Automate Unreal marketing screenshots across camera angles

👤 Marketing, community managers ⏱ ~15 min intermediate

Quando usar: You need 10 beauty shots of your game for a trailer or press kit.

Fluxo
  1. Define camera positions
    Given these 10 transforms [list], move the editor camera to each and capture a 4K screenshot.✓ Copiado
    → 10 PNGs in ./Saved/Screenshots
  2. Batch rename
    Rename them to <level>_<angle>_<timestamp>.png✓ Copiado
    → Clean filenames

Resultado: Press-kit-ready screenshots in minutes.

Combine com: filesystem

Combinações

Combine com outros MCPs para 10× de alavancagem

unreal + filesystem

Store procedurally generated level definitions as JSON, rebuild levels from them

Read ./levels/forest.json, create a new UE level and spawn the actors described.✓ Copiado

HUD mockups in Figma → Widget Blueprint in UE

Export the selected HUD frame from Figma; recreate the layout in a UMG Widget Blueprint in my UE project.✓ Copiado

Ferramentas

O que este MCP expõe

FerramentaEntradasQuando chamarCusto
manage_asset action: import|duplicate|delete|rename, path, params Asset CRUD 0
control_actor action: spawn|destroy|move|set_prop, class, transform Scene composition 0
control_editor action: pie_start|pie_stop|screenshot|set_camera Editor-level ops 0
manage_level action: new|save|load|stream, name Level lifecycle 0
manage_blueprint action: create|add_node|compile, bp_path BP editing 0
manage_sequence action: create|add_track|play, sequence Cinematics 0
system_control action: console|build|test, args Project-level automation 0

Custo e limites

O que custa rodar

Cota de API
None — local
Tokens por chamada
100–2000 per tool
Monetário
Free; requires Unreal Engine (also free up to thresholds)
Dica
Batch operations inside a single transaction — single undo entry and faster

Segurança

Permissões, segredos, alcance

Armazenamento de credenciais: None
Saída de dados: Localhost only (MCP_AUTOMATION_PORT)

Solução de problemas

Erros comuns e correções

Plugin not found / editor crashes on load

Rebuild against current UE version: right-click .uproject → Generate Project Files → rebuild in IDE

Verificar: Plugin shows as 'Enabled' in Edit → Plugins
Automation port refused

Ensure UE editor is running and the plugin has started its listener (check Output Log for 'MCP bridge listening')

Verificar: telnet 127.0.0.1 8091
Asset import fails silently

Check UE's Message Log — many errors surface there but not to MCP

Alternativas

Unreal_mcp vs. outros

AlternativaQuando usarTroca
UE Python scriptingYou want direct Python control and don't need an agent layerNo MCP, no LLM-friendly surface
Blender MCPYou're in Blender not UnrealDifferent engine entirely

Mais

Recursos

📖 Leia o README oficial no GitHub

🐙 Ver issues abertas

🔍 Ver todos os 400+ servidores MCP e Skills