Rhoiscribe について
Rhoiscribeは、Hearts of Iron IVのMOD制作エージェント向けのローカルMCPサーバーとSkillです。MOD資料と、ゲームで読み込めるファイルの生成・検査ツールを備え、パスやエンコーディングにも配慮します。
主な機能
- 01HOI4のプロンプトと資料を内蔵
- 02MODファイルの生成と安全な編集
- 03cwtoolsベースの言語サポート
- 04読み込みリスクと形式のチェック
- 05IDE間のエージェント状態と監査ログ
活用シーン
- 01ローカル資料を使ったHOI4 MODの生成
- 02ゲームでの読み込み問題の可能性を確認
- 03MOD作業領域のパス規則に沿った編集
MCP 対応
ローカルのstdio MCPサーバーが、内蔵プロンプト、リソース、MODツールを対応クライアントに公開します。Skillフォルダーを読み込めるエージェント向けのSkillパッケージもあります。
設定
ローカルサーバーの設定はどのクライアントでも共通です。コピーしてクライアントの MCP 設定ファイルに貼り付けてください。
このサーバーのパッケージやリモートエンドポイントはまだ取得できていません。プロジェクトの README の手順に従ってください。
ツール
ローカルサーバーのツールはマシン上で起動して初めて取得できます。メンテナーはまだツール一覧を提供していません。
README(原文)English
プロジェクトの README よりこの README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。
RHoiScribe
Local MCP server and SKILL for Hearts of Iron IV modding agents
If RHoiScribe helps your modding workflow, starring the repository helps other HOI4 mod authors find it.
RHoiScribe gives Codex, Claude Code, and other MCP-compatible clients a local HOI4 modding reference layer plus tools for generating game-readable files.
The goal is simple: reduce wasted agent work caused by repeated web searches, stale assumptions, unsafe file paths, missing localisation encoding, and Paradox script that looks plausible but does not load in game.
Environment
| Area | Value |
|---|---|
| Server transport | MCP over stdio |
| Implementation | Rust 2024 |
| Build tool | Cargo |
| Primary clients | Codex, Claude Code, MCP-compatible clients |
| Runtime network | Not required for bundled prompts, resources, and tools |
| Modding target | Hearts of Iron IV local mods |
Who It Is For
- Mod authors who want AI agents to generate HOI4 content with better local context.
- Agent workflows that need prompts, resources, and tools available through one MCP server.
- Offline or low-search development sessions where the agent should read bundled HOI4 guidance before writing files.
- Teams that want generated content to follow predictable mod-root paths and reviewable output shapes.
What It Provides
RHoiScribe gives agents a local HOI4 knowledge layer, reusable prompts, and file-oriented tools for common modding work. MCP clients can discover the exact prompts, resources, and tools through the standard MCP list methods after the server is configured.
At a high level, it helps agents with:
- project structure and reference awareness before broad edits
- HOI4 language support based on cwtools
- red/yellow/green checks for load-risk issues before delivery
- fast encoding, formatting, and media convention checks
- safe edits to existing files while respecting workspace conventions
- Rchadow-assisted HOI4 debug launch preparation
- RNMDB-backed cross-IDE agent state under
.rhoiscribe - tool-call audit logs with regex-filtered export from the same state database
- experimental GUI/GFX asset creation when the user approves new procedural art
The bundled Skill package is the quickest way to give compatible agents local access without editing MCP configuration. For complete functionality and a smoother experience, use the MCP server when your agent supports it.
For a closer look at the tools and recommended workflows, read the feature guide. For client configuration, see the MCP setup guide.
Quick Start
Download a prebuilt binary from GitHub Releases:
- Windows:
rhoiscribe-windows-x86_64.exe - Linux:
rhoiscribe-linux-x86_64 - macOS:
rhoiscribe-macos-universal
警告
The Skill package is still available for now, but it is no longer the recommended path for new language support. That support works best in a long-lived process that can stay warm; Skill runs as short-lived calls, so Skill support will be phased out gradually. Use the MCP server when your client can.
For agents that can read a Skill folder, download the matching Skill package:
- Windows:
rhoiscribe-skill-windows-x86_64.zip - Linux:
rhoiscribe-skill-linux-x86_64.zip - macOS:
rhoiscribe-skill-macos-universal.zip
Unzip it into a stable folder. The package contains SKILL.md and the matching executable, so an agent can use RHoiScribe directly even when you do not want to configure an MCP server.
Keep the downloaded file in a stable folder. On Linux and macOS, run chmod +x on the downloaded file if the system asks for executable permission.
Build from source only when you want a local Cargo build:
cargo build --release
Source builds place the executable under <ABSOLUTE_PATH_TO_RHOISCRIBE>/target/release/.
Print the command path to use in your MCP client:
.\rhoiscribe-windows-x86_64.exe --print-command
Linux and macOS users can run the same option on their downloaded file:
./rhoiscribe-linux-x86_64 --print-command
./rhoiscribe-macos-universal --print-command
For Codex, Claude Code, and generic MCP configuration examples, see docs/client-setup.md.
Help Improve RHoiScribe
HOI4 syntax and modding practice change over time. If you find bundled knowledge that is outdated, incomplete, or wrong, please open an Issue with the game version, file type, source reference, and a minimal example when possible.
Pull requests are welcome for expanding the knowledge catalog, improving examples, or building more MCP tools for generation, validation, project scanning, and other agent workflows.
Attribution
Projects based on RHoiScribe must include a clear README attribution section. Use the short statement template in docs/rhoiscribe-attribution.md.
Acknowledgements
Based on Rchadow
RHoiScribe uses Rchadow, an embeddable Rust playset and launch library for Hearts of Iron IV tools.Rchadow provides playset storage, HOI4 mod discovery, launcher-compatible load file generation, and launch abstractions.
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。

