虚幻引擎 MCP 服务器 标志

虚幻引擎 MCP 服务器

社区
ChiR24

A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal Engine through the native C++ Automation Bridge plugin. Built with TypeScript and C++.

发布者ChiR24
代码仓库Unreal_mcp
语言TypeScript
复刻数
163
星标数
882
可用工具
13
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    虚幻引擎 MCP 服务器 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 13 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 882 个星标和 163 个复刻。

Unreal Engine MCP Server

License: MIT NPM Package MCP SDK Unreal Engine MCP Registry Project Board Discussions

A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal Engine through a native C++ Automation Bridge plugin. Built with TypeScript and C++.


Table of Contents


Features

CategoryCapabilities
Asset ManagementBrowse, import, duplicate, rename, delete assets; create materials
Actor ControlSpawn, delete, transform, physics, tags, components
Editor ControlPIE sessions, camera, viewport, screenshots, bookmarks
Level ManagementLoad/save levels, streaming, lighting
Animation & PhysicsAnimation BPs, state machines, ragdolls, vehicles, constraints
Visual EffectsNiagara particles, GPU simulations, procedural effects, debug shapes
SequencerCinematics, timeline control, Movie Render Queue, media, Take Recorder, replay
Graph EditingBlueprint, Niagara, Material, and Behavior Tree graph manipulation
AudioSound cues, audio components, sound mixes, ambient sounds
SystemConsole commands, UBT, tests, logs, project settings, CVars

Architecture

  • Native C++ Automation — All operations route through the MCP Automation Bridge plugin
  • Dual Transport — Native HTTP/SSE (no bridge needed) or WebSocket via TypeScript bridge
  • Dynamic Type Discovery — Runtime introspection for lights, debug shapes, and sequencer tracks
  • Graceful Degradation — Server starts even without an active Unreal connection
  • On-Demand Connection — Retries automation handshakes with exponential backoff
  • Command Safety — Blocks dangerous console commands with pattern-based validation
  • Capability Token Auth — On-by-default token authentication (auto-generated 32-byte secret at <Project>/Saved/MCP/capability-token) for both WS and HTTP transports; manual CapabilityToken in Project Settings overrides the file
  • Asset Caching — 10-second TTL for improved performance
  • Metrics Rate Limiting — Per-IP rate limiting (60 req/min) on Prometheus endpoint
  • Centralized Configuration — Unified class aliases and type definitions

Getting Started

Prerequisites

  • Node.js 20.19 or later (Node.js 18 is not supported) — required for the TypeScript stdio bridge. Not needed for the native MCP transport.

Step 1: Install MCP Server (Option B only — skip for Native MCP)

Skip this step if using Option A: Native MCP Transport (Step 4A below).

NPX (Recommended):

bash
npx unreal-engine-mcp-server

Clone & Build:

bash
git clone https://github.com/ChiR24/Unreal_mcp.git
cd Unreal_mcp
npm install
npm run build
node dist/cli.js

Step 2: Install Unreal Plugin

The MCP Automation Bridge plugin is included at Unreal_mcp/plugins/McpAutomationBridge.

From source (requires a project with code target)

Your project must have a code target (.sln or .xcworkspace). Blueprint-only projects cannot compile native plugins — to convert, add any class via Tools > New C++ Class in the editor.

Method 1: Copy Folder

text
Copy:  Unreal_mcp/plugins/McpAutomationBridge/
To:    YourUnrealProject/Plugins/McpAutomationBridge/

Method 2: External Plugin Directory (no copy needed)

  1. Open Unreal Editor → Edit → Plugins
  2. Click Plugin Directories (bottom-left)
  3. In Additional Plugin Directories, add the path to Unreal_mcp/plugins/
  4. Restart the editor — the plugin will be picked up from the external location

This saves the path in your .uproject file so the plugin stays linked without copying.

The plugin compiles automatically when you open the project — UE detects the .uplugin + Source/ and runs UnrealBuildTool.

Video Guide:

https://github.com/user-attachments/assets/d8b86ebc-4364-48c9-9781-de854bf3ef7d

⚠️ First-Time Project Open: UE may prompt "Would you like to rebuild them now?" — click Yes. If instead you see "Missing Modules — McpAutomationBridge. Engine modules cannot be compiled at runtime. Please build through your IDE." — open your project in Visual Studio (Win) or Xcode (Mac) and build from there. After that, the editor will open normally with the plugin loaded.

