CharTyr

CharTyr / STS2-Agent

Public

杀戮尖塔2的MOD,将杀戮尖塔2的游戏状态与操作暴露为本地 HTTP API 包装成 MCP Server,供支持 MCP 的AI客户端直接调用

35
4
100% credibility
Found Mar 13, 2026 at 35 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
C#
AI Summary

A game add-on and helper program for Slay the Spire 2 that lets AI assistants read the game situation and take control to play autonomously.

How It Works

1
🕵️ Discover the STS2 AI Helper

You hear about a fun tool that lets smart AI friends play Slay the Spire 2 perfectly for you.

2
📥 Download the package

Grab the ready-made files from the project's download page.

3
📂 Add to your game

Copy the two simple files into your Slay the Spire 2 game's special add-ons folder.

4
🎮 Start the game

Launch Slay the Spire 2 like always, and do a quick check to see the helper is active and ready.

5
🚀 Turn on the AI bridge

Run an easy starter script to link your game to AI assistants.

6
🤖 Hook up your AI buddy

Connect it to your favorite AI chat program that understands game helpers.

🏆 AI masters the Spire

Relax and watch your AI make brilliant moves, win battles, and climb the tower effortlessly.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 35 to 35 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is STS2-Agent?

STS2-Agent is a C# mod for Slay the Spire 2 that exposes the full game state—combat, maps, rewards, events—and player actions as a local HTTP API on port 8080. A Python MCP server wraps this API, letting AI agents call tools like get_game_state, act, or wait_for_event over stdio or HTTP MCP. Drop the DLL/PCK into your mods folder, start the game, and run simple scripts to bridge STS2 to any MCP-compatible client.

Why is it gaining traction?

It solves AI training bottlenecks in roguelikes by streaming real-time events, snapshotting states, and executing actions without polling hacks—guided or full tool profiles keep agents focused. Cross-platform scripts handle Windows/macOS/Linux setup, including uv-based Python deps and Godot packing. At 35 stars, it's niche but hooks devs needing plug-and-play STS2 API for agent prototyping over raw game hooks.

Who should use this?

AI engineers building or fine-tuning game-playing agents on STS2 runs. Modders automating tests for combat, shops, or events via HTTP endpoints. RL researchers wanting an MCP-ready environment to iterate bots without custom bridges.

Verdict

Grab it for STS2 agent experiments—the docs and scripts make setup dead simple despite 35 stars and 1.0% credibility signaling early maturity. Skip if you need battle-tested production; otherwise, it's a solid weekend hack.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.