
STS2MCP
by Gennadiyev·★ 344·Score 50
MCP server for Slay the Spire 2 that exposes game state and actions for AI agents.
Overview
STS2MCP is a mod for Slay the Spire 2 that exposes in-game state and actions via a localhost REST API with an MCP server for Claude integration. It supports both single-player and multiplayer modes with comprehensive game control including profile switching, character selection, and lobby management. The project is actively maintained with recent commits and provides clear documentation for both players and developers.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you're researching AI decision-making in game environments or want AI agents to play Slay the Spire 2 autonomously with full game state access.
When NOT to choose this
Don't choose if you need support for games other than Slay the Spire 2, require multiplayer AI support for games besides STS2, or prefer solutions without external game modding requirements.
Tools this server exposes
7 tools extracted from the READMEget_game_stateRetrieves the current game state in Slay the Spire 2
get_profileGets the active profile's progress summary including discoveries and achievements
get_compendiumReturns the compendium data including card library, relics, and run history
search_wikiSearches discovered card and relic wiki entries with fuzzy matching
list_profilesLists all available profile slots and identifies the active profile
switch_profileSwitches to a different profile slot
delete_profileDeletes a profile slot through the game UI
Comparable tools
Installation
- Download the latest release and copy
STS2_MCP.dllandSTS2_MCP.jsonto<game_install>/mods/ - Launch the game and enable mods in settings
- The mod starts an HTTP server on
localhost:15526 - For MCP server setup, install [uv](https://docs.astral.sh/uv/) and run:
``bash uv run --directory /path/to/STS2_MCP/mcp python server.py ``
- Add to Claude Desktop config:
```json { "mcpServers": { "sts2": { "command": "uv", "args": ["run", "--directory", "/path/to/STS2_MCP/mcp", "python", "server.py"] } } }
FAQ
- Is this a cheat mod?
- The mod itself does not alter gameplay. It's just an interface allowing external programs to interact with the game. What you do with that interface is up to you.
- How many tokens does a run consume?
- Claude Sonnet 4.6 uses slightly more than 8M tokens for a full run. GPT-5.4 averages 7.34M tokens. Consumption can vary based on prompt and model choice.
Compare STS2MCP with
Last updated · Auto-generated from public README + GitHub signals.