/ 디렉터리 / 플레이그라운드 / STS2MCP
● 커뮤니티 Gennadiyev ⚡ 바로 사용

STS2MCP

제작: Gennadiyev · Gennadiyev/STS2MCP

Let AI play Slay the Spire 2 — a mod and MCP server exposing real-time game state for autonomous and co-op agentic runs.

STS2MCP is a C# mod for Slay the Spire 2 that exposes game state via a REST API (localhost:15526) and an optional MCP server for AI agent integration. It enables Claude and other AI assistants to read game state, make decisions, and execute actions for autonomous or co-op gameplay. Supports Windows, Linux, and macOS.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

sts2mcp-2.replay ▶ 준비됨
0/0

설치

작성자 저장소에서 설치 안내 확인

사용 사례

실전 활용법: STS2MCP

How to have Claude play a run of Slay the Spire 2

👤 STS2 players curious about AI strategy ⏱ ~60 min beginner

언제 쓸까: You want to see how an AI approaches deck building and combat decisions.

사전 조건
  • STS2 with the mod installed — Download STS2_MCP.dll and .json to <game>/mods/, enable mods in settings
  • MCP server running — Server auto-starts on localhost:15526 when mod loads
흐름
  1. Start a run
    Start a new Slay the Spire 2 run. Check the game state — what character are we playing and what's our starting deck?✓ 복사됨
    → Character info, starting deck, and current map
  2. Make strategic decisions
    We're at a card reward screen. Analyze the options based on our current deck and suggest the best pick.✓ 복사됨
    → Analysis of each option with recommendation
  3. Handle combat
    We're in combat. Show me our hand, the enemies, and their intents. What's the optimal play order?✓ 복사됨
    → Combat analysis with recommended card play sequence

결과: A complete STS2 run with AI making strategic decisions.

함정
  • AI makes suboptimal decisions without full game knowledge — Provide context about game mechanics and synergies the AI may not know

조합

다른 MCP와 조합해 10배 효율

sts2mcp-2 + filesystem

Log game states and decisions for analysis and strategy improvement

Log every decision point and our choice to ~/sts2/run-log.json for later analysis.✓ 복사됨

도구

이 MCP가 노출하는 것

도구입력언제 호출비용
get_game_state none Get the current game state (map, deck, health, combat, etc.) 0
execute_action action: str, params?: obj Execute a game action (play card, end turn, make a choice) 0

비용 및 제한

운영 비용

API 쿼터
N/A — fully local
호출당 토큰
200–1000 tokens per game state query
금액
Free mod — requires Slay the Spire 2 ($24.99)
팁
Query game state only at decision points, not every frame.

보안

권한, 시크릿, 파급범위

자격 증명 저장: N/A
데이터 외부 송신: Local only — REST API on localhost:15526

문제 해결

자주 발생하는 오류와 해결

Mod not loading

Ensure STS2_MCP.dll and .json are in the <game>/mods/ directory and mods are enabled in game settings.

확인: Check the game's mod manager for STS2MCP
Can't connect to API

The server starts on localhost:15526 when the mod loads. Ensure the game is running with the mod enabled.

확인: curl http://localhost:15526/state
Game state returns empty during loading screens

Wait until the game finishes loading. State is only available during active gameplay.

확인: Try again after the map or combat screen is visible

대안

STS2MCP 다른 것과 비교

대안언제 쓰나단점/장점
Minecraft MCP ServerYou want AI-controlled gameplay in Minecraft rather than a card gameDifferent genre — open world building vs strategic card game

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기