MCP Catalogs
首页STS2MCP screenshot

STS2MCP

by Gennadiyev·344·综合分 50

杀戮尖塔2的MCP服务器,为AI代理提供游戏状态和操作接口。

ai-llmotherproductivity
60
Forks
20
活跃 Issue
本月
最近提交
2 天前
收录于

概述

STS2MCP是杀戮尖塔2的一个模组,通过本地REST API和MCP服务器为Claude集成提供游戏状态和操作接口。它支持单人游戏和多人游戏模式,具有全面的游戏控制功能,包括资料切换、角色选择和大厅管理。该项目有积极的维护和清晰的文档,适合玩家和开发者使用。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI代理自主游玩杀戮尖塔2
:自动化重复性游戏任务和刷资源
:在复杂游戏环境中研究AI决策能力
:这是一个作弊模组吗?
:一次游戏会消耗多少token?

什么时候选它

如果你正在研究AI在游戏环境中的决策能力,或者希望AI代理能够访问完整游戏状态并自主玩《杀戮尖塔2》,选择这个MCP服务器。

什么时候不要选它

如果你需要支持除《杀戮尖塔2》以外的游戏,需要其他游戏的多人AI支持,或者不愿意修改外部游戏,请不要选择此解决方案。

此 server 暴露的工具

从 README 抽取出 7 个工具
  • get_game_state

    Retrieves the current game state in Slay the Spire 2

  • get_profile

    Gets the active profile's progress summary including discoveries and achievements

  • get_compendium

    Returns the compendium data including card library, relics, and run history

  • search_wiki

    Searches discovered card and relic wiki entries with fuzzy matching

  • list_profiles

    Lists all available profile slots and identifies the active profile

  • switch_profile

    Switches to a different profile slot

  • delete_profile

    Deletes a profile slot through the game UI

可对比工具

game-mcpdesktop-automation-mcpopenai-gym-integration

安装

  1. 下载最新版本,将STS2_MCP.dllSTS2_MCP.json复制到<游戏安装目录>/mods/
  2. 启动游戏并在设置中启用模组
  3. 模组会自动在localhost:15526启动HTTP服务器
  4. 设置MCP服务器,安装[uv](https://docs.astral.sh/uv/)并运行:

``bash uv run --directory /path/to/STS2_MCP/mcp python server.py ``

  1. 添加到Claude Desktop配置:

```json { "mcpServers": { "sts2": { "command": "uv", "args": ["run", "--directory", "/path/to/STS2_MCP/mcp", "python", "server.py"] } } }

FAQ

这是一个作弊模组吗?
该模组本身不改变游戏玩法。它只是一个允许外部程序与游戏交互的接口。如何使用这个接口取决于你。
一次游戏会消耗多少token?
Claude Sonnet 4.6进行一次完整游戏会使用略多于800万token,GPT-5.4平均为734万token。消耗量会因提示和模型选择而异。

STS2MCP 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。