MCP server for Mount & Blade II: Bannerlord game automation and control. Provides tools for battle management, conversation handling, diplomacy, party management, mission control, UI interaction, and core game state manipulation.
Bannerlord.GABS defines 26 tools with consistent naming (verb_noun pattern: get_state, offer_item, order_charge) and clear descriptions (avg ~120 chars, all present). Input schemas are visible and typed. However, output schemas are NOT documented in the source, only input parameters are defined. Error handling is absent: no recovery guidance, no categorization of retryable vs fatal errors. Parameters lack constraints (enums for formationClass, targetFaction). No tool annotations (readOnlyHint/destructiveHint). Descriptions are adequate but generic; many lack dependency hints or prerequisites. Overall: solid naming and input structure, but incomplete output documentation and missing error patterns.
Accept the current barter offer (finalize the deal).
Cancel and close the current barter screen.
Get the current barter screen state: participants, available items to offer, and what's currently offered.
Offer or unoffer a barterable item by index. For gold, also set the amount.
List the player's formations with troop counts, types, and current orders.
Get the current battle/mission state including sides, troop counts, and battle phase.
Order one or all player formations to advance toward the enemy.
Output schemas not documented. Tools return complex objects (barter state, battle formations, UI layers) but no schema is visible in source. LLMs cannot plan downstream calls or extract fields reliably.
No error handling or recovery guidance. Tools lack descriptions of failure modes, retryable errors, or what the LLM should do if a call fails (e.g., 'formation not found', 'hero not present').
Missing enum constraints on string parameters. formationClass accepts free-form strings instead of enum (Infantry, Ranged, Cavalry, etc.). targetFaction accepts free-form strings. LLMs will hallucinate invalid values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Order one or all player formations to charge the enemy.
Order one or all player formations to fall back away from the enemy.
Order one or all player formations to hold position (stand your ground).
Order one or all player formations to retreat from battle.
Continue/advance the conversation to the next line (when no options are shown).
Get the current conversation state: speaker, text, and available options.
Select a dialogue option by index (0-based).
Start a conversation with a hero at the current settlement. Opens a map conversation without entering a 3D scene. The hero must be present in the same settlement as the player. Returns immediately — use conversation/wait_for_state to block until dialogue appears.
Wait until a conversation becomes active with dialogue options or text. Use after conversation/start or mission/talk_to_agent. Pass timeout via games.call_tool timeout parameter.
Check for anything blocking gameplay: active conversations, map conversation overlays, inquiry popups, scene notifications, active missions, or pending menus. Call this before time-sensitive actions (set_time_speed, move_to_settlement) to ensure the game is in a clean state.
Get the current game state: main menu, campaign map, mission/battle, or loading.
Connectivity test. Returns pong with server timestamp.
Skip the currently playing video (e.g. the campaign intro video after new_game). Calls the video's completion callback so the next game state loads properly.
Wait until the game reaches an expected state. Use after core/load_save (state='campaign_map'), party/enter_settlement (state='game_menu'), or menu/select_option for missions (state='mission'). Pass timeout via games.call_tool timeout parameter.
Change the player's relation with a hero.
Declare war on a faction (kingdom). The player's faction declares war.
Make peace with a faction the player is at war with.
Click a UI widget (button) by Id, text content, or index. Use get_screen first to find widgets. Many buttons lack Ids but have text — use their text to find and click them. Pass '__index:N' as widgetId to click the Nth button (0-based). Disabled buttons are blocked by default.
Get the current GauntletUI screen: layers, movies, and clickable buttons. Returns a compact summary. Use this when other tools (menu, inquiry, conversation) return nothing.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). LLMs cannot distinguish safe read-only tools from destructive ones. Agents may retry destructive operations, causing duplicate side effects.
Incomplete parameter descriptions. Many parameters lack format/range guidance. E.g., 'amount' in barter/offer_item has no min/max; 'pollIntervalMs' has no bounds; 'index' has no validation rules.