Skip to content
MCP server
Registry

minecraft-mcp MCP Server

Control a Minecraft client with the Minecraft MCP mod and JsMacros Reloaded.

minecraft-mcp scores 72 (Good), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 33 stars. Package registries report about 401 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by makkchMITJavaScript33 stars
Trust score
72Good
Trust score 72 of 100, Good

Good trust

72 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 72 comes from

22 + 20 + 9 + 10 + 4 + 7 = 72. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity9 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 9 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "makkch-minecraft-mcp": {      "command": "npx",      "args": [        "-y",        "@makkch/minecraft-mcp@0.5.0"      ],      "env": {        "MINECRAFT_MCP_TOKEN": "YOUR_MINECRAFT_MCP_TOKEN",        "MINECRAFT_MCP_URL": "http://127.0.0.1:28473/"      }    }  }}

Environment variables

NameRequiredNotes
MINECRAFT_MCP_TOKENSecretRequiredToken shown in the Minecraft MCP mod settings (F8).
MINECRAFT_MCP_URLOptionalHTTP(S) address of the Minecraft MCP mod. Supports a proxy path prefix.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

The agent controls your character with JsMacrosCE scripts: it writes one, runs it, reads the output, takes a screenshot, and reports in chat. You watch from your own point of view and type /mcp stop whenever you want the controls back.

Gallery

Everything here was done by an agent through Minecraft MCP. Browse all projects.

The banner scene was built and captured in Minecraft by GPT-6 Astra using Minecraft MCP.

Requirements

Choose the -fabric or -neoforge JAR for your Minecraft version group (minecraft-mcp-<version>+<group>-<loader>.jar).

Minecraft Java EditionJAR group
1.21.51.21.5
1.21.81.21.8
1.21.101.21.10
1.21.111.21.11
26.1, 26.1.1, 26.1.226.1
26.226.2
26.326.3
ComponentRequirement
LoaderFabric Loader 0.19.5+ with Fabric API, or NeoForge for your Minecraft version
JavaJava 21 for 1.21.x, Java 25 for 26.x
JsMacrosCE2.3.0 recommended. 2.2.0 is also supported. Choose the JAR for your Minecraft version and loader. Use the 26.1.2 JAR for the 26.1 group
Node.js22+ for the MCP server; 22.20+ for Skills CLI
AgentCodex, Claude Code, Claude Desktop, Cursor, or any client with stdio MCP support
BaritoneOptional, strongly recommended for navigation and resource gathering

Installation

There are three things to install:

ComponentWhereWhat it does
ModMinecraftReceives commands and runs them in the game
SkillAgentTeaches the agent how to write scripts and which APIs exist
MCP serverAgentExposes the game as tools the agent can call

We recommend running the agent, MCP server, and Minecraft on the same computer.

1. Install the mod

  1. Download the mod JAR for your Minecraft version from GitHub Releases (not the -sources.jar).
  2. Put it in your game's mods/ folder together with JsMacrosCE.
  3. Launch the game and press F8 to open the settings screen.
  4. Copy the token and note the port (normally 28473). You need both in step 3.

/mcp config opens the same screen. So does Mods → Minecraft MCP → Configure if you have Mod Menu. F8 can be rebound in Minecraft's Controls settings.

The screen also lets you enable Allow remote (off by default), configure automatic startup, and customize the [AGENT] chat tag, name, and colors.

LauncherLocation
Official Minecraft Launchermods/ inside the installation's Game Directory. By default .minecraft/mods/ on Windows/Linux, ~/Library/Application Support/minecraft/mods/ on macOS
Prism Launcher, MultiMCOpen the instance's Minecraft folder; usually .minecraft/mods/ inside the instance folder
Other launchersOpen the instance's game folder and use its mods/

2. Install the Skill

npx skills add MakkCH/minecraft_mcp --skill minecraft-mcp -g

Pick your agent when prompted, or name it directly with -a codex, -a claude-code, or -a cursor. The -g flag installs the Skill for all your projects. Leave it out to install for the current project only.

If your client has no Skill support, give the agent SKILL.md as instructions and make sure it can read the files that document refers to.

3. Add the MCP server

Add a stdio MCP server in your agent client, using the token from step 1 and the game's URL. The URL defaults to http://127.0.0.1:28473/; if F8 shows a different port, change the port in the URL.

