Everything you need to get started with the Hacking Minecraft with AI tutorials.
1. Node.js
We use Node.js to run our bots and MCP server.
- Download the LTS version from nodejs.org
- Follow the installer for your platform
- Verify it's installed:
node --version
npm --version
2. Java
PaperMC requires Java 21 or newer to run.
- Download from adoptium.net (Eclipse Temurin, JDK 21+)
- Follow the installer for your platform
- Verify it's installed:
3. Minecraft Server (PaperMC)
We use PaperMC — a high-performance Minecraft server that's easy to set up.
- Download the latest build from papermc.io/downloads — note the Minecraft version (e.g. 1.21.4), you'll need it in the next step
- Create a folder for your server and move the downloaded jar into it
- Run the server:
java -Xms3G -Xmx3G -jar path/to/paper-1.21.4-XXX.jar --nogui
- On first run, it will generate files and stop. Open
eula.txt and change eula=false to eula=true
- Run the server again — it will generate the world and start listening on port
25565
4. Minecraft Client (TLauncher)
To join the server yourself and see your bots in action, you'll need a Minecraft client. TLauncher is a free launcher that works with offline-mode servers.
- Create an account at tlauncher.org if you don't already have one
- Download TLauncher and install it
- Log in and pick a username (this is what you'll pass as
--player to your bots)
- Select OptiFine as the version (use the same Minecraft version as your PaperMC server)
- Click Enter the game
- Once in the main menu, go to Multiplayer → Add Server
- Server Address:
localhost:25565
- Click Done, then join the server
Note: In step 4, make sure to select the Minecraft version you noted in step 3.1 (e.g. OptiFine 1.21.4 for a 1.21.4 server).
You should now be in your local server. Leave it running while you work through the tutorials.
5. Claude Desktop or Claude Code
For the MCP tutorial, you'll need either Claude Desktop or Claude Code to connect to the MCP server.
Claude Desktop
- Download from claude.ai/download
- Install and sign in with your Anthropic account
Claude Code
- Install via npm:
npm install -g @anthropic-ai/claude-code
- Run
claude and follow the authentication prompts
You're all set
Once you have all of these running, head to Tutorial 1: Bot Basics to start building.