Stellaris Modding MCP Server
This server provides comprehensive tools for Stellaris modding assistance, including:
Retrieve Stellaris version information - Get build ID, update date, latest version details, and available versions via
stellaris-versionFetch CWTools configuration rules - Download .cwt files from stable or development branches, list available files, or get specific ones by name/path using
cwtools-configSearch Stellaris documentation - Find triggers, effects, modifiers, scopes, and localizations by keyword with code snippets and optional context lines via
stellaris-searchValidate Stellaris elements - Check if specific game elements exist in the latest documentation for mod compatibility using
stellaris-validate
Provides access to Stellaris modding configuration files and game documentation from GitHub repositories, including CWTools validation rules and automatically extracted game documentation for triggers, effects, modifiers, and scopes
Retrieves real-time Stellaris game version information, build IDs, update timestamps, and branch details through the SteamCMD API for mod development compatibility checking
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stellaris Modding MCP Server what's the current Stellaris game version?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Stellaris Modding MCP Server
これは実験的なプロジェクトです。APIの仕様変更や、予期せぬエラーが発生する可能性があります。
ステラリスのmodding支援用MCPサーバーです。SteamCMD APIとGitHub APIを使用して、mod開発者に必要な最新情報を提供します。
機能
ゲームバージョン情報: SteamCMD APIからステラリスの最新バージョン、ビルドID、更新日時を取得
CWToolsコンフィグ: Stellaris modding用の検証ルール(.cwt files)を取得
ドキュメント検索: triggers、effects、modifiers、scopes、localizationsの最新ドキュメントをキーワードで検索
要素検証: trigger, effectなどが最新バージョンで有効か検証
リアルタイム更新: 常に最新の情報を提供
エラーハンドリング: リトライ機能付きで安定した動作
Related MCP server: steam-store-search-mcp
利用可能なツール
1. stellaris-version
ステラリスの現在のバージョン情報を包括的に取得します。
取得情報:
現在のPublicブランチのビルドIDと更新日時
最新バージョン番号とその詳細情報
利用可能なバージョン一覧(最新10件)
特別なブランチ情報
ゲームの基本情報(App ID、開発者、対応OS等)
2. cwtools-config
CWToolsのStellarisコンフィグルール(.cwt files)を取得します。
パラメータ:
version:"stable"(最新タグ) または"latest"(開発版) - デフォルト:"stable"file: 特定のファイル名またはパス(例:"common.cwt","common/agreements.cwt")listOnly:trueの場合、ファイル一覧のみを表示 - デフォルト:false
機能:
config/直下およびサブディレクトリ内の.cwtファイルを取得
特定ファイルの内容取得または全ファイル一覧表示
安定版または開発版の選択可能
3. stellaris-search
OldEnt/stellaris-triggers-modifiers-effects-listリポジトリから最新のゲームドキュメントをキーワード検索します。
パラメータ:
docType:"triggers","effects","modifiers","scopes","localizations"のいずれかkeyword: 検索キーワードcontextLines: 前後に表示する行数(デフォルト: 2)
機能:
最新バージョンのドキュメントを自動で検索
一致した箇所をコードスニペットとして表示
4. stellaris-validate
指定した要素が最新バージョンのドキュメントに存在するかを検証します。
パラメータ:
docType:"triggers","effects","modifiers","scopes","localizations"のいずれかelement: 検証する要素名(例:has_technology)
機能:
要素の完全一致、部分一致をチェック
modの互換性確認に利用可能
開発
セットアップ
git clone <this-repository>
cd stellaris-modding-mcp-server
npm install開発モードで起動
npm run devこれにより、MCPサーバーが起動し、CLIで対話的にテストできます。
本番モードで起動
npm run startテスト実行
npm run testコードフォーマット
npm run formatリント実行
npm run lint使用API・データソース
SteamCMD API
SteamCMD API を使用してゲームバージョン情報を取得:
認証不要: APIキーや認証は必要ありません
リアルタイム更新: Steamでの変更が数秒以内に反映されます
無料: 完全に無料で使用できます
オープンソース: APIのソースコードも公開されています
GitHub API
以下のリポジトリからmodding関連情報を取得:
cwtools/cwtools-stellaris-config: Stellaris modding用の検証ルール(.cwt files)
OldEnt/stellaris-triggers-modifiers-effects-list: ゲームエンジンから自動抽出されたドキュメント
信頼性機能
リトライ機能: ネットワークエラーやレート制限に対する自動リトライ
指数バックオフ: 適切な間隔でのリトライ実行
フォールバック: 最新バージョンが利用できない場合の代替バージョン取得
ライセンス
MIT License
貢献
バグ報告や機能要求は、GitHubのIssuesでお知らせください。プルリクエストも歓迎します。
技術スタック
FastMCP - MCPサーバーフレームワーク
TypeScript - 型安全な開発
Zod - スキーマバリデーション
Vitest - テストフレームワーク
使用例
バージョン情報の取得
# MCPクライアントでの使用例
stellaris-versionCWToolsコンフィグの取得
# 利用可能なファイル一覧を表示
cwtools-config --listOnly true
# 特定のファイルを取得
cwtools-config --file "common.cwt"
# サブディレクトリのファイルを取得
cwtools-config --file "common/agreements.cwt"
# 開発版を取得
cwtools-config --version "latest"ドキュメントの検索
# triggersから "fleet" を検索
stellaris-search --docType "triggers" --keyword "fleet"要素の検証
# effect "add_modifier" が有効か検証
stellaris-validate --docType "effects" --element "add_modifier"対応バージョン
Node.js: 22以上
Stellaris: 全バージョン対応(SteamCMD APIから自動取得)
CWTools: 安定版および開発版
ゲームドキュメント: 常に最新バージョンを自動取得
トラブルシューティング
よくある問題
GitHub API レート制限
認証なしの場合、1時間あたり60リクエストの制限があります
大量のファイルを取得する場合は時間をおいて実行してください
ネットワークエラー
自動リトライ機能が組み込まれているため、一時的なエラーは自動的に回復します
継続的な問題がある場合は、インターネット接続を確認してください
バージョンが見つからない
ゲームドキュメントは利用可能な最新バージョンに自動的にフォールバックします
CWToolsコンフィグは安定版と開発版を選択できます
ログの確認
開発モードで実行すると詳細なログが表示されます:
npm run dev
Installing via Smithery
To install stellaris-modding-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kongyo2/stellaris-modding-mcp-server --client claudeAvailable Tools
4 toolscwtools-configARead-only
CWToolsのStellarisコンフィグルール(.cwt files)を取得します。最新の安定版または開発版から、config/直下およびサブディレクトリ(common/等)内の特定のファイルまたは全ファイルを取得できます。
Inputs: file, listOnly, version.
stellaris-searchARead-only
OldEnt/stellaris-triggers-modifiers-effects-listリポジトリからStellarisの最新バージョンのドキュメントを検索し、指定したキーワードに一致する箇所をコードスニペットとして返します。大きなファイルを効率的に検索できます。
Inputs: docType (required), keyword (required), contextLines.
stellaris-validateARead-only
指定したtrigger、effect、modifier、scope、localizationが最新バージョンのStellarisで有効かどうかをチェックします。modding時の互換性確認に便利です。
Inputs: docType (required), element (required).
stellaris-versionARead-only
ステラリスの現在のバージョン情報を取得します。ビルドID、最終更新日時、利用可能なバージョン番号などmodding に必要な情報を提供します。
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct and non-overlapping purpose: cwtools-config handles configuration file retrieval, stellaris-search performs documentation searches, stellaris-validate checks code validity, and stellaris-version provides version information. There is no ambiguity in their functions, making tool selection clear for an agent.
Three tools follow a consistent 'stellaris-' prefix pattern (stellaris-search, stellaris-validate, stellaris-version), while cwtools-config deviates slightly with a different prefix. This minor inconsistency does not hinder readability, as all names are descriptive and use snake_case consistently.
With 4 tools, the count is reasonable for a modding server, covering key areas like configuration, search, validation, and version info. It might benefit from additional tools for broader modding workflows, but it is well-scoped and not overly sparse or bloated.
The tools cover essential modding tasks such as configuration retrieval, documentation search, code validation, and version checking. However, there are notable gaps, such as missing tools for creating or editing mod files, testing mods, or managing dependencies, which could limit agent effectiveness in full modding workflows.
Related MCP Connectors
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
Public read-only MCP server for Genvernium product and developer resources.
MCP server exposing live Helldivers 2 galactic war data.
Related MCP Servers
- AlicenseBqualityDmaintenanceこのMCPサーバーは、EVE Onlineのマーケットデータにアクセスするためのインターフェースを提供します。ESI(EVE Swagger Interface)APIを使用して、リアルタイムの市場データを取得できます。1045 npm10MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that provides tools to search Steam games by keyword, retrieve game details (price, release date, genres), and fetch player reviews with recent ratings.-
- FlicenseNot gradedqualityBmaintenanceRead-only MCP server exposing CWTools Paradox/Stellaris semantic tools (syntax checking, scope queries, definitions, references, diagnostics, scripted triggers/effects/enums, and shader queries) to AI agents like Codex and Claude Code, bridging into VS Code-compatible hosts or running standalone.2-
- AlicenseAqualityDmaintenanceMCP server enabling AI assistants to search Steam games, retrieve official store metadata, and analyze player review sentiment via public Steam Storefront JSON APIs without an API key.312 npmMIT