杀戮尖塔2的MOD,将杀戮尖塔2的游戏状态与操作暴露为本地 HTTP API 包装成 MCP Server,供支持 MCP 的AI客户端直接调用
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"sts2-agent": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in entertainment
The official MCP Server for the Mux API
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
A Model Context Protocol (MCP) server that gives Claude direct control over Strudel.cc for AI-assisted music generation and live coding.
Unreal Engine MCP server — 19 tools, 300+ actions for AI-driven editor control
MCP Security Weekly
Get CVE alerts and security updates for STS2 Agent and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
https://github.com/user-attachments/assets/89353468-a299-4315-9516-e520bcbfbd4b
中文版说明请见 README.zh-CN.md.
STS2 AI Agent is a Slay the Spire 2 mod + MCP server bundle:
STS2AIAgent: exposes game state and actions through a local HTTP APImcp_server: wraps that local API as an MCP server for AI clientsDetailed MCP tool documentation lives in mcp_server/README.md. If you want an agent workflow on top of it, start with skills/sts2-mcp-player/SKILL.md.
After downloading and extracting the release package, copy these files into your game's mods/ directory:
STS2AIAgent.dll
STS2AIAgent.pck
mod_id.json
The default Steam install path is usually:
C:\Program Files (x86)\Steam\steamapps\common\Slay the Spire 2
Your final layout should look like this:
Slay the Spire 2/
mods/
STS2AIAgent.dll
STS2AIAgent.pck
mod_id.json
Launch the game normally so the mod can load with it.
Then open:
http://127.0.0.1:8080/health
If the endpoint responds, the mod is running.
Prepare the environment first:
Python 3.11+uvInstall uv on Windows:
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex"
On macOS:
brew install uv
Then start the default stdio MCP server.
Windows:
powershell -ExecutionPolicy Bypass -File ".\scripts\start-mcp-stdio.ps1"
macOS / Linux:
./scripts/start-mcp-stdio.sh
This is the recommended default. Most desktop AI clients prefer stdio MCP integration.
If your client supports command-based MCP startup, point its working directory at mcp_server/ and use:
uv run sts2-mcp-server
If your client works better over HTTP, start the network server instead.
Windows:
powershell -ExecutionPolicy Bypass -File ".\scripts\start-mcp-network.ps1"
macOS / Linux:
./scripts/start-mcp-network.sh
Default MCP endpoint:
http://127.0.0.1:8765/mcp
The current main branch provides a playable MCP integration for STS2, including:
resolve_rewards atomic action for controlled reward resolutionstdio or HTTPincrease_ascension / decrease_ascension controls in character selectSee mcp_server/README.md for the detailed tool surface.
http://127.0.0.1:8080/health Does Not OpenCheck these first:
STS2AIAgent.dll, STS2AIAgent.pck, and mod_id.json are all inside the game's mods/ directoryThat usually means mcp_server is running, but the in-game mod is not connected. Confirm:
http://127.0.0.1:8080/health is reachablehttp://127.0.0.1:8080Usually no.
Developer-only actions such as run_console_command are disabled by default and should stay disabled in normal use and releases.
If you are building from source instead of using a r