Add this to ~/.codex/config.toml. If a minecraft_mcp entry already exists, edit it instead of adding a second one. (Codex MCP documentation)

[mcp_servers.minecraft_mcp]
command = "npx"
args = ["-y", "@makkch/minecraft-mcp@latest"]

[mcp_servers.minecraft_mcp.env]
MINECRAFT_MCP_TOKEN = "YOUR_TOKEN"
MINECRAFT_MCP_URL = "http://127.0.0.1:28473/"

(MCP documentation)

claude mcp add --env MINECRAFT_MCP_TOKEN=YOUR_TOKEN \
  --env MINECRAFT_MCP_URL=http://127.0.0.1:28473/ --transport stdio --scope user minecraft_mcp \
  -- npx -y @makkch/minecraft-mcp@latest

For Cursor, add this to ~/.cursor/mcp.json or your project's .cursor/mcp.json. For Claude Desktop, add it to claude_desktop_config.json. (Cursor documentation · Claude Desktop guide)

{
  "mcpServers": {
    "minecraft_mcp": {
      "command": "npx",
      "args": ["-y", "@makkch/minecraft-mcp@latest"],
      "env": {
        "MINECRAFT_MCP_TOKEN": "YOUR_TOKEN",
        "MINECRAFT_MCP_URL": "http://127.0.0.1:28473/"
      }
    }
  }
}
FieldValue
Nameminecraft_mcp
Transportstdio
Commandnpx
Arguments-y and @makkch/minecraft-mcp@latest (two separate arguments)
EnvironmentMINECRAFT_MCP_TOKEN, MINECRAFT_MCP_URL

Good to know:

  • npx -y @makkch/minecraft-mcp@latest is meant to be run by your MCP client. Run it yourself in a terminal and you only get a process waiting for input.
  • To pin the MCP server, replace latest in the package specifier with a version number that is compatible with your mod.
  • The token gives control of your game. Keep it out of shared repositories.

4. Try it

Restart your client's MCP connection, start a new chat, and say:

Inspect my Minecraft client and tell me what you can see.

Gather some wood nearby and keep me updated in chat.

If nothing happens, see Connection help.

Archive (.tgz): download it from the release and extract it. In your MCP configuration, set the command to node and the argument to the absolute path of src/server.mjs; the environment variables stay the same. Install the Skill as in step 2.

Codex plugin: still available and includes the Skill, but not recommended for new installations. Use the standalone setup above to configure the token and URL for each game instance (Codex MCP settings). See Codex plugin installation.

If you already use the plugin and want to switch to the standalone setup above, disable the plugin before enabling the standalone MCP server and Skill.

Staying in control

In MinecraftEffect
/mcp stopDisables the agent, stops MCP tasks, runs their registered cleanup, and releases pressed keys
/mcp startAllows the agent to act again
/mcp statusShows whether control is enabled and how many tasks are running
/mcp config or F8Opens the settings screen
  • While disabled, the agent can still take screenshots. If another mod continues an action, use that mod's stop control.
  • Disconnecting from a server or leaving a singleplayer world cancels running tasks. Changing dimensions does not.
  • [AGENT] messages appear only in your own chat. They are not sent to multiplayer servers.
  • The mod interface is in English.

The agent’s actions change your world and inventory.

Remote connection

Script contents can be sent to another computer, but require() and other file access use the game computer's filesystem. Use self-contained scripts or prepare dependencies on the game computer yourself.

  1. Enable Allow remote in the game's F8 settings and press Apply. Allow the game port through its firewall.
  2. In your agent's MCP configuration, set MINECRAFT_MCP_URL to the game's address, such as http://192.168.1.20:28473/.
  3. Use the token from the game's F8 screen, then restart the MCP connection.

Alternatively, leave Allow remote off and use an SSH tunnel:

ssh -N -L 38473:127.0.0.1:28473 user@game-host

Set the URL to http://127.0.0.1:38473/. MINECRAFT_MCP_URL also accepts HTTPS, IPv6, custom ports, and proxy path prefixes.

Scripts run with the full permissions of the Minecraft process. Connect only trusted agents; use SSH or HTTPS across untrusted networks to protect the token and script contents. Custom addresses and Allow remote require 0.4.0 or later.

