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 "Install 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 Serverwhat'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/等)内の特定のファイルまたは全ファイルを取得できます。
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | 取得する特定の.cwtファイル名またはパス (例: common.cwt, common/agreements.cwt) | |
| listOnly | No | ファイル一覧のみを表示する場合はtrue | |
| version | No | 取得するバージョン: stable (最新タグ) または latest (開発版) | stable |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide readOnlyHint=true and openWorldHint=true, indicating safe read operations with open-world assumptions. The description adds valuable context beyond annotations: it specifies the source (CWTools for Stellaris), the file types (.cwt files), version options (stable/latest), and directory structure (config/ and subdirectories like common/). This enhances understanding of the tool's behavior without contradicting annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured in two sentences. The first sentence states the core purpose, and the second elaborates on versions and file retrieval options. Every sentence adds value without redundancy, making it easy to parse and understand quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (3 parameters, no output schema) and rich annotations (readOnlyHint, openWorldHint), the description is fairly complete. It covers what the tool does, source details, and retrieval options. However, it could improve by mentioning potential outputs (e.g., file contents or listings) or error cases, but annotations help mitigate gaps. Sibling tools provide some context, but the description stands adequately on its own.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear descriptions for all parameters (file, listOnly, version). The description adds some semantic context by mentioning '特定のファイルまたは全ファイル' (specific files or all files) and 'config/直下およびサブディレクトリ' (config root and subdirectories), which aligns with the 'file' parameter. However, it doesn't provide additional details beyond what the schema already covers, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'CWToolsのStellarisコンフィグルール(.cwt files)を取得します' (retrieves CWTools Stellaris config rules). It specifies the resource (.cwt files) and the scope (from stable or development versions, specific files or all files). However, it doesn't explicitly differentiate from sibling tools like 'stellaris-search' or 'stellaris-validate', which might have overlapping domains.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by mentioning retrieval from '最新の安定版または開発版' (latest stable or development versions) and files in 'config/直下およびサブディレクトリ' (config root and subdirectories). However, it lacks explicit guidance on when to use this tool versus alternatives like 'stellaris-search' (which might search within configs) or 'stellaris-validate' (which might validate configs), and does not specify exclusions or prerequisites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stellaris-searchARead-only
OldEnt/stellaris-triggers-modifiers-effects-listリポジトリからStellarisの最新バージョンのドキュメントを検索し、指定したキーワードに一致する箇所をコードスニペットとして返します。大きなファイルを効率的に検索できます。
| Name | Required | Description | Default |
|---|---|---|---|
| contextLines | No | 一致した行の前後に表示するコンテキスト行数(デフォルト: 2) | |
| docType | Yes | 検索するドキュメントの種類: triggers (条件), effects (効果), modifiers (修正値), scopes (スコープ), localizations (ローカライゼーション) | |
| keyword | Yes | 検索するキーワード(英語推奨、大文字小文字区別なし) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide readOnlyHint=true and openWorldHint=true, indicating safe read operations with open-ended data. The description adds valuable behavioral context beyond annotations by specifying that it 'returns matches as code snippets' and 'efficiently searches large files,' which helps the agent understand output format and performance characteristics without contradicting annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded, with two concise sentences that efficiently convey the tool's purpose and key capabilities ('search documentation' and 'return code snippets efficiently'). Every sentence adds value without redundancy or unnecessary details.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (3 parameters, no output schema), the description is mostly complete. It covers the purpose, resource, and behavioral traits, but lacks details on output format beyond 'code snippets' (e.g., structure or examples). With annotations providing safety hints, it's adequate but could be slightly enhanced for full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema fully documents all three parameters (keyword, docType, contextLines). The description does not add any parameter-specific semantics beyond what the schema provides, such as explaining parameter interactions or usage nuances, meeting the baseline score of 3 for high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the specific action ('search documentation from the OldEnt/stellaris-triggers-modifiers-effects-list repository') and resource ('Stellaris latest version documentation'), distinguishing it from sibling tools like cwtools-config, stellaris-validate, and stellaris-version by focusing on keyword search rather than configuration, validation, or version checking.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use this tool ('search Stellaris documentation for keywords'), but does not explicitly state when not to use it or name specific alternatives among the sibling tools. It implies usage for efficient searching of large files, which is helpful but not comprehensive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stellaris-validateARead-only
指定したtrigger、effect、modifier、scope、localizationが最新バージョンのStellarisで有効かどうかをチェックします。modding時の互換性確認に便利です。
| Name | Required | Description | Default |
|---|---|---|---|
| docType | Yes | 検証するドキュメントの種類: triggers (条件), effects (効果), modifiers (修正値), scopes (スコープ), localizations (ローカライゼーション) | |
| element | Yes | 検証する要素名(例: has_technology, add_modifier, naval_capacity) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, indicating a safe, read-only operation with open-world semantics. The description adds valuable context about checking 'validity in the latest version of Stellaris' and 'modding compatibility,' which clarifies the tool's behavioral scope beyond the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and front-loaded, consisting of two sentences that efficiently convey the tool's purpose and usage context without any wasted words. Every sentence adds clear value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's moderate complexity (2 parameters, no output schema), the description is mostly complete. It explains what the tool does and its context, but lacks details on return values or error handling. With annotations covering safety and semantics, and schema covering parameters, the description is adequate but could be slightly enhanced.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with clear descriptions for both parameters (docType and element). The description does not add significant meaning beyond the schema, as it only mentions the parameter types without additional syntax or format details. Baseline 3 is appropriate given the comprehensive schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose with specific verbs ('check'/'validate') and resources ('triggers, effects, modifiers, scopes, localizations'), and distinguishes it from siblings by mentioning 'modding compatibility verification' which suggests a validation focus different from search or configuration tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for usage ('useful for modding compatibility verification'), but does not explicitly state when not to use it or name alternatives among sibling tools. It implies usage during modding but lacks exclusion criteria.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
stellaris-versionARead-only
ステラリスの現在のバージョン情報を取得します。ビルドID、最終更新日時、利用可能なバージョン番号などmodding に必要な情報を提供します。
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide readOnlyHint=true and openWorldHint=true, indicating this is a safe read operation with no side effects. The description adds valuable context beyond annotations by specifying what information is retrieved (build ID, last update time, version numbers) and its purpose for modding. It does not contradict annotations, as '取得します' (get) aligns with read-only behavior. However, it lacks details on rate limits or authentication needs, though these may not be critical for this tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise and well-structured in two sentences: the first states the core purpose, and the second elaborates on the specific information provided. Every sentence adds value by clarifying scope and utility, with no wasted words or redundancy. It is front-loaded with the main action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (0 parameters, read-only annotations, no output schema), the description is complete enough for an agent to understand its function and use case. It covers what the tool does, what information it returns, and the context (modding). However, without an output schema, it could benefit from more detail on the return format, though the annotations and lack of parameters mitigate this gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description appropriately does not discuss parameters, focusing instead on the tool's output and purpose. This meets the baseline for tools with no parameters, as it avoids unnecessary repetition of schema information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'ステラリスの現在のバージョン情報を取得します' (Get current version information for Stellaris). It specifies the verb '取得します' (get/retrieve) and resource 'バージョン情報' (version information), and distinguishes from siblings by mentioning modding-specific details like build ID, last update time, and version numbers, which none of the sibling tools (cwtools-config, stellaris-search, stellaris-validate) appear to cover.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage context by stating it provides 'modding に必要な情報' (information necessary for modding), suggesting this tool is for modding-related tasks. However, it does not explicitly state when to use this tool versus alternatives like stellaris-search or stellaris-validate, nor does it provide exclusions or prerequisites. The guidance is present but not comprehensive.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v1.0.0- First observed
cwtools-config - First observed
stellaris-search - First observed
stellaris-validate - First observed
stellaris-version
TDQS
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server exposing live Helldivers 2 galactic war data.
Public MCP server for discovering open jobs. Search, filter, and get application links.
MCP server for Crowdin — projects, files, strings, translation progress, tasks, and members.
Related MCP Servers
- AlicenseBqualityDmaintenanceこのMCPサーバーは、EVE Onlineのマーケットデータにアクセスするためのインターフェースを提供します。ESI(EVE Swagger Interface)APIを使用して、リアルタイムの市場データを取得できます。109MIT
- 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.-
- AlicenseNot 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.1MIT
- AlicenseAqualityBmaintenanceMCP 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.311MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kongyo2/Stellaris-Modding-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server