Pre-built (works with any project, including Blueprint-only)

Build the plugin once, then distribute the compiled binaries — no IDE or compilation needed on the target machine.

1. Build:

bash
# macOS / Linux
./scripts/package-plugin.sh /path/to/UE_5.6

# Windows
scripts\package-plugin.bat C:\Path\To\UE_5.6

This produces a zip like McpAutomationBridge-v<version>-UE5.7-Linux.zip, where <version> is the package.json version (currently 0.6.0-beta-a).

2. Install: unzip into YourProject/Plugins/ and open the project. That's it — no compilation step.

Note: pre-built binaries are tied to a specific UE version. A build for 5.6 won't work with 5.5, 5.7, or 5.8.

Step 3: Enable Required Plugins

Enable via Edit → Plugins, then restart the editor.

PluginRequired For
MCP Automation BridgeAll automation operations
Python Editor Script PluginPython-backed editor automation helpers
Editor Scripting UtilitiesAsset/Actor subsystem operations
NiagaraVisual effects and particle systems
Gameplay Abilitiesmanage_gas operations
Smart ObjectsAI smart object operations
PluginRequired For
Level Sequence Editormanage_sequence operations
Movie Render Pipelinemanage_sequence Movie Render Queue operations
Movie Pipeline Mask Render PassObject-ID render pass
Takesmanage_sequence Take Recorder operations
Electra Playermanage_sequence file-backed media playback
Control Riganimation_physics operations
GeometryScriptingmanage_geometry operations
Behavior Tree Editormanage_ai Behavior Tree operations
Niagara EditorNiagara authoring
Environment Query EditorAI/EQS operations
MetaSoundmanage_audio MetaSound authoring
StateTreemanage_ai State Tree operations
Enhanced Inputmanage_networking input mapping operations
Chaos ClothCloth simulation
InterchangeAsset import/export
Data ValidationData validation
PCGmanage_pcg graph authoring and execution when enabled for the build
Procedural Mesh ComponentProcedural geometry
OnlineSubsystemSession/networking operations
OnlineSubsystemUtilsSession/networking operations

💡 Optional plugins are auto-enabled by the MCP Automation Bridge plugin when needed. PCG support is compiled for source projects when the project explicitly enables PCG. Versioned release packages for UE 5.2+ include PCG support. All Unreal Engine versions from 5.0 to 5.8 are supported and working.

Step 4: Configure MCP Client

Option A: Native MCP Transport (Direct HTTP — no bridge needed)

The plugin includes a built-in MCP Streamable HTTP server. AI clients connect directly to the plugin over HTTP — no TypeScript bridge, no Node.js, no npm. Note: the bAllowNonLoopback setting now applies to both the WebSocket bridge and the native MCP transport. Enabling it binds both surfaces to non-loopback addresses. If you only need LAN access for the WebSocket bridge, do not enable bAllowNonLoopback and instead expose the bridge via a reverse proxy. Capability token auth is on by default (0.5.30+) — both transports require authentication automatically. A manually configured CapabilityToken in Project Settings or the auto-generated token at <Project>/Saved/MCP/capability-token is used automatically.

Enable in Unreal:

  1. Edit > Project Settings > Plugins > MCP Automation Bridge
  2. Check Enable Native MCP
  3. Set port (default: 3000)
  4. Optionally set Native MCP Instructions for project-specific guidance
  5. Restart the editor

Configure your MCP client to use Streamable HTTP transport at:

http://localhost:3000/mcp

Claude Code:

bash
claude mcp add unreal-engine --transport http http://localhost:3000/mcp

Or manually in ~/.claude/settings.json or project .mcp.json:

json
{
  "mcpServers": {
    "unreal-engine": {
      "type": "url",
      "url": "http://localhost:3000/mcp"
    }
  }
}

Cursor (.cursor/mcp.json):

