Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
RimBridgeServer runs an MCP server inside RimWorld so AI agents and external tools can remotely control and observe a running game.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Fetched from the repository for this visit.
RimBridgeServer is a RimWorld mod that turns the running game into a bridge an external tool can use.
In practice, that means a test harness, developer tool, or AI agent can start RimWorld, inspect live game state, drive built-in UI, manage mods and mod settings, execute debug actions, take targeted screenshots, and verify behavior against the real game instead of a simulation.
This project is aimed at automated mod development and testing:
Architecture and design notes live in docs/architecture.md, docs/lua-frontend-design.md, docs/semantic-state-design.md, and docs/attention-policy.md.
RimBridgeServer runs inside RimWorld and exposes a tool surface for:
It is designed to stay as close as possible to RimWorld's own logical seams instead of reimplementing gameplay logic outside the game.
RimWorld keeps running while its window is in the background, so agents can drive it without OS focus; the bridge restores this after RimWorld re-applies its preferences, without changing the saved preference.
GABS is the best way to use RimBridgeServer from an AI or automation harness.
Why this is the recommended mode:
Basic setup:
Mods folder.RimBridgeServer in RimWorld's mod list.Once RimWorld is up, GABS exposes the game-management tools (games.start, games.connect, games.call_tool) and then the live RimBridgeServer tool surface behind them.
RimBridgeServer now also publishes blocking attention when severe async failures happen after a call boundary, such as hard log errors or failed bridge operations. In GABS this surfaces through games.get_attention and games.ack_attention: ordinary game calls pause until the attention item is reviewed and acknowledged, while tagged bridge diagnostics and lifecycle observation tools such as rimbridge/get_bridge_status, rimbridge/list_operation_events, rimbridge/list_logs, rimbridge/wait_for_game_loaded, and rimbridge/wait_for_long_event_idle remain available for diagnosis and recovery. The current built-in policy is documented in docs/attention-policy.md.
If you want the same stack used for real mod repro-and-fix sessions, use:
Harmony plus the mod you are testingRimBridgeServer inside RimWorld for live game inspection and controlAssembly-CSharp.dll and related managed code while debuggingWhen Dubs Performance Analyzer is installed and active, RimBridgeServer also exposes generic DPA profiling tools for repeatable method-level Tick and Update measurements.
There is a short setup order here: docs/rimworld-mod-debugging-stack.md.
Direct mode still works if you do not want to use GABS.
Basic setup:
Mods folder.RimBridgeServer in RimWorld's mod list.In direct mode, RimBridgeServer logs lines like:
[RimBridge] GABP server running standalone on port 5174
[RimBridge] Bridge token: abc123...
Your client then connects to:
127.0.0.1The host and companion projects use the published RimBridgeServer.Sdk 2.0.0 package from NuGet.org.
The host uses the public Lib.GAB 1.0.7 package.
They need no local SDK feed or package generation.
The SDK source project and scripts/pack-sdk.sh remain available for SDK development and tests.
Release-facing assets are kept in source control so the in-game metadata, GitHub release packaging, and external post copy stay aligned.
About/ModIcon.png is the small in-game mod iconAbout/Preview.png is the preview/banner imageSource/Originals/Steam-Post.txt and Source/Originals/Ludean-Post.txt hold the maintained workshop/forum copyscripts/render-mod-icon.swift regenerates About/ModIcon.png from the preview artInstall or refresh the local Codex skills maintained by this repo with:
scripts/install-skills.sh
That command refreshes the generated rimbridge-server live bridge skill from README.md and docs/tool-reference.md, then installs repo-owned skills from skills/, including rimbridge-companion-tools for adding RimBridgeServer.Sdk companion DLLs to RimWorld mods and rimworld-17 for Waylith launch modes, isolated mod lists, engine diagnostics and profiling. The 1.7 skill records its inspected build and evidence limits; read it before choosing hidden-window or headless automation.
RIMWORLD_MOD_DIR is a parent directory deploy target: builds copy the mod to $RIMWORLD_MOD_DIR/RimBridgeServer and write $RIMWORLD_MOD_DIR/RimBridgeServer.zip.
When the enabled RimWorld mod is a specific Steam Workshop item folder or another exact active mod root, use RIMWORLD_MOD_TARGET_DIR instead. That deploys directly into the named folder and writes a zip beside it unless RIMWORLD_MOD_ZIP_PATH is set.
scripts/deploy-local-mod.sh \
--target-dir "$HOME/Library/Application Support/Steam/steamapps/workshop/content/294100/3727949765"
Before live smoke testing after a redeploy, confirm the active mod root with rimworld/get_mod_configuration_status; the game must load the same directory that the build just updated.
For a source-only build that cannot deploy even when RimWorld deploy environment variables are set, use:
scripts/build-mod.sh --test
If you only need the shortest possible mental model, use this:
rimbridge/get_bridge_status, rimworld/start_debug_game, rimworld/get_ui_layout, rimworld/take_screenshot, rimworld/list_mods, and rimworld/update_mod_settings to drive and validate the game.Tool replies are shaped for AI clients, whose tool output is capped (Codex keeps only the head and tail of about 48K characters):
page with offset, returned, total and, when more remains, nextOffset plus a hint; pass offset to continue. This applies to rimworld/get_cells_info, rimworld/get_ui_layout, rimworld/list_mods, rimworld/list_saves, rimworld/list_architect_designators, rimbridge/list_capabilities and rimworld/search_debug_actions.operation (OperationId, Status, Success, DurationMs, and Warnings/Error when present) and a compact state including the current game tick. Null and empty-string fields are omitted.arguments.unknown warning that lists the valid parameters.includeStepResults: false only failed steps are listed. When results exceed the budget, the largest are replaced by their size so small results such as file paths remain.Use rimworld/get_ui_layout when visual verification needs something more precise than a full-frame screenshot. The layout response exposes ui-surface ids for open windows/main tabs and ui-element ids for controls and natural regions such as scroll_view elements. Each surface and element includes a crop-ready screenRect. Elements scrolled outside their scroll view's viewport are counted (offscreenElementCount) instead of listed, and label-less layout filler is counted as omittedLayoutFillerCount; pass includeOffscreen: true to list everything.
Pass those ids to rimworld/take_screenshot as clipTargetId to crop a screenshot around a dialog, a window surface, a button, a label row, or a scroll viewport. For scroll views, use the element's scroll payload to read current offsets and limits, then call rimworld/scroll_ui_target with a delta or absolute target offset before capturing the next layout or cropped screenshot.
RimBridgeServer works in a live session of the Multiplayer mod. Multiplayer turns many game calls into commands that every player runs a few frames later. A tool waits until the session has run its commands, so the result shows the change. The time tools use the clock of the session. Changes that Multiplayer does not sync, such as a spawn or an area clear, go through sync methods of the bridge and run for every player. Debug tools need dev mode in the session. Tick stepping and loading a save refuse while a session runs.
Companions/Multiplayer is an optional test companion that drives the Multiplayer mod's native local host/join, faction, time-speed, save/replay and loading-diagnostics flows through RimBridgeServer. The main build builds it, and Mods-folder deployment puts its DLL in the sibling BridgeTools/Multiplayer folder; it is never part of the player mod ZIP. See Companions/Multiplayer/README.md.
Third-party mods can expose bridge tools through companion DLLs that reference the RimBridgeServer.Sdk NuGet package. RimBridgeServer starts its bridge services after RimWorld has loaded normal mod assemblies, then loads companion DLLs from explicit BridgeTools folders and registers their [Tool] methods through the same capability registry and top-level GAB tool surface as built-in tools.
Practical rules:
RimBridgeServer.Sdk as the only shared bridge dependencyMods folder and deploy its companion to that same install's sibling global BridgeTools root, for example $(RIMWORLD_MOD_DIR)/SomeMod/1.6/Assemblies/SomeMod.dll and $(RIMWORLD_MOD_DIR)/../BridgeTools/SomeMod/SomeMod.BridgeTools.dllRimWorldRoot/BridgeTools, either as loose single DLLs or first-level bundle foldersBridgeTools/PoseHarness/PoseHarness.dllMods folder so the mod DLL and companion DLL are updated as one deployment unitAssemblies folder, for example SomeMod/1.6/BridgeTools, as a rare packaged-mod edge case only; do not use that layout for ordinary local paired dev deploys unless the packaging model explicitly requires itTask<T>, ValueTask<T>, Task, or ValueTaskIRimBridgeContext and/or CancellationToken parameters when a tool needs injected SDK access; those parameters are hidden from the public tool schema[ToolParameter] for argument docs, Tool.ResultDescription for a short successful-result summary, and [ToolResponse] for response field docs when usefulctx.Tools.List(...), ctx.Tools.Get(...), ctx.Tools.CallAsync(...), typed ctx.Tools.CallAsync<T>(...), and ctx.Tools.QueueAsync(...)result.Succeeded(), result.PayloadSuccess(), and result.ReadResult<T>(...) when a called tool returns dictionary-shaped or anonymous-object payloadsRimBridgeEvidenceManifest and RimBridgeEvidence helpers for repeatable suites that should return screenshots, assertions, errors, and environment details in a stable shapectx.Game.NextFrameAsync(), ctx.Game.FramesAsync(...), ctx.Game.StepTicksAsync(...), ctx.Game.RunForTicksAsync(...), and ctx.Game.RunUntilAsync(...)rimworld/load_game_ready for a prepared save or rimworld/start_debug_game_ready for a fresh dev colony; those tools queue RimWorld long-event work and wait to the requested readiness targetrimbridge/get_bridge_status; the response includes the host SDK version, companion discovery records, local SDK-copy warnings, and companion load/register errorsMinimal example:
using RimBridgeServer.Sdk;
public sealed class MyModBridgeTools
{
[Tool(
"mymod/ping",
Description = "Example tool exposed through RimBridgeServer",
ResultDescription = "A success flag and the resolved label returned to the caller.")]
public object Ping(
[ToolParameter(Description = "Optional label")] string label = null)
{
return new
{
success = true,
label = label ?? "pong"
};
}
}
Async orchestration example:
using RimBridgeServer.Sdk;
public sealed class MyModHarness
{
[Tool("mymod/run_particle_test")]
public async Task<object> RunParticleTest(IRimBridgeContext ctx, string pawnId)
{
var spawn = await ctx.Tools.CallAsync("mymod/spawn_test_effect", new { pawnId });
if (!spawn.Succeeded())
return new { success = false, stage = "spawn", error = spawn.Error, spawn = spawn.Result };
await ctx.Game.RunForTicksAsync(120);
var state = await ctx.Tools.CallAsync("mymod/read_effect_state", new { pawnId });
return new
{
success = state.Succeeded(),
particleCount = state.TryReadResult<int>(out var count, "particleCount") ? count : 0,
state = state.Result
};
}
}
For stable contracts, use a typed DTO instead of a dynamic object payload:
var load = await ctx.Tools.CallAsync<LoadGameReadyResult>(
"rimworld/load_game_ready",
new { saveName, readiness = "visual", pauseIfNeeded = true });
if (!load.Succeeded())
return new { success = false, stage = "load", error = load.Error, load = load.Result };
Evidence suites can use the SDK's small manifest/assertion helpers without adopting a separate runner:
var manifest = RimBridgeEvidence.CreateManifest("mymod/render-sweep", runId);
manifest.saveName = saveName;
manifest.assertions.Add(RimBridgeEvidence.ToolSucceeded("load save", load));
manifest.captures.Add(new RimBridgeEvidenceCapture
{
label = "north",
kind = "cell_rect",
path = shot.TryReadResult<string>(out var path, "path") ? path : string.Empty,
details = shot.Result
});
RimBridgeEvidence.Complete(manifest);
return manifest;
The current public tool surface is grouped below by function. For the generated parameter-level reference pulled straight from the annotated source and kept fresh by CI, see docs/tool-reference.md.
Lua authoring note: rimbridge/run_lua is intentionally a lowered Lua subset, not general-purpose Lua. Start with rimbridge/get_lua_reference and rimbridge/compile_lua; prefer local bindings, rb.call/rb.poll, static field access, and static one-based indexes such as names[1]. Dynamic indexing such as names[i], arbitrary global assignment, and most broader Lua features are rejected in v1.
Playback default: RimWorld's private TickManager.UltraSpeedBoost is left off, so having the mod installed does not change speed 4 (Ultrafast) for normal play. rimworld/play_for and rimworld/play_until_letter turn the boost on for the duration of an Ultrafast run (or a forceRequestedSpeed run) and restore the previous value afterwards; rimworld/set_time_speed with ultraSpeedBoost sets it explicitly for the rest of the session.
rimbridge/ping - Connectivity test. Returns 'pong'.rimworld/get_game_info - Get basic information about the current RimWorld gamerimbridge/get_operation - Get the latest retained journal snapshot for a specific operation id, including any bounded retained result payloadrimbridge/get_bridge_status - Get the current bridge and RimWorld state snapshot without mutating game staterimbridge/list_capabilities - List registered bridge capabilities so an agent can discover the live bridge surface instead of relying on hardcoded tool knowledgerimbridge/get_capability - Get one registered bridge capability descriptor by capability id or aliasrimbridge/list_operations - List recent bridge operations from the in-memory operation journal, optionally expanding retained result payloadsrimbridge/list_operation_events - List recent bridge operation lifecycle events from the in-memory event journalrimbridge/list_logs - List recent captured RimWorld and bridge log entries from the in-memory log journal, including operation correlation when availablerimbridge/wait_for_operation - Wait for an operation in the journal to reach a terminal statusrimbridge/wait_for_game_loaded - Wait until RimWorld reaches the requested loaded-game readiness levelrimbridge/wait_for_long_event_idle - Wait until RimWorld reports no long events in progressrimworld/dpa_status - Read Dubs Performance Analyzer availability and bridge integration state without mutating DPArimworld/dpa_patch_methods - Patch explicit methods or a built-in preset into Dubs Performance Analyzer for repeatable Tick or Update profilingrimworld/dpa_snapshot - Snapshot current Dubs Performance Analyzer profiler rows sorted by average, max, total, calls, calls per entry, or labelrimworld/dpa_reset - Reset Dubs Performance Analyzer profiler buffers without changing the active patch setrimworld/dpa_stop - Stop Dubs Performance Analyzer profiling and reset its UI state without running cleanuprimworld/dpa_cleanup - Request Dubs Performance Analyzer cleanup after a profiling runrimbridge/get_script_reference - Get a machine-readable authoring reference for rimbridge/run_script, including statement types, expressions, conditions, limits, and examplesrimbridge/get_lua_reference - Get a machine-readable authoring reference for the lowered rimbridge/run_lua subset, including quick-start rules, common pitfalls, params binding, compile errors, limits, and examplesrimbridge/run_script - Execute a JSON script containing ordered capability calls and generic control statements; call rimbridge/get_script_reference for the machine-readable language referencerimbridge/run_lua - Compile a small lowered Lua subset, not general-purpose Lua, into the shared script runner and execute it through the normal capability registry; start with rimbridge/get_lua_reference or rimbridge/compile_luarimbridge/run_lua_file - Load a .lua file, treat it as the same lowered Lua subset used by rimbridge/run_lua, and execute it through the shared script runnerrimbridge/compile_lua - Compile the supported lowered Lua subset, not general-purpose Lua, into the JSON script model without executing capability calls; use this first for new script shapesrimbridge/compile_lua_file - Load a .lua file and compile it as the same lowered Lua subset used by rimbridge/run_lua without executing capability callsrimworld/pause_game - Pause or unpause the gamerimworld/set_time_speed - Set RimWorld's current time speed directly; the boost for speed 4 (Ultrafast) is off by default, and this tool can turn it on or offrimworld/play_for - Unpause the current game at a requested time speed for a bounded real-time duration, then pause it again; speed 4 (Ultrafast) is boosted for the duration of the run, and forced-normal-speed slowdown can optionally be suppressed during the runrimworld/play_until_letter - Unpause the current game at a requested time speed until a new right-side letter appears, then pause and return the new letter payload; speed 4 (Ultrafast) is boosted for the duration of the run, and forced-normal-speed slowdown can optionally be suppressed during the runrimworld/step_game_ticks - Advance the paused game by an exact number of ticks, one tick per Unity update frame, mirroring RimWorld's Dev_TickOnce path while preserving render-frame boundariesrimworld/list_debug_action_roots - List top-level RimWorld debug action roots using stable internal debug-action pathsrimworld/list_debug_action_children - List direct children of a RimWorld debug action pathrimworld/search_debug_actions - Search the RimWorld debug-action tree by path, label, category, and source metadata; submenus the game generates on demand are returned with expandable=true until opened, and their entries are not searchedrimworld/get_debug_action - Get metadata for one RimWorld debug action path and, optionally, its immediate childrenrimworld/execute_debug_action - Execute direct, pawn-target, or map-target RimWorld debug actions by stable pathrimworld/set_debug_setting - Set a RimWorld debug setting toggle by stable path to a deterministic on/off staterimworld/set_colonist_job_logging - Deterministically enable or disable job-tracker logging for one current-map colonist and return a log cursor plus recommended rimbridge/list_logs arguments for consuming future job linesrimworld/list_mods - List installed RimWorld mods, whether each one is enabled in the current configuration, and whether it matches the currently loaded sessionrimworld/get_mod_configuration_status - Read semantic mod-configuration status for the current active load order, including warnings, ordering issues, and whether a restart is required to match the loaded sessionrimworld/set_mod_enabled - Enable or disable one installed mod by stable mod id, package id, name, or folder name, optionally persisting the updated ModsConfig.xml immediatelyrimworld/reorder_mod - Move one currently enabled mod to a new zero-based active load-order index, optionally persisting the updated ModsConfig.xml immediatelyrimworld/list_mod_settings_surfaces - List loaded mod handles that expose a settings dialog, a persistent ModSettings state object, or bothrimworld/get_mod_settings - Read one loaded mod's semantic ModSettings object by stable mod id, package id, settings category, or handle type namerimworld/update_mod_settings - Apply one or more field-path updates to a loaded mod's ModSettings object, with optional immediate persistence through Mod.WriteSettings()rimworld/reload_mod_settings - Reload a loaded mod's ModSettings object from disk, discarding unsaved in-memory changesrimworld/open_mod_settings - Open RimWorld's native Dialog_ModSettings window for one loaded mod without foreground-dependent inputrimworld/get_designator_state - Get the current Architect/designator selection state, including god mode and the selected designatorrimworld/set_god_mode - Enable or disable RimWorld god mode deterministicallyrimworld/list_architect_categories - List RimWorld Architect categories using stable category idsrimworld/list_architect_designators - List Architect designators for one category, flattening dropdown widgets into actionable child designatorsrimworld/select_architect_designator - Select an Architect designator by stable id without relying on foreground UI interactionrimworld/apply_architect_designator - Apply an Architect designator to one cell or a rectangle, with optional dry-run validation, material and rotation; zone designators create a new zone unless rimworld/set_zone_target chose an existing onerimworld/list_zones - List current-map zones such as stockpiles and growing zonesrimworld/list_areas - List current-map areas such as home, roof, snow-clear, and allowed areasrimworld/create_allowed_area - Create a new allowed area and optionally make it the selected allowed-area targetrimworld/select_allowed_area - Select an allowed area by id for area-designator flows, or clear the selection when areaId is omittedrimworld/set_zone_target - Set or clear the explicit existing-zone target on a zone-add designatorrimworld/clear_area - Clear all cells from a mutable area such as a custom allowed arearimworld/delete_area - Delete a mutable area such as a custom allowed arearimworld/delete_zone - Delete an existing zone by idrimworld/list_plans - List current-map plans (the planning marks players draw to outline intended building areas) with bounds and shaperimworld/get_map_summary - Read the current map in one call: date, weather, temperature, active game conditions, wealth and pawn countsrimworld/get_cell_info - Inspect one map cell, including things, blueprints, frames, designations, zones, and areasrimworld/list_power_nets - List the current map's power nets with produced and consumed watts, stored energy, battery capacity and connected buildingsrimworld/list_buildings - List the current map's buildings with position, covered cells, rotation, faction, hit points and power state, filtered by def, architect category or player ownershiprimworld/get_cells_info - Inspect every map cell in a rectangle up to 1024 cells, including things, blueprints, frames, designations, zones, and areasrimworld/find_random_cell_near - Use RimWorld's expanding-radius random cell search to find a nearby cell or footprint that satisfies generic map criteriarimworld/flood_fill_cells - Analyze a contiguous area from one root cell using RimWorld's generic cell flood-fill algorithm and the same reusable footprint criteria as find_random_cell_nearrimworld/get_ui_state - Get the current RimWorld window stack and input state for background-safe UI automationrimworld/list_main_tabs - List RimWorld main tabs such as Work, Assign, Research, and mod-provided tabs with stable main-tab target idsrimworld/open_main_tab - Open one RimWorld main tab by stable target id, defName, label, or tab window typerimworld/close_main_tab - Close the currently open RimWorld main tab, optionally asserting which tab is open firstrimworld/list_inspect_tabs - List the current selection's dynamic RimWorld inspect tabs such as Health, Needs, Gear, and mod-provided tabs with stable selection-scoped inspect-tab idsrimworld/open_inspect_tab - Open one current RimWorld inspect tab by inspect-tab id, translated label, label key, tutor tag, or .NET type namerimworld/get_ui_layout - Capture a generic structured layout snapshot of the current dialogs, windows, main tabs, dynamic inspect tab strip, or selected gizmo grid, including actionable controls, crop-ready screen rects, and scroll-view metadatarimworld/click_ui_target - Activate an actionable UI control target returned by rimworld/get_ui_layout on the next real draw framerimworld/set_text_field - Write text into a text_field ui-element target returned by rimworld/get_ui_layout, either instantly or typed character by character through the live widget pathrimworld/press_key - Dispatch a synthetic key press through RimWorld's root OnGUI pass, or into the contents of one windowrimworld/scroll_ui_target - Scroll a scroll_view ui-element target returned by rimworld/get_ui_layout on the next real draw framerimworld/set_slider_value - Set a slider ui-element target returned by rimworld/get_ui_layout to a value on the next real draw framerimworld/click_ui_point - Click a point inside a window, for controls that rimworld/get_ui_layout does not list as actionablerimworld/set_hover_target - Set a bounded virtual cursor/hover target for UI review and screenshots, using a ui-element or screen target id, explicit screen coordinates, or a current-map cell, pawn, or thingrimworld/clear_hover_target - Clear the current virtual cursor/hover target so screenshots, mouseover-driven UI, and map clicks return to the real cursor staterimworld/press_accept - Send semantic accept input to the active RimWorld window stack without requiring OS focusrimworld/list_languages - List installed RimWorld languages, including a recommended ASCII-safe switch query for each language and the currently active languagerimworld/press_cancel - Send semantic cancel input to the active RimWorld window stack without requiring OS focusrimworld/close_window - Close an open RimWorld window by type name or, if omitted, the topmost windowrimworld/open_window_by_type - Open a RimWorld window by short or full .NET type name when the window exposes a public parameterless constructorrimworld/click_screen_target - Semantically click a known actionable target id returned by rimworld/get_screen_targets without requiring OS focusrimworld/switch_language - Switch RimWorld to an installed language by the recommendedQuery from rimworld/list_languages or another exact language name match, mirroring the main-menu language picker and saving prefsrimworld/start_debug_game - Start RimWorld's built-in quick test colony from the main menu while honoring RimWorld's Pause on load preferencerimworld/start_debug_game_ready - Start RimWorld's built-in quick test colony from the main menu, honor RimWorld's Pause on load preference, and wait for the requested readiness levelrimworld/go_to_main_menu - Return to the RimWorld main menu entry scene, or no-op if already thererimworld/list_colonists - List player-controlled colonists available for selection and drafting, including stable pawn idsrimworld/list_pawns - List every spawned pawn on the current map with its role, faction, position and jobrimworld/clear_selection - Clear the current map selectionrimworld/select_pawn - Select a single colonist by name or stable pawn idrimworld/deselect_pawn - Deselect a single selected pawn by name or stable pawn idrimworld/set_draft - Draft or undraft a colonist by name or stable pawn idrimworld/get_pawn_details - Read one pawn of any faction by name or stable pawn id: skills with base level, aptitude and disabled state, current job, job queue, needs, hediffs, traits and work prioritiesrimworld/get_selected_pawn_inventory_state - Read the selected pawn's carried thing and inventory contents, including Pick Up And Haul tracked items when availablerimworld/get_selection_semantics - Get structured details for the current selection, including inspect strings, inspect-tab types, and the current selection fingerprintrimworld/list_selected_gizmos - List the current selection's actionable grouped gizmos using deterministic selection-scoped gizmo idsrimworld/execute_gizmo - Execute one grouped gizmo for the current selection by gizmo id returned from rimworld/list_selected_gizmosrimworld/list_messages - List live RimWorld messages with native message ids and structured look-target metadatarimworld/list_letters - List current letter-stack entries with native letter ids, semantic letter content, and structured look-target metadatarimworld/open_letter - Open a specific letter by native letter id, mirroring a normal left-click on the letter stack entryrimworld/dismiss_letter - Dismiss a specific dismissible letter by native letter id, mirroring a normal right-click on the letter stack entryrimworld/list_alerts - List active RimWorld alerts with structured culprit targets and alert-snapshot-scoped alert idsrimworld/activate_alert - Activate one alert by alert id returned from rimworld/list_alerts, mirroring a normal left-click on the alert readoutrimworld/get_camera_state - Get the current map camera position, zoom, configured size range, extension opt-in state, and visible rectrimworld/set_camera_zoom_extension - Enable or disable RimBridgeServer's session-only extended camera zoom range; disabled by defaultrimworld/get_screen_targets - Get current screen-space targets such as open windows and active context-menu geometryrimworld/get_map_target_info - Resolve a current-map pawn or thing to its map position and occupied cell rectanglerimworld/jump_camera_to_pawn - Jump the camera to a pawn by name or stable pawn idrimworld/select_world_tile - Open the world view and select a world tile or the world object on it, for example to confirm a tile pickerrimworld/jump_camera_to_cell - Jump the camera to a map cellrimworld/move_camera - Move the camera by a cell offsetrimworld/zoom_camera - Adjust the current camera zoom/root sizerimworld/set_camera_zoom - Set the current camera root size directlyrimworld/frame_pawns - Frame a comma-separated list of pawns by name and/or stable pawn id so they fit in viewrimworld/frame_cell_rect - Frame a requested map-cell rectangle plus optional margin cells at the current camera zoom, or at an explicit root size when providedrimworld/screenshot_cell_rect - Center a requested map-cell rectangle plus optional margin cells at the current camera zoom, capture it, crop to the cell bounds, and restore the prior camera immediately after by defaultrimworld/take_screenshot - Take an in-game screenshot and optionally crop it to a screen target, UI surface, UI element, or scroll-view regionrimworld/list_saves - List saved RimWorld games and optionally return only saves whose recorded mods are all currently activerimworld/spawn_thing - Spawn a thing or a generated pawn on the current map at a target cellrimworld/save_game - Save the current game to a named saverimworld/load_game - Load a named RimWorld save after verifying every recorded mod is active, with an explicit compatibility-check overriderimworld/load_game_ready - Load a named RimWorld save with an explicit compatibility-check override, then wait until the requested readiness levelrimworld/open_context_menu - Dispatch a live map click at a target pawn or cell and capture the resulting context menu when one remains openrimworld/right_click_cell - Dispatch a live map click interaction for the current pawn selection so vanilla and modded handlers see the same input path as a real clickrimworld/click_cell - Dispatch a live map click at a current-map cell without requiring OS focus, using left, right, or middle mouse button and reporting before/after selectionrimworld/drag_cell - Dispatch a literal live map mouse drag from one current-map cell to another without requiring OS focus, using left, right, or middle mouse buttonrimworld/get_context_menu_options - Get the options of the open context menu: one opened by a bridge map click, or any pop-up option menu RimWorld itself opened, such as gizmo, crop or material pickersrimworld/execute_context_menu_option - Execute an option of the open context menu or pop-up option menu by index or labelrimworld/close_context_menu - Close the currently opened debug context menu[Tool] and [ToolParameter] annotations in sourceThe optional Waylith development companion and existing live-smoke command provide repeatable proofs for added test methods, hidden/headless execution, native profiling, shader watching and asset packs. See the tested capabilities and limits. These development tools are excluded from normal builds and player mod ZIPs.
The active gameplay bridge and Multiplayer companion target .NET 10 and AnyCPU.
Shared contracts and SDK projects retain their existing target frameworks.
Mod version 2.4.0 adds 1.7 support while retaining the published 1.6 runtime files.
The host ships the published SDK 2.0.0 DLL independently of the server version.
Companions reference RimBridgeServer.Sdk, Version=2.0.0.0 and do not bundle their own SDK copy.
Run scripts/build-mod.sh --test to build, create the public ZIP, and run local unit and isolated installer tests.
This command clears inherited deployment settings.
The verified public ZIP is artifacts/package/RimBridgeServer.zip.
Run scripts/deploy-local-mod.sh --mods-dir /path/to/RimWorld/Mods for the normal guarded build/install/ZIP workflow.
The existing exact --target-dir and --zip-path interfaces remain available.
Ordinary MSBuild builds also use the guarded installer when deployment properties are set.
The public ZIP always contains the pinned published 1.6 payload. Local installation preserves all existing 1.6 DLLs in place, even when their bytes differ from that baseline. It captures their bytes, inode, and modification time before installation and verifies that they remain unchanged. The local installation and public ZIP can therefore differ under 1.6 only. Current 1.7 files and metadata must match the new package exactly. Missing or extra legacy files, mismatched shared frozen resources, symlinks, a running game, and failed process inspection stop installation. A global lock serializes installation. Changed current files and ZIPs use atomic replacement. The installer never starts or stops the game.
Normal Mods-folder installation deploys Multiplayer tools beside Mods under BridgeTools/Multiplayer.
The optional existing Waylith build flag also deploys its matching bundle under BridgeTools/Waylith.
Both bundles stay outside the public mod ZIP. Exact-target installation keeps its existing public-mod-only behavior.
The host supplies its runtime SDK DLL; companion bundles contain only their own DLLs.
New-game startup and live bridge discovery remain separate runtime checks.
Loading reviews...
GitHub checked 136h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.