realloon/RimSage
3.4
If you are the rightful owner of RimSage and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
A Model Context Protocol (MCP) server that provides RimWorld source code search and browsing capabilities.
Tools
3
Resources
0
Prompts
0
RimWorld Source MCP Server
A MCP server that provides RimWorld source code search and browsing capabilities.
Get started
- Install dependencies:
bun install
- Build index
bun run src/scripts/import-defs /path/to/your/rimworld/root/path
bun run src/scripts/import-csharp /path/to/decompiled/source/root/path
bun run build
- Add this MCP server:
# Claude Code
claude mcp add --transport stdio rimworld-source -- bun run /path/to/this/repo
# Gemini CLI
gemini mcp add rimworld-source bun run /path/to/this/repo
mcp.json
{
"mcpServers": {
"rimworld-source": {
"command": "bun",
"args": ["run", "/path/to/this/repo"]
}
}
}
Replace /path/to/this/repo with the actual path to this repository on your system.
Available Tools
Once configured, the server provides four tools:
search_rimworld_source- Search through RimWorld source coderead_rimworld_file- Read specific files with paginationlist_directory- List directory contents with paginationget_def_details- Get resolved RimWorld Def data by defNamesearch_defs- Search through RimWorld Defsread_csharp_type- Read the C# class/struct/interface definition
Requirements
Development
bun run start