About STS2MCP
STS2MCP is an MCP server published by Gennadiyev in the Gaming category: full agentic runs for Slay the Spire 2. A mod that exposes in-game state, and the MCP server for the mod. Conduid read 64 tools from its source: bundle_cancel_selection, bundle_confirm_selection, bundle_select, combat_confirm_selection, combat_end_turn, combat_play_card and 58 more. No package is published for it, so it installs from a source checkout.
The repository has 551 stars and 115 forks, is licensed MIT, and its last commit was on 29 Jul 2026. The latest release is 0.4.0 (5 May 2026): Highlights ‼️Thanks to #71 by @romgenie , your agent can now navigate the menus✌️ While compendium and settings are not currently not supported, Timeline support and men… It follows 0.3.5-rc1 (10 Apr 2026), and the 5 most recent releases go back to 0.3.2 (28 Mar 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Tests present. Its topics include gaming.
Install
git clone https://github.com/Gennadiyev/STS2MCPTools (64)
bundle_cancel_selection[Bundle Selection] Cancel the current bundle preview.bundle_confirm_selection[Bundle Selection] Confirm the currently previewed bundle.bundle_select[Bundle Selection] Open a bundle preview.| Parameter | Type | Description |
|---|---|---|
| bundle_index * | integer | 0-based index of the bundle. |
combat_confirm_selection[Combat Selection] Confirm the in-combat card selection.combat_end_turn[Combat] End the player's current turn.combat_play_card[Combat] Play a card from the player's hand.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | Index of the card in hand (0-based, as shown in game state). |
| target | string | Entity ID of the target enemy (e.g. "JAW_WORM_0"). Required for single-target cards. |
combat_select_card[Combat Selection] Select a card from hand during an in-combat card selection prompt.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card in the selectable hand cards (as shown in game state). |
crystal_sphere_click_cell[Crystal Sphere] Click a hidden cell on the Crystal Sphere grid.| Parameter | Type | Description |
|---|---|---|
| x * | integer | Cell x-coordinate. |
| y * | integer | Cell y-coordinate. |
crystal_sphere_proceed[Crystal Sphere] Continue after the Crystal Sphere minigame finishes.crystal_sphere_set_tool[Crystal Sphere] Switch the active divination tool.| Parameter | Type | Description |
|---|---|---|
| tool * | string | Either "big" or "small". |
deck_cancel_selection[Card Selection] Cancel the current card selection.deck_confirm_selection[Card Selection] Confirm the current card selection.deck_select_card[Card Selection] Select or deselect a card in the card selection screen.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card (as shown in game state). |
delete_profileDelete an inactive profile slot.| Parameter | Type | Description |
|---|---|---|
| profile_id * | integer | Profile slot to delete. Must be 1, 2, or 3. |
discard_potionDiscard a potion from the player's potion slots to free up space.| Parameter | Type | Description |
|---|---|---|
| slot * | integer | Potion slot index to discard (as shown in game state). |
event_advance_dialogue[Event] Advance ancient event dialogue.event_choose_option[Event] Choose an event option.| Parameter | Type | Description |
|---|---|---|
| option_index * | integer | 0-based index of the option from the event state. |
get_compendiumGet the active profile's Compendium-shaped progress summary.get_game_stateGet the current Slay the Spire 2 game state.| Parameter | Type | Description |
|---|---|---|
| format | string | "markdown" for human-readable output, "json" for structured data. |
get_profileGet the current profile's persistent progress summary.list_profilesList the three profile slots and identify the active slot.map_choose_node[Map] Choose a map node to travel to.| Parameter | Type | Description |
|---|---|---|
| node_index * | integer | 0-based index of the node from the next_options list. |
menu_selectSelect a visible menu option.| Parameter | Type | Description |
|---|---|---|
| option * | string | Option ID from the current menu state's options list. If an option is listed under blocked_options, selecting it returns the API's manual-action response instead of forcing UI entry. |
| seed | string | Optional seed for supported embark flows. Standard mode rejects seeds. |
mp_bundle_cancel_selection[Multiplayer Bundle Selection] Cancel the current bundle preview.mp_bundle_confirm_selection[Multiplayer Bundle Selection] Confirm the currently previewed bundle.mp_bundle_select[Multiplayer Bundle Selection] Open a bundle preview.| Parameter | Type | Description |
|---|---|---|
| bundle_index * | integer | 0-based index of the bundle. |
mp_combat_confirm_selection[Multiplayer Combat Selection] Confirm the in-combat card selection.mp_combat_end_turn[Multiplayer Combat] Submit end-turn vote.mp_combat_play_card[Multiplayer Combat] Play a card from the local player's hand.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | Index of the card in hand (0-based). |
| target | string | Entity ID of the target enemy (e.g. "JAW_WORM_0"). Required for single-target cards. |
mp_combat_select_card[Multiplayer Combat Selection] Select a card from hand during in-combat card selection.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card in the selectable hand cards. |
mp_combat_undo_end_turn[Multiplayer Combat] Retract end-turn vote.mp_crystal_sphere_click_cell[Multiplayer Crystal Sphere] Click a hidden cell on the Crystal Sphere grid.| Parameter | Type | Description |
|---|---|---|
| x * | integer | Cell x-coordinate. |
| y * | integer | Cell y-coordinate. |
mp_crystal_sphere_proceed[Multiplayer Crystal Sphere] Continue after the Crystal Sphere minigame finishes.mp_crystal_sphere_set_tool[Multiplayer Crystal Sphere] Switch the active divination tool.| Parameter | Type | Description |
|---|---|---|
| tool * | string | Either "big" or "small". |
mp_deck_cancel_selection[Multiplayer Card Selection] Cancel the current card selection.mp_deck_confirm_selection[Multiplayer Card Selection] Confirm the current card selection.mp_deck_select_card[Multiplayer Card Selection] Select or deselect a card in the card selection screen.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card. |
mp_discard_potion[Multiplayer] Discard a potion from the local player's potion slots to free up space.| Parameter | Type | Description |
|---|---|---|
| slot * | integer | Potion slot index to discard (as shown in game state). |
mp_event_advance_dialogue[Multiplayer Event] Advance ancient event dialogue.mp_event_choose_option[Multiplayer Event] Choose or vote for an event option.| Parameter | Type | Description |
|---|---|---|
| option_index * | integer | 0-based index of the option from the event state. |
mp_get_game_state[Multiplayer] Get the current multiplayer game state.| Parameter | Type | Description |
|---|---|---|
| format | string | "markdown" for human-readable output, "json" for structured data. |
mp_map_vote[Multiplayer Map] Vote for a map node to travel to.| Parameter | Type | Description |
|---|---|---|
| node_index * | integer | 0-based index of the node from the next_options list. |
mp_proceed_to_map[Multiplayer] Proceed from the current screen to the map.mp_relic_select[Multiplayer Relic Selection] Select a relic (boss relic rewards).| Parameter | Type | Description |
|---|---|---|
| relic_index * | integer | 0-based index of the relic. |
mp_relic_skip[Multiplayer Relic Selection] Skip the relic selection.mp_rest_choose_option[Multiplayer Rest Site] Choose a rest site option (rest, smith, etc.).| Parameter | Type | Description |
|---|---|---|
| option_index * | integer | 0-based index of the option. |
mp_rewards_claim[Multiplayer Rewards] Claim a reward from the post-combat rewards screen.| Parameter | Type | Description |
|---|---|---|
| reward_index * | integer | 0-based index of the reward. |
mp_rewards_pick_card[Multiplayer Rewards] Select a card from the card reward screen.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card to add to the deck. |
mp_rewards_skip_card[Multiplayer Rewards] Skip the card reward.mp_shop_purchase[Multiplayer Shop] Purchase an item from the shop.| Parameter | Type | Description |
|---|---|---|
| item_index * | integer | 0-based index of the item. |
mp_treasure_claim_relic[Multiplayer Treasure] Bid on / claim a relic from the treasure chest.| Parameter | Type | Description |
|---|---|---|
| relic_index * | integer | 0-based index of the relic. |
mp_use_potion[Multiplayer] Use a potion from the local player's potion slots.| Parameter | Type | Description |
|---|---|---|
| slot * | integer | Potion slot index (as shown in game state). |
| target | string | Entity ID of the target enemy. Required for enemy-targeted potions. |
proceed_to_mapProceed from the current screen to the map.relic_select[Relic Selection] Select a relic from the relic selection screen.| Parameter | Type | Description |
|---|---|---|
| relic_index * | integer | 0-based index of the relic (as shown in game state). |
relic_skip[Relic Selection] Skip the relic selection without choosing a relic.rest_choose_option[Rest Site] Choose a rest site option (rest, smith, etc.).| Parameter | Type | Description |
|---|---|---|
| option_index * | integer | 0-based index of the option from the rest site state. |
rewards_claim[Rewards] Claim a reward from the post-combat rewards screen.| Parameter | Type | Description |
|---|---|---|
| reward_index * | integer | 0-based index of the reward on the rewards screen. |
rewards_pick_card[Rewards] Select a card from the card reward selection screen.| Parameter | Type | Description |
|---|---|---|
| card_index * | integer | 0-based index of the card to add to the deck. |
rewards_skip_card[Rewards] Skip the card reward without selecting a card.search_wikiSearch discovered card and relic wiki entries for the active profile.| Parameter | Type | Description |
|---|---|---|
| item_type | string | "all", "card", or "relic". |
| limit | integer | Maximum results to return. Defaults to 10; the mod clamps it to a bounded maximum. |
| query * | string | Search text such as "ironclad perfect strike" or "silver spoon". |
shop_purchase[Shop / Fake Merchant] Purchase an item from the shop.| Parameter | Type | Description |
|---|---|---|
| item_index * | integer | 0-based index of the item from the shop state. |
switch_profileSwitch to a profile slot through the game's profile UI.| Parameter | Type | Description |
|---|---|---|
| profile_id * | integer | Profile slot to switch to. Must be 1, 2, or 3. |
treasure_claim_relic[Treasure] Claim a relic from the treasure chest.| Parameter | Type | Description |
|---|---|---|
| relic_index * | integer | 0-based index of the relic (as shown in game state). |
use_potionUse a potion from the player's potion slots.| Parameter | Type | Description |
|---|---|---|
| slot * | integer | Potion slot index (as shown in game state). |
| target | string | Entity ID of the target enemy (e.g. "JAW_WORM_0"). Required for enemy-targeted potions. |
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedDependency versions are pinned by mcp/uv.lock.
- ✓No dynamic code executionScanned 12 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiomcp/server.py:1147
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 6 callsmcp/server.py:19, mcp/server.py:46, mcp/server.py:49
- Writes or deletes files
- 1 callMcpMod.cs:52
- Lockfile
- mcp/uv.lock
Pattern matches on the source text of 12 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.6K words, fetched 6 days ago. The original in the repository is authoritative.
Read full README