json
{
  "mcpServers": {
    "unreal-engine": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Verify it works:

  • Status bar — look for ● MCP :3000 (2) in the bottom-right of the editor. Green dot = server running, number in parens = active sessions. Click it to open settings.
  • Output Log — filter by LogMcpNativeTransport to see connections, tool calls, and session activity:
    LogMcpNativeTransport: Native MCP server started on http://localhost:3000/mcp
    LogMcpNativeTransport: MCP session initialized: ... (client: claude-code 2.1.92, active sessions: 1)
    LogMcpNativeTransport: tools/call: inspect (RequestId=...)
    LogMcpNativeTransport: tools/call completed: ... (tool=inspect, success=true)

Features:

  • SSE streaming for real-time progress during long operations
  • Multiple concurrent sessions (Cursor + Claude Code + others simultaneously)
  • Dynamic tool management — core tools load by default, enable more via manage_tools
  • Python execution via execute_python action (inline code or .py files)
  • Capability token authentication — on by default (auto-generated secret at <Project>/Saved/MCP/capability-token; manual CapabilityToken in Project Settings overrides)

Option B: TypeScript Bridge (stdio — classic setup)

Add to your Claude Desktop / Cursor config file:

Using Clone/Build:

json
{
  "mcpServers": {
    "unreal-engine": {
      "command": "node",
      "args": ["path/to/Unreal_mcp/dist/cli.js"],
      "env": {
        "UE_PROJECT_PATH": "C:/Path/To/YourProject",
        "MCP_AUTOMATION_PORT": "8091"
      }
    }
  }
}

Using NPX:

json
{
  "mcpServers": {
    "unreal-engine": {
      "command": "npx",
      "args": ["unreal-engine-mcp-server"],
      "env": {
        "UE_PROJECT_PATH": "C:/Path/To/YourProject"
      }
    }
  }
}

Configuration

Environment Variables

env
# Required
UE_PROJECT_PATH="C:/Path/To/YourProject"

# Automation Bridge
MCP_AUTOMATION_HOST=127.0.0.1
MCP_AUTOMATION_PORT=8091

# LAN Access (optional)
# SECURITY: Set to true to allow binding to non-loopback addresses (e.g., 0.0.0.0)
# Only enable if you understand the security implications.
MCP_AUTOMATION_ALLOW_NON_LOOPBACK=false

# Logging
LOG_LEVEL=info  # debug | info | warn | error

# Optional
MCP_CONNECTION_TIMEOUT_MS=5000
MCP_REQUEST_TIMEOUT_MS=120000
ASSET_LIST_TTL_MS=10000

# Optional Prometheus metrics endpoint
# Loopback-only by default. Non-loopback metrics requires both explicit opt-in and a token.
# MCP_METRICS_PORT=9100
# MCP_METRICS_HOST=127.0.0.1
# MCP_METRICS_ALLOW_NON_LOOPBACK=false
# MCP_METRICS_TOKEN=change-me

# Custom content mount points (comma-separated)
# Plugins with CanContainContent register mount points beyond /Game/.
# MCP_ADDITIONAL_PATH_PREFIXES=/ProjectObject/,/ProjectAnimation/

LAN Access Configuration

By default, the automation bridge only binds to loopback addresses (127.0.0.1) for security. To enable access from other machines on your network:

TypeScript (MCP Server):

env
MCP_AUTOMATION_ALLOW_NON_LOOPBACK=true
MCP_AUTOMATION_HOST=0.0.0.0

Unreal Engine Plugin:

  1. Go to Edit → Project Settings → Plugins → MCP Automation Bridge
  2. Under Security, enable "Allow Non Loopback"
  3. Under Connection, set "Listen Host" to 0.0.0.0
  4. Restart the editor

⚠️ Security Warning: Enabling LAN access exposes the automation bridge to your local network. Only use on trusted networks with appropriate firewall rules. Enable capability token authentication (Require Capability Token in project settings) to prevent unauthorized access when using LAN mode.


Available Tools

The MCP server exposes a single unreal gateway tool. The 23 canonical parent tools are internal and reachable exclusively through the gateway's four operations: search, describe, execute, and configure.

Gateway Workflow

  1. search — discover available tools by keyword, category, or action name
  2. describe — get the exact contract (actions, parameters, schema) for a specific tool
  3. execute — run one validated action on a canonical tool
  4. configure — manage internal tool enable/disable state (wraps manage_tools)

Example call:

json
{
  "operation": "search",
  "query": "asset"
}

Then:

json
{
  "operation": "describe",
  "tool": "manage_asset",
  "action": "import_asset"
}

Then:

json
{
  "operation": "execute",
  "tool": "manage_asset",
  "action": "import_asset",
  "params": { "sourcePath": "/path/to/asset.fbx", "destinationPath": "/Game/Imported/asset" }
}

Migration from direct tool calls

The single unreal gateway is permanent on both transports; there is no opt-out and no legacy 23-tool listing to restore. A client that still calls a canonical tool name directly (tools/call with name: "manage_asset", name: "control_actor", etc.) receives a bounded, copy-paste-executable DIRECT_TOOL_CALL_REMOVED receipt instead of a routed call. The receipt carries a nextCall that drills exactly one level: { "operation": "search" } for an unknown name, { "operation": "describe", "tool": "<tool>" } when no action was supplied, or { "operation": "execute", "tool": "<tool>", "action": "<action>", "params": { ... } } when the direct call already named an action. Run that nextCall through the unreal tool to finish the migration.

Gateway Protocol & Transport

Both transports expose the same unreal gateway contract, but they are separate lifecycles. Do not route around their boundaries.

  • TypeScript stdio transport — node dist/cli.js talks to the Unreal plugin over a WebSocket bridge. It permanently exposes the single unreal gateway tool; there is no gateway-mode toggle.
  • Native MCP transport — the plugin's built-in Streamable HTTP/SSE server at /mcp (no Node.js, no bridge). The native MCP surface permanently exposes the same single unreal gateway tool; there is no gateway-mode toggle.

Both surfaces negotiate the MCP protocol version at initialize; the supported set is intentionally asymmetric. The native /mcp transport supports exactly the three modern versions 2025-11-25, 2025-06-18, and 2025-03-26, and deliberately does not implement the later 2026-07-28 RC. The TypeScript stdio server also accepts the two legacy versions 2024-11-05 and 2024-10-07, so the native surface is intentionally stricter. Both negotiate down to the highest mutually supported version (2025-11-25 is the latest). See docs/protocol.md for the full negotiation and transport contract, including the MCP-Protocol-Version header guard (HTTP 400 on invalid), cancellation semantics, and progressToken handling.

Internal Canonical Tools (23)

The gateway hides these 23 canonical parent tools. They are listed here for reference:

ToolDescription
manage_assetAssets, Materials, Render Targets, Behavior Trees, Blueprint Struct (UserDefinedStruct) authoring
manage_blueprintBlueprints, SCS components, graph editing, UMG widgets, layout, bindings, animations
control_actorSpawn, delete, transform, physics, tags
control_editorPIE, Camera, viewport, screenshots
manage_levelLoad/save, streaming, lighting
system_controlUBT, Tests, Logs, Project Settings, CVars, Python Execution
inspectObject Introspection
manage_toolsDynamic tool management (enable/disable at runtime)
ToolDescription
build_environmentLandscapes, foliage, procedural terrain, lighting, spline roads/rivers/fences
manage_level_structureLevels, sublevels, World Partition, streaming, data layers, HLOD, volumes
manage_geometryProcedural mesh creation and editing with Geometry Script
manage_pcgPCG graph assets, subgraphs, input/sampler/filter/spawner nodes, pin connections, execution, partition grid size, and node settings
ToolDescription
animation_physicsAnimation BPs, skeletons, sockets, physics assets, cloth, vehicles, ragdolls, Control Rig, IK
manage_effectNiagara, particles, debug shapes, GPU simulations
manage_gasGameplay Ability System: abilities, effects, attributes
manage_characterCharacter creation, movement, advanced locomotion
manage_combatWeapons, projectiles, damage, melee combat
manage_aiAI controllers, Behavior Trees, EQS, perception, State Trees, Smart Objects, NavMesh/pathfinding
manage_inventoryItems, equipment, loot tables, crafting
manage_interactionInteractables, destructibles, triggers
ToolDescription
manage_audioAudio Assets, Components, Sound Cues, MetaSounds, Attenuation
manage_sequenceSequencer, cinematics, Movie Render Queue, media playback, Take Recorder, and replay controls
manage_networkingReplication, RPCs, network prediction, sessions, split-screen, LAN/voice, game framework, input mappings

Blueprints • Materials • Textures • Static Meshes • Skeletal Meshes • Levels • Sounds • Particles • Niagara Systems • Behavior Trees


Docker

bash
docker build -t unreal-mcp .
docker run -it --rm -e UE_PROJECT_PATH=/project unreal-mcp

Documentation

DocumentDescription
Handler MappingsTypeScript to C++ routing
Plugin ExtensionC++ plugin architecture
Testing GuideHow to run and write tests
RoadmapDevelopment roadmap

Development

bash
npm run build         # Clean + compile TypeScript to dist/
npm run lint          # Run ESLint 9 (fail on any warning)
npm run type-check    # tsc --noEmit
npm run test:unit     # Vitest unit tests (no Unreal required)
npm run test:smoke    # Offline mock in-memory MCP check (needs built dist/)
npm run manifest:check   # Fail if generated gateway manifest artifacts drift
npm run test:native-parity # TS vs native canonical tool/action equality
npm run test:params      # Parity + strict parameter audit
npm run version:check    # Assert all version sources agree
npm test                 # Integration suite (needs a live Unreal Editor + bridge)

Gateway manifest generation

The neutral gateway manifest is generated from src/tools/catalog/consolidated-tool-definitions.ts into three artifacts (runtime .ts/.json plus the native .h). Never hand-edit the generated files.

bash
node --loader ts-node/esm scripts/generate-gateway-manifest.ts          # regenerate
node --loader ts-node/esm scripts/generate-gateway-manifest.ts --check  # CI gate: fail on drift

CI gates

CI runs, in order: ESLint 9 (npx eslint . --max-warnings=0), TypeScript type-check, unit tests, registry:check, normalization:check, manifest:check, policy:check, native parity + parameter audit (test:params), migration:check, primitives:check, security:check, eval:check, version:check, workflow:check, then a blocking runtime-only dependency audit (npm audit --omit=dev --audit-level=high) followed by an informational full-tree npm audit --audit-level=moderate. A plugin packaging job runs scripts/package-plugin.sh only when an Unreal Engine source root secret is provided (opt-in), because CI runners do not ship an engine. Release archives exclude Binaries/, Intermediate/, and Saved/ so generated build dirs never leak.


Community

ResourceDescription
Project RoadmapTrack roadmap progress and priorities
DiscussionsAsk questions, share ideas, get help
IssuesReport bugs and request features

Contributing

Contributions welcome! Please:

  • Include reproduction steps for bugs
  • Keep PRs focused and small
  • Follow existing code style

License

MIT — See LICENSE

安装

TypingMind
{
  "mcpServers": {
    "unreal-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-it",
        "--rm",
        "unreal-mcp"
      ]
    }
  }
}

