RimWorld

•

Enables an LLM to control a live RimWorld game by exposing its state and actions through the Model Context Protocol.

This tool acts as a Model Context Protocol (MCP) server, allowing Large Language Models (LLMs) to interact with and manage a running RimWorld 1.6 game. It consists of a C# mod that runs within RimWorld, establishing a local HTTP bridge to expose game state and accept commands. A Python-based FastMCP server then wraps these HTTP endpoints as MCP tools, facilitating real-time communication. This setup allows LLMs like Claude to read extensive game information—from colonist health and inventory to world threats and research progress—and issue commands such as drafting pawns, setting work priorities, constructing buildings, and managing resources, all routed safely through the game's main thread.

主要功能

01Comprehensive game state reading for pawns, world, items, and more
02Extensive command capabilities for drafting, moving, building, and managing colonists
03HTTP bridge for seamless LLM integration and control of RimWorld
04Safe, cross-thread communication for RimWorld API calls within Unity's frame processing
05Supports RimWorld 1.6 and integrates with Royalty, Biotech, and Ideology DLC features
060 GitHub stars

使用案例

01Real-time monitoring and analysis of RimWorld game state by external systems
02Controlling RimWorld gameplay directly with an LLM
03Developing advanced AI agents for strategic RimWorld management