1. Conduid
  2. Documentation
  3. OpenRA RL
MCP server · Documentation

OpenRA RL

Open Framework for AI Agents to play Red Alert through Reinforcement Learning

Unclaimed GPL-3.0 last commit 6 months ago docs
60Good

Scored 21 hours ago · breakdown

About OpenRA RL

OpenRA RL is an MCP server published by yxc20089 in the Documentation category: open Framework for AI Agents to play Red Alert through Reinforcement Learning. Conduid read 50 tools from its source: add_to_group, advance, assign_group, attack_move, attack_target, batch and 44 more. No package is published for it, so it installs from a source checkout.

The repository has 165 stars and 34 forks, is licensed GPL-3.0, and its last commit was on 16 May 2026. The latest release is v0.4.1 (3 Mar 2026): Changes since v0.4.0 ClawHub skill — comprehensive skill integration for OpenRA-RL Bench fixes — fix tool-capability detection false positives, always export bench JSON… It follows v0.4.0 (26 Feb 2026), and the 5 most recent releases go back to v0.2.1 (21 Feb 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include docs.

Install

From source
git clone https://github.com/yxc20089/OpenRA-RL

Tools (50)

add_to_groupGroup management
ParameterTypeDescription
group_name *stringName of an existing unit group
unit_ids *arrayList of unit actor IDs to add to the group
advanceAdvance game ticks
ParameterTypeDescription
ticksintegerNumber of game ticks to advance (~25 ticks = 1 game-second). Range 1-5000. Use 100-200 for movement, 300-750 for building construction.
assign_groupGroup management
ParameterTypeDescription
group_name *stringName for the unit group (e.g. 'scouts', 'main_army', 'defense')
unit_ids *arrayList of unit actor IDs to assign to this group
attack_moveUnit movement commands
ParameterTypeDescription
queuedbooleanIf true, queue after current orders; if false, replace current orders
target_x *integerTarget cell X coordinate (0 to map_width)
target_y *integerTarget cell Y coordinate (0 to map_height)
unit_ids *stringComma-separated unit IDs (e.g. 'u1,u2'), or selectors: 'all_combat', 'all_idle', 'all_infantry', 'all_vehicles', 'type:e1'
attack_targetUnit movement commands
ParameterTypeDescription
queuedbooleanIf true, queue after current orders; if false, replace current orders
target_actor_id *integerActor ID of the enemy unit or building to attack (from get_enemies)
unit_ids *stringComma-separated unit IDs or selectors (e.g. 'all_combat', 'type:3tnk')
batchMulti-action sequences
ParameterTypeDescription
actions *arrayList of action dicts, each with 'tool' and tool-specific params. Example: [{"tool":"build_unit","unit_type":"e1"}, {"tool":"move_units","unit_ids":"all_combat","target_x":50,"target_y":30}]
batch_lookupEfficient batch queries
ParameterTypeDescription
queries *arrayList of lookup queries, each with 'type' ('unit' or 'building') and 'name' (type code). Example: [{"type":"unit","name":"3tnk"}, {"type":"building","name":"weap"}]
build_and_placeBuild units and structures
ParameterTypeDescription
building_type *stringBuilding type code, e.g. 'powr', 'barr', 'weap', 'proc'
cell_xintegerPreferred placement X coordinate (0 = auto-find best position)
cell_yintegerPreferred placement Y coordinate (0 = auto-find best position)
build_structureBuild units and structures
ParameterTypeDescription
building_type *stringBuilding type code, e.g. 'powr' (power plant), 'barr' (barracks), 'weap' (war factory), 'proc' (ore refinery)
build_unitBuild units and structures
ParameterTypeDescription
countintegerNumber of units to queue for production
unit_type *stringUnit type code to train, e.g. 'e1' (rifle), 'e2' (grenadier), '3tnk' (heavy tank), 'v2rl' (V2 launcher)
cancel_productionBuilding and unit management
ParameterTypeDescription
item_type *stringType code of the unit or building to cancel (e.g. 'e1', 'powr')
command_groupGroup management
ParameterTypeDescription
command_type *stringCommand: 'move', 'attack_move', 'attack', 'stop', or 'guard'
group_name *stringName of the unit group to command
queuedbooleanIf true, queue after current orders
target_actor_idintegerTarget actor ID (for attack/guard commands)
target_xintegerTarget X coordinate (for move/attack_move)
target_yintegerTarget Y coordinate (for move/attack_move)
deploy_unitBuilding and unit management
ParameterTypeDescription
unit_id *integerActor ID of the unit to deploy (e.g. MCV deploys into Construction Yard)
end_planning_phasePre-game strategy planning
ParameterTypeDescription
strategystringYour chosen strategy summary (free text). Logged for analysis.
get_buildingsQuery current game state
get_economyQuery current game state
get_enemiesQuery current game state
get_exploration_statusQuery current game state
get_faction_briefingEfficient batch queries
get_game_stateQuery current game state
get_groupsGroup management
get_map_analysisEfficient batch queries
get_map_infoQuery current game state
get_opponent_intelPre-game strategy planning
get_planning_statusPre-game strategy planning
get_productionQuery current game state
get_replay_pathMisc
get_terrain_atTerrain queries
ParameterTypeDescription
cell_x *integerCell X coordinate to query
cell_y *integerCell Y coordinate to query
get_unitsQuery current game state
get_valid_placementsQuery valid building locations
ParameterTypeDescription
building_type *stringBuilding type code to find placements for (e.g. 'powr', 'barr')
max_resultsintegerMaximum number of valid positions to return
guard_targetBuilding and unit management
ParameterTypeDescription
queuedbooleanIf true, queue after current orders; if false, replace current orders
target_actor_id *integerActor ID of the unit or building to guard
unit_ids *stringComma-separated unit IDs or selectors (e.g. 'all_combat', 'type:e1')
harvestBuilding and unit management
ParameterTypeDescription
cell_xintegerHarvest location X coordinate (0 = auto-find nearest ore)
cell_yintegerHarvest location Y coordinate (0 = auto-find nearest ore)
unit_id *integerActor ID of the harvester unit
list_transportsList all friendly transport units with current passenger count and remaining capacity.
lookup_buildingStatic game data reference
ParameterTypeDescription
building_type *stringBuilding type code, e.g. 'powr' (power plant), 'barr' (barracks), 'weap' (war factory), 'tent' (allied barracks)
lookup_factionStatic game data reference
ParameterTypeDescription
faction *stringFaction name: 'soviet' or 'allied'
lookup_tech_treeStatic game data reference
ParameterTypeDescription
factionstringFaction name: 'soviet' or 'allied'
lookup_unitStatic game data reference
ParameterTypeDescription
unit_type *stringUnit type code, e.g. 'e1' (rifle infantry), 'e2' (grenadier), '3tnk' (heavy tank), 'dog' (attack dog)
move_unitsUnit movement commands
ParameterTypeDescription
queuedbooleanIf true, queue after current orders; if false, replace current orders
target_x *integerTarget cell X coordinate (0 to map_width)
target_y *integerTarget cell Y coordinate (0 to map_height)
unit_ids *stringComma-separated unit IDs (e.g. 'u1,u2'), or selectors: 'all_combat', 'all_idle', 'all_infantry', 'all_vehicles', 'type:e1' (all units of type)
place_buildingBuilding and unit management
ParameterTypeDescription
building_type *stringBuilding type code to place (must be fully constructed via build_structure)
cell_xintegerPlacement X coordinate (0 = auto-find best position)
cell_yintegerPlacement Y coordinate (0 = auto-find best position)
planMulti-action sequences
ParameterTypeDescription
steps *arrayList of step dicts, each with 'tool' and tool-specific params. Executed sequentially with state refresh between each.
power_downBuilding and unit management
ParameterTypeDescription
building_id *integerActor ID of the building to toggle power on/off
repair_buildingBuilding and unit management
ParameterTypeDescription
building_id *integerActor ID of the building to repair (from get_buildings)
sell_buildingBuilding and unit management
ParameterTypeDescription
building_id *integerActor ID of the building to sell (from get_buildings)
set_primaryBuilding and unit management
ParameterTypeDescription
building_id *integerActor ID of the building to set as primary production facility
set_rally_pointBuilding and unit management
ParameterTypeDescription
building_id *integerActor ID of the production building (from get_buildings)
cell_x *integerRally point X coordinate
cell_y *integerRally point Y coordinate
set_stanceBuilding and unit management
ParameterTypeDescription
stance *stringStance mode: 'holdfire', 'returnfire', 'defend', or 'attackanything'
unit_ids *stringComma-separated unit IDs or selectors (e.g. 'all_combat', 'type:e1')
start_gameStart a new Red Alert game. Returns initial game state.
start_planning_phasePre-game strategy planning
stop_unitsUnit movement commands
ParameterTypeDescription
unit_ids *stringComma-separated unit IDs or selectors: 'all_combat', 'all_idle', 'all_infantry', 'all_vehicles', 'type:e1'
surrenderMisc

Security checks

  • ✓README presentThe repository's README runs to about 2.4K words.
  • ✓License declaredThe repository declares the GPL-3.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 37 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

Releases

v0.4.1v0.4.1 — ClawHub skill, bench fixes, README revamp · 3 Mar 2026Changes since v0.4.0 ClawHub skill — comprehensive skill integration for OpenRA-RL Bench fixes — fix tool-capability detection false positives, always export bench JSON locally, skip upload when model lacks tool-calling or on errors HF…
v0.4.0v0.4.0 — Benchmarking, Agent Identity & Replay Uploads · 26 Feb 2026What's New OpenRA-Bench leaderboard — Live on HuggingFace Spaces Auto-upload — Game results automatically submitted to the leaderboard after `openra-rl play` Custom agent identity — Name your agent, declare its type, and link to your…
v0.3.1v0.3.1 — Windows fixes, AMD GPU, CLI improvements · 22 Feb 2026What's Changed Bug Fixes Fix replay viewer failing to find replay files (#9) — local replays are now preferred over container paths, fixing "Replay file not found" errors Fix UnicodeDecodeError on Windows with Chinese locale (#7) — all…
v0.3.0v0.3.0 — Replay Viewer & Local Server Mode · 21 Feb 2026What's New Replay Viewer (VNC-in-Docker) Watch game replays directly in your browser — no local game install needed: openra-rl replay watch # Watch the latest replay openra-rl replay list # List available replays openra-rl…
v0.2.1v0.2.1 — Fix pip install · 21 Feb 2026Fixed `openra-rl play` no longer crashes with `ModuleNotFoundError: No module named 'examples'` when installed via pip Moved LLM agent logic from `examples/llm_agent.py` into `openra_env/agent.py` (included in wheel)…

README

The repository's README runs to about 2.4K words, fetched 13 days ago. The original in the repository is authoritative.

Read full README
Questions

About OpenRA RL

How do I install OpenRA RL?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is OpenRA RL safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. It has no ConduID identity yet, so agent calls to it are not receipted.

Is OpenRA RL still maintained?

The last commit was 6 months ago and 37 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does OpenRA RL provide?

Conduid read 50 tools from the source: add_to_group, advance, assign_group, attack_move, attack_target, batch, batch_lookup, build_and_place and 42 more. 32 of them publish their parameters, listed under Tools above.

What license is OpenRA RL released under?

The repository declares the GPL-3.0 license. That applies to the latest release, v0.4.1, as well.