可用工具

  • manage_asset

    Asset library utility for browsing, importing, and bootstrapping simple materials.

    Use it when you need to:

    • explore project content (/Content automatically maps to /Game).
    • import FBX/PNG/WAV/EXR files into the project.
    • spin up a minimal Material asset at a specific path.

    Supported actions: list, import, create_material.

  • control_actor

    Viewport actor toolkit for spawning, removing, or nudging actors with physics forces.

    Use it when you need to:

    • drop a class or mesh into the level (classPath accepts names or asset paths).
    • delete actors by label, case-insensitively.
    • push a physics-enabled actor with a world-space force vector.

    Supported actions: spawn, delete, apply_force.

  • control_editor

    Editor session controls for PIE playback, camera placement, and view modes.

    Use it when you need to:

    • start or stop Play In Editor.
    • reposition the active viewport camera.
    • switch between Lit/Unlit/Wireframe and other safe view modes.

    Supported actions: play, stop, set_camera, set_view_mode (with validation).

  • manage_level

    Level management helper for loading/saving, streaming, light creation, and lighting builds.

    Use it when you need to:

    • open or save a level by path.
    • toggle streaming sublevels on/off.
    • spawn a light actor of a given type.
    • kick off a lighting build at a chosen quality.

    Supported actions: load, save, stream, create_light, build_lighting.

  • animation_physics

    Animation and physics rigging helper covering Anim BPs, montage playback, and ragdoll setup.

    Use it when you need to:

    • generate an Animation Blueprint for a skeleton.
    • play a montage/animation on an actor at a chosen rate.
    • enable a quick ragdoll using an existing physics asset.

    Supported actions: create_animation_bp, play_montage, setup_ragdoll.

  • create_effect

    FX sandbox for spawning Niagara systems, particle presets, or disposable debug shapes.

    Use it when you need to:

    • fire a Niagara system at a specific location/scale.
    • trigger a simple particle effect by tag/name.
    • draw temporary debug primitives (box/sphere/line) for planning layouts.

    Supported actions: niagara, particle, debug_shape.

  • manage_blueprint

    Blueprint scaffolding helper for creating assets and attaching components.

    Use it when you need to:

    • create a new Blueprint of a specific base type (Actor, Pawn, Character, ...).
    • add a component to an existing Blueprint asset with a unique name.

    Supported actions: create, add_component.

  • build_environment

    Environment authoring toolkit for landscapes and foliage, from sculpting to procedural scatters.

    Use it when you need to:

    • create or sculpt a landscape actor.
    • add foliage via types or paint strokes.
    • drive procedural terrain/foliage generation with bounds, seeds, and density settings.
    • spawn explicit foliage instances at transforms.

    Supported actions: create_landscape, sculpt, add_foliage, paint_foliage, create_procedural_terrain, create_procedural_foliage, add_foliage_instances, create_landscape_grass_type.

  • system_control

    Runtime/system controls for profiling, quality tiers, audio/UI triggers, screenshots, and editor lifecycle.

    Use it when you need to:

    • toggle stat overlays or targeted profilers.
    • adjust scalability categories (sg.*) or enable FPS display.
    • play a one-shot sound and optionally position it.
    • create/show lightweight widgets.
    • capture a screenshot or start/quit the editor process.

    Supported actions: profile, show_fps, set_quality, play_sound, create_widget, show_widget, screenshot, engine_start, engine_quit.

  • console_command

    Guarded console command executor for one-off stat, r.*, or viewmode commands.

    Use it when higher-level tools don't cover the console tweak you need. Hazardous commands (quit/exit, crash triggers, unsafe viewmodes) are blocked, and unknown commands respond with a warning instead of executing blindly.

  • manage_rc

    Remote Control preset helper for building, exposing, and mutating RC assets.

    Use it when you need to:

    • create a preset asset on disk.
    • expose actors or object properties to the preset.
    • list the exposed fields for inspection.
    • get or set property values through RC with JSON-serializable payloads.

    Supported actions: create_preset, expose_actor, expose_property, list_fields, set_property, get_property.

  • manage_sequence

    Sequencer automation helper for Level Sequences: asset management, bindings, and playback control.

    Use it when you need to:

    • create or open a sequence asset.
    • add actors, spawnable cameras, or other bindings.
    • adjust sequence metadata (frame rate, bounds, playback window).
    • drive playback (play/pause/stop), adjust speed, or fetch binding info.

    Supported actions: create, open, add_camera, add_actor, add_actors, remove_actors, get_bindings, add_spawnable_from_class, play, pause, stop, set_properties, get_properties, set_playback_speed.

  • inspect

    Introspection utility for reading or mutating properties on actors, components, or CDOs.

    Use it when you need to:

    • inspect an object by path and retrieve its serialized properties.
    • set a property value with built-in validation.

    Supported actions: inspect_object, set_property.

