What you need: Claude Desktop, MetaMask, Python 3.11+
Supported platforms: macOS, Linux, or WSL (Windows Subsystem for Linux)
macOS or Linux — run in Terminal:
curl -fsSL https://raw.githubusercontent.com/Cyfrin/battlechain-mcp/main/install.sh | bashWSL — run in PowerShell (Windows Terminal), not inside WSL:
irm https://raw.githubusercontent.com/Cyfrin/battlechain-mcp/main/install.ps1 | iexRestart Claude Desktop when it finishes.
Paste this into Claude Desktop:
Use your battlechain tools to run the security demo. Start by calling
prepare_environment right now, then walk me through each step in plain
English. I have MetaMask. Ask me to confirm before the attack.
Claude handles everything from there.