MCPInstall
slaythespire-mcp logo

slaythespire-mcp

by jhgaylor 3 stars jhgaylor/slaythespire-mcp

A package for integrating AI with Slay the Spire via Communication Mod.

READMEmain

spirecomm

A package for using Communication Mod with Slay the Spire, with MCP server for external AI integration

Communication Mod

Communication Mod is a mod that allows communication between Slay the Spire and an external process. It can be found here:

https://github.com/ForgottenArbiter/CommunicationMod

The spirecomm package facilitates communicating with Slay the Spire through Communication Mod and accessing the state of the game.

Requirements:

  • Python 3.5+

Running the MCP Server:

With Slay the Spire (Production)

Configure Communication Mod to run: python /path/to/spirecomm-mcp/main.py

Standalone Testing (Development)

For testing without the game: python mcp_server.py

The MCP server exposes:

  • Game state as resources:
    • game://state - Complete game state
    • game://character - Character information
    • game://status - Current game status (in_game, screen type, errors)
    • game://screen - Detailed current screen information
  • Game actions as tools:
    • play_card - Play a card from hand
    • use_potion - Use a potion
    • end_turn - End the current turn
    • proceed - Proceed to next screen
    • cancel - Cancel current action
    • choose - Make a choice
    • start_game - Start a new game

Installing spirecomm:

Run python setup.py install from the distribution root directory

Testing Seed

YF62XIUSE56D

More Game Development MCP servers

Similar servers from the same category.

Provides a bridge to the Buu AI platform for generating 3D models from text prompts in various styles including Realistic, LowPoly, Voxel, and Stylized.

Game Development

Tripo 3D

vast-ai-research

Bridges AI systems with the Tripo 3D generation API, enabling text-to-3D model creation and manipulation through Blender addon integration for seamless 3D content creation workflows.

Game Development

尝试使用MCP搭建一个AI处理的“猜猜呗”游戏

Game Development

MCP Server do Fantasy Game Cartola FC.

Game Development