agentleFS
chapmanjwchapmanjw/minecraft-java-fabric-claude-plugin/skills/setup-fabric/SKILL.md

setup-fabric

Skill9 starsChanged 4 months agoMITView on GitHub

Step 1 of 4 of the Minecraft Java MCP setup. Install Minecraft Java Edition with the Fabric loader — either a single-player client or a headless dedicated server — as the foundation the MCP mod runs inside. Use when the user wants to set up Minecraft Java for AI/MCP control from scratch, or asks how to get Fabric running so Claude can build in their world.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask the user, before downloading anything:

    line 43
  2. Very specific:

    Run it once to generate server.properties and eula.txt, then stop it (Ctrl+C):

    line 114

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Install Minecraft Java + Fabric (Step 1 of 4)

You are guiding the user through the first of four setup phases. Work interactively: do one thing, confirm it worked, then move on. Do not dump the whole procedure at once.

The big picture — explain this first

The user is building a stack that lets Claude read and change a live Minecraft Java Edition world. Unlike a separate server process, the MCP server is a Fabric mod that runs inside Minecraft itself. There are four setup phases, one per skill, run in order:

PhaseSkillWhat it does
1setup-fabric (this one)Minecraft Java Edition with the Fabric loader.
2setup-modThe MCP mod jar + its matching Fabric API jar in mods/.
3setup-serverThe mod's config.json, launched and verified on /healthz.
4setup-connectRegister the MCP server with Claude so the Java tools appear.

Tell the user this is Phase 1, and that each phase ends by handing off to the next. Budget ~10 minutes for a single-player setup, ~20–30 for a dedicated server.

Pin your versions — say this out loud. The mod ships a separate jar per Minecraft version, built against that version's Fabric API. A Minecraft or Fabric update can break the modding surface the mod depends on. Pick a supported Minecraft version, pin it, disable auto-update for that profile, and upgrade Minecraft, the Fabric API jar, and the mod jar together.

Gather context

Ask the user, before downloading anything:

  1. Single-player or dedicated server?
    • Single-player (recommended default): Claude edits the world you play in, on your own machine. Loopback only, no token, no firewall changes. ~10 minutes.
    • Dedicated server: a headless Minecraft server (for friends, or to keep the MCP endpoint up 24/7). LAN/remote access with a bearer token. Branch the rest of this skill on their answer.
  2. Which Minecraft version? The mod supports 1.21.11, 26.1.1, 26.1.2, 26.2, and 26.3. Default to the newest the user is comfortable with (26.3). Record the exact version — it must match the mod jar and Fabric API jar in Phase 2. The mod jar declares an EXACT Minecraft dependency, so a mismatch is refused at load with a clear message rather than failing later.
  3. (Dedicated server only) What OS and where? Linux or Windows; same machine as Claude, LAN box, or cloud VM. The host needs a JDK: Java 21 for 1.21.11, Java 25 for every 26.x. (Single-player uses the launcher's bundled runtime — no separate JDK needed.) The connect step (Phase 4) cares where it runs, so note their answer.

Single-player branch

Step 1 — Install the Fabric loader

Send the user to the official installer: https://fabricmc.net/use/installer/

  • Windows: download and double-click the .exe.
  • macOS / Linux: java -jar fabric-installer-*.jar.

In the installer, pick the Client tab, select the Minecraft version chosen above, leave the default install location, and click Install.

Step 2 — Create the profile and the mods folder

Open the Minecraft Launcher. A new Fabric Loader profile should appear. Launch it once and then exit the game — this first run creates the .minecraft/mods/ folder Phase 2 drops jars into. The mods folder lives at:

OSPath
Windows%appdata%\.minecraft\mods\
macOS~/Library/Application Support/minecraft/mods/
Linux~/.minecraft/mods/

Confirm with the user that the Fabric profile launched and the mods/ folder now exists. Record the mods-folder path — Phase 2 needs it.


Dedicated server branch

Step 1 — Install the Fabric dedicated server

Download the Server installer from https://fabricmc.net/use/server/ into a dedicated directory, then run it (substitute the chosen Minecraft version):

mkdir -p /opt/fabric-mcp
cd /opt/fabric-mcp
java -jar fabric-server-installer-*.jar server -mcversion 26.1.2 -downloadMinecraft

This produces fabric-server-launch.jar and downloads the Minecraft server jar. On Windows, use a stable path with no spaces (e.g. C:\fabric-mcp); avoid Program Files and OneDrive-synced folders. Use this folder as <server> for the rest of setup and record its absolute path.

Step 2 — First run + EULA

Run it once to generate server.properties and eula.txt, then stop it (Ctrl+C):

java -Xmx2G -jar fabric-server-launch.jar nogui

Open eula.txt and change eula=false to eula=true.

Step 3 — Confirm command access

For Claude's command-backed tools to work, the server must allow operator commands. In server.properties, confirm sensible defaults (e.g. gamemode=creative so agents can build freely if that suits the user). The MCP mod runs tool calls as the console, which has full command permission — no per-player op is required for the MCP tools themselves.

On 26.3 a dedicated server defaults to white-list=true, so the user's own character cannot join until added. Set white-list=false in server.properties for a private server, or run whitelist add <name> via command_execute. The MCP console tools are unaffected.


Wrap up

Confirm with the user (the relevant set for their branch):

  • Minecraft version chosen and recorded; auto-update not relied on.
  • Single-player: Fabric Loader profile created; launched once; mods/ folder exists and its path is recorded.
  • Dedicated server: Fabric server installed; ran once; eula=true; server root path recorded; correct JDK present (21 for 1.21.11, 25 for every 26.x).

Then hand off: tell the user Phase 1 is done and the next step installs the MCP mod and its Fabric API dependency. Offer to continue with the setup-mod skill now.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.