The StarCraft II API is an interface that provides full external control of StarCraft II.
This API exposes functionality for developing software for: * Scripted bots. * Machine-learning based bots. * Replay analysis. * Tool assisted human play.
The API is available in the retail Windows and Mac clients. There are also Linux clients available at the download links below.
To access the linux packages, map packs and replay packs, you must agree to the AI and Machine Learning License
The files are password protected with the password 'iagreetotheeula'.
By typing in the password ‘iagreetotheeula’ you agree to be bound by the terms of the AI and Machine Learning License
All additional game data should be extracted within the installation directory.
The default installation directories are: * Windows: C:\Program Files (x86)\StarCraft II\ * Mac: /Applications/StarCraft II/
On Linux, the installation directory is the folder you extracted the linux package into.
The folder structure is the same accross all platforms. However you may need to create some folders if they are missing.
Standard folder layout: * StarCraft II/ * Battle.net/ * Maps/ * Replays/ * SC2Data/ * Versions/
$ claude mcp add s2client-proto \
-- python -m otcore.mcp_server <graph>