
elliotttate/sts2-modding-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Slay the Spire 2モッディング用のMCPサーバー — ゲームデータのクエリ、コード生成、ビルド、展開のための153ツール
概要
モディング用のモデルコンテキストプロトコルサーバ。 MCP 互換の AI アシスタント (クロード コード、クロード デスクトップ、カーソル、ウィンドサーフィンなど) に接続し、ゲームをリバースエンジニアリングし、モッド コードを生成し、実行中の Godot エンジンのビルド/ドプロイング、ライブインスペクトを生成し、自律的にモッドをプレイテストします。 - — Roslynの構文の木、インデックス3,048+の実体と144のホック、抽出物 15,000+ Godotアセット - — 30以上のエンティティティタイプ、Harmony patches、Godot UI、VFX、ネットワークメッセージ、および完全なMODプロジェクトへの推奨事項 - 自然言語、パッチ提案、コールグラフ、APIの互換性チェック - 改造、パッケージGodot PCKファイルの構築、ゲームへの展開、アセットとローカリゼーションの検証、変更のための時計 - 実行中のGodotシーンツリーの参照、読み取り/書き込みのノードを閲覧して、すべてのスクリーンショットを移動、Tweims、スクリーンショットを移動、すべての画面で表示、Tweimsを実行します.
概要(AI 翻訳)
Slay the Spire 2モディング用のモデルコンテキストプロトコルサーバー。 MCP 互換の AI アシスタント (クロード コード、クロード デスクトップ、カーソル、ウィンドサーフィンなど) に接続し、ゲームをリバースエンジニアリングし、MOD コードを生成し、ビルド/デプロイ、実行中の Godot エンジンのライブインスペクト、自律的にプレイテストする mods を提供します。
- リバースエンジニアリング — Roslynの構文ツリー、インデックス3,048+の実体と144のホック、抽出物 15,000+ Godotアセット
- コード生成 — 30以上のエンティティティタイプ、ハーモニーパッチ、Godot UI、VFX、ネットワークメッセージ、およびMODプロジェクトを完了するためのプロダクションレディC#
- コードインテリジェンス — 自然言語、パッチ提案、コールグラフ、APIの互換性チェックからの推奨事項を把握
- Build and deploy — mods をビルドし、Godot PCK ファイルをパッケージ化し、ゲームにデプロイし、アセットとローカリゼーションを検証し、変更を監視 -ライブシーンの検査 — 実行中のGodotシーンツリーをブラウズし、ノードプロパティを読み込み/書き込み、可視性を切り替え、Tweensとアニメーション
- 自動プレイテスト — シードランを開始し、カードを再生し、20倍の速度で実行し、スクリーンショットをキャプチャし、ブレイクポイントを設定
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
STS2 Modding MCP
A Model Context Protocol server for Slay the Spire 2 modding. Connects to any MCP-compatible AI assistant (Claude Code, Claude Desktop, Cursor, Windsurf, etc.) and provides 151 tools for reverse-engineering the game, generating mod code, building/deploying, live-inspecting the running Godot engine, and autonomously playtesting mods.
- Reverse engineering — decompiles C# assemblies with Roslyn syntax trees, indexes 3,048+ entities and 144 hooks, extracts 15,000+ Godot assets
- Code generation — production-ready C# for 30+ entity types, Harmony patches, Godot UI, VFX, network messages, and complete mod projects
- Code intelligence — hook recommendations from natural language, patch suggestions, call graphs, API compatibility checks
- Build and deploy — builds mods, packages Godot PCK files, deploys to the game, validates assets and localization, watches for changes
- Live scene inspection — browses the running Godot scene tree, reads/writes node properties, toggles visibility, animates with Tweens
- Automated playtesting — starts seeded runs, plays cards, navigates every screen, runs at 20x speed, captures screenshots, sets breakpoints
- 29 built-in guides — hooks, Harmony, localization, multiplayer, Godot UI, IL transpilers, combat, save files, and more
Your mileage will vary depending on which LLM you use. This project is a fun experiment — please ping me if you have issues, want to suggest a feature, or find a bug.
Prerequisites
- Python 3.11+ — check with
python --version - .NET SDK 9.0 — for building mods, the Roslyn code analyzer, and decompilation
- .NET 8.0 Runtime — required by
ilspycmd(see note below) - ilspycmd —
dotnet tool install -g ilspycmd(for C# decompilation) - GDRE Tools — for Godot asset extraction (optional, setup wizard can download it)
- Slay the Spire 2 — the game itself
.NET version note:
ilspycmdtargets .NET 8.0. If you only have .NET 9.0+ installed, decompilation will fail with a runtime error. The fix is to also install the .NET 8.0 runtime alongside your .NET 9.0 SDK. Both can coexist without issues.
Quick Start
git clone https://github.com/elliotttate/sts2-modding-mcp.git
cd sts2-modding-mcp
python -m venv venv
# Activate the virtual environment:
source venv/bin/activate # macOS / Linux
# source venv/Scripts/activate # Windows (Git Bash)
# venv\Scripts\activate.bat # Windows cmd
# venv\Scripts\Activate.ps1 # Windows PowerShell
pip install .
python -m sts2mcp.setup # auto-finds game, installs tools, decompiles
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"sts2-modding": {
"command": "/path/to/sts2-modding-mcp/venv/bin/python",
"args": ["/path/to/sts2-modding-mcp/run.py"]
}
}
}