Connection help

SymptomWhat to do
Connection refusedCheck that you launched the instance with the mod, and compare the port with F8
Authentication failed / HTTP 401The token does not match F8. Fix it and restart the MCP connection
Agent control disabledType /mcp start in the game
Agent cannot find the toolsCheck that the MCP server is enabled and Node.js is installed, then start a new chat
Port already in useWhen running several game instances, give each a different port in F8
Incompatible Minecraft MCP versionsUpdate the mod and MCP server to compatible versions
Remote connection refused / 404Check in order: Allow remote, IP and port, firewall, tunnel or proxy, URL prefix

Updating

ComponentHow
ModDownload the new JAR from Releases, close the game, replace the old file in mods/
MCP server (npm)With @latest, restart the MCP connection. If pinned, change the version number in your configuration first
Skillnpx skills update minecraft-mcp -g (use -p for a project-level install)
ArchiveReplace the extracted folder and restart the MCP connection
Codex pluginUpdate from the source you installed it from, then start a new chat

Updating does not touch your settings in the game or in the agent client. Update the MCP server and installed Skill together. Check that the MCP server is compatible with your mod.

Versions and compatibility

The mod and the agent package (MCP server, Skill, Codex plugin) share the first two parts of the version number. The third part moves independently.

  • Same first two parts means compatible. Mod 0.4.2 works with MCP server 0.4.0.
  • When the interface between the two changes, both move to the next minor version together.

The MCP server checks the mod version when connecting. Different major or minor versions are rejected before game actions run.

Development

src/                  MCP server (Node.js, stdio)
skills/minecraft-mcp/  Skill: instructions, API lookup, script utilities, examples
mod/                  Fabric and NeoForge client mod
tests/                Protocol tests and real-client integration tests
scripts/              Developer utilities
assets/               Icons, README media, gallery projects
.claude-plugin/       Claude Code plugin metadata
.codex-plugin/        Codex plugin metadata
.mcp.json             MCP server launch configuration

Build the mod

Stonecutter shares the mod source across both loaders and seven Minecraft targets. Run Gradle with JDK 25. Install JDK 21 as well for 1.21.x builds.

./gradlew build -PmcProfile=1.21.8 -Ploader=fabric
./gradlew build -PmcProfile=26.3 -Ploader=neoforge

Use gradlew.bat on Windows. JARs appear in mod/versions/<Minecraft>-<loader>/build/libs/. The 26.1 group uses the 26.1.2 build directory.

Package the agent bundle

Requires Node.js 22 or later:

npm ci
mkdir -p build/distributions
npm pack --pack-destination build/distributions

The package contains the MCP server, its dependencies, the Skill, plugin metadata, README, and icons. Gallery project files are left out.

Tests

CommandChecksNeeds
npm testMCP negotiation, tool list, argument validationNothing
npm run test:executeArguments, local files, diagnostics, 30-second waitsA local running game
npm run test:runtimeScript execution, game-thread callbacks, mod discovery, screenshotsA running game
npm run test:modSettings screen, token change and authentication, Mod Menu entry (if installed)A running game
npm run test:liveMovement, Baritone navigation, output, cancellation, markers, scoped stop, and stop-allA loaded test world; Baritone for navigation

The game tests connect to a Minecraft client set aside for testing and take its port and token from environment variables. To start one:

./gradlew runClient -PmcProfile=26.1 -Ploader=fabric -PmcpRunDir=/absolute/test-instance

The default run directory is run/<Minecraft>-<loader>/. When running several test clients, give each its own port and token.

Skill · JsMacrosCE API · Mod discovery · Script utilities · Examples

License

MIT © 2026 Mak. Bundled third-party dependencies retain their own licenses.

Frequently asked questions

What is minecraft-mcp MCP Server?

Control a Minecraft client with the Minecraft MCP mod and JsMacros Reloaded.

How do I install minecraft-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. minecraft-mcp MCP Server runs locally from the npm package @makkch/minecraft-mcp with the command npx -y @makkch/minecraft-mcp@0.5.0.

Is minecraft-mcp MCP Server free and open source?

Yes. minecraft-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does minecraft-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for minecraft-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is minecraft-mcp MCP Server's trust score calculated?

minecraft-mcp MCP Server scores 72 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server