将 虚幻引擎 MCP 服务器 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 虚幻引擎 MCP 服务器 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 虚幻引擎 MCP 服务器 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 虚幻引擎 MCP 服务器 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "unreal-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "unreal-engine-mcp-server"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 虚幻引擎 MCP 服务器 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 虚幻引擎 MCP 服务器 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 虚幻引擎 MCP 服务器 帮我完成这项任务吗?
虚幻引擎 MCP 服务器
当然,我看过了。
以下是我使用 虚幻引擎 MCP 服务器 得到的结果。

常见问题

虚幻引擎 MCP 服务器 MCP 服务器有什么用途?

虚幻引擎 MCP 服务器 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 虚幻引擎 MCP 服务器 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 虚幻引擎 MCP 服务器。

为什么在 TypingMind 中使用 虚幻引擎 MCP 服务器 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 虚幻引擎 MCP 服务器 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 虚幻引擎 MCP 服务器 MCP 连接到 TypingMind?

虚幻引擎 MCP 服务器 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

虚幻引擎 MCP 服务器 MCP 在 TypingMind 中提供哪些工具?

虚幻引擎 MCP 服务器 提供 13 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 虚幻引擎 MCP 服务器 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 虚幻引擎 MCP 服务器 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

Project Assets

List all assets in the project

Level Actors

List all actors in the current level

Current Level

Information about the current level

Remote Control Exposed

List all exposed properties via Remote Control

Health Status

Server health and performance metrics

Engine Version

Unreal Engine version and compatibility info

setup_three_point_lighting

Author a cinematic three-point lighting rig aligned to the active camera focus.

create_fps_controller

Spin up a first-person controller blueprint with input mappings, collision, and starter movement.

setup_post_processing

Author a post-process volume tuned to a named cinematic grade.

setup_dynamic_day_night_cycle

Create or update a Blueprint to drive a dynamic day/night cycle with optional weather hooks.

design_cinematic_camera_move

Author a sequencer shot with a polished camera move and easing markers.

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