模组简介
Spire Link is a local REST-style HTTP API for Slay the Spire 2. It lets AI agents, LLM clients, bots and your own tools read the game state as JSON (hand, enemy intents, map, shop, rewards and more) and send actions such as playing a card, choosing a path or claiming a reward. Use it for automation, run logging or AI research. It is not an MCP server itself, but you can build one on top of it. 本地 HTTP API:讓 AI 代理、機器人和自製工具讀取遊戲狀態並操作遊戲。 The mod makes no decisions for you. With nothing connected, you play the game as usual. Verified only on game v0.107.1, singleplayer only. On another game version it may not load or may misread some screens; if it starts, GET /health reports untested_game_version . Install • Subscribe and start the game. The first time the game finds a new mod it asks whether to load mods; allow it. • Install it once only: do not also put a copy in the game's mods folder. With the same mod in both places the game loads only one of them. • Modded play uses a separate set of save files. Your unmodded saves and progress are not touched. • To turn it off for a while, disable it in the Modding tab of the game's settings, or start the game with -nomods . • To remove it, unsubscribe. Its settings and data stay in %LOCALAPPDATA%\SpireLink ; delete that folder too if you want them gone. Settings and local data On first launch the mod creates %LOCALAPPDATA%\SpireLink\SpireLink.cfg with the port (default 15528) and a random API key. It lives outside the Workshop folder, so updates keep your key. The mod writes only to that folder and sends nothing over the network. With no program connected it still keeps a small log there: that it started and stopped, whether its two game patches were installed, when one of them triggers (with the id of the current event), and when the game's main thread stalls for 10 seconds. It saves no game states and no screenshots unless a program is connected. Automatic screenshots are off by default ( auto_capture in the config). Security • The API listens on 127.0.0.1 only; other machines cannot connect. Do not forward the port. • Every endpoint except /health needs the API key. Any program that can read your config can control the game, so only run clients you trust. • If the key leaks, close the game and delete SpireLink.cfg ; a new key is generated on the next launch. For developers Source code, API documentation and release zips: github.com/PingChunChung/spire-link Spire Link is a fan-made mod and is not affiliated with or endorsed by Mega Crit. MIT license. Made by PingChunChung .
详情图片
条目信息
- 所属游戏
- 杀戮尖塔 2 (Slay the Spire 2)
- 创意工坊 ID
- 3835108584
- 文件名
- 3835108584.bin
- 文件大小
- 505.3 KB
- 最后更新
- 2026/11/07
- 内容版本
- v1794026744-05bccf8b071ddbec
- 作者与来源
- 由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。
