AI Enhanced Input
Author full control schemes — Input Actions, Mapping Contexts, keyboard / mouse / gamepad mappings, triggers and modifiers, rebindable keys, and the Blueprint wiring that adds contexts and binds actions — then play-test them.
At a glance
What the agent can do with it
Adds no MCP tools: it contributes an RQL module with the inputActions, inputContexts, inputMappings, inputTriggerTypes, inputModifierTypes, enhancedInput sources and adapters for InputMappingContext, InputAction, Blueprint. That powers 6 capabilities the agent reaches through rql-query / rql-mutate. How RQL works →
- Actions & mapping contexts
Create Input Actions (Boolean / Axis1D / Axis2D / Axis3D) and Mapping Contexts, and add or remove keyboard, mouse and gamepad mappings.
enhancedInput | call CreateAction("/Game/Input/IA_Move", "Axis2D") - Triggers & modifiers
Set triggers (hold, tap, pulse, chords, combos, toggles) and modifiers (dead zones, negate, swizzle, scale) on actions and on single mappings, as text.
enhancedInput | call SetMappingTriggers("/Game/Input/IMC_Vehicle", "/Game/Input/IA_Interact", "E", "Hold(0.3)") - Rebindable keys
Make actions and mappings player-mappable and enable Enhanced Input user settings, so players can rebind keys.
enhancedInput | call SetPlayerMappable("/Game/Input/IA_Jump", "Jump", "On Foot") - Blueprint wiring
Add mapping contexts on possess, on an event or on BeginPlay, and bind actions to Blueprint functions or events (including toggles).
enhancedInput | call BindAction("/Game/BP_Hero", "/Game/Input/IA_Jump", "Started", "Jump") - Play-test input
Inject an action into the running Play In Editor session for exact frames and read back the pawn’s state and the action’s trigger events.
enhancedInput | call InjectInput("/Game/Input/IA_Jump") - Read input setup
List Input Actions, Mapping Contexts, every key mapping with its triggers, modifiers and rebind settings, the trigger and modifier types, and a Blueprint’s input setup.
inputMappings | where Context == "IMC_Vehicle" | select Action Key Triggers Modifiers PlayerMappable
Install
Requires the base plugin UnrealMCP 0.29.0 or later. The extension ships as C++ source: rebuild the project (or pass --build) before opening the editor; then the RQL module loads with the package — the agent sees it in rql-schema.
unreal-mcp-cli install-extension com.ivanmurzak.unreal-ai-enhanced-input <UEProject>When to ask the AI for it
Ask for player input setup in Unreal — an on-foot and a vehicle scheme, a hold-to-interact key, rebindable controls, or binding Jump in a pawn Blueprint.
Example prompts
Copy-pasteable first requests. Start with one, verify it in the editor, then build up.
Create an Axis2D action IA_Move and a context IMC_OnFoot mapping W, A, S, D and the left gamepad stick to it.Bind IA_Jump to Jump on BP_Hero, add IMC_OnFoot when BP_Hero is possessed, and make Jump rebindable.Start Play In Editor, press Jump, and tell me which trigger events fired.