Command-MCP
by limingzxc
Command-MCP lets an AI assistant such as Claude operate a Minecraft Java server remotely through the Model Context Protocol, the standard client interface for AI tools.
What it does
After the server loads the mod, a standard MCP client can look up items and blocks, run commands on the server, request in-game Tab completions, and assemble datapacks. The mod exposes these actions through a Streamable HTTP transport that answers POST, GET and DELETE requests on the mcp path, with JSON-RPC 2.0 messages. The server is built on the JDK's built-in HttpServer and uses the Gson library bundled with Minecraft, so it needs no extra libraries.
Command-MCP is server-side only, so players join without installing anything. It requires Fabric API and runs on Minecraft 1.20.1 with Fabric Loader 0.19.3 and Java 17. Installation takes one step: place the jar in the mods folder and start the game or server. The built jar appears in build/libs/ for anyone compiling from source. The code is released under the GNU General Public License v3.0 only and is open source, so forks must use a compatible license.
Key features
Remote server operation
An AI assistant can run commands, search the world and build datapacks on the server without a player logged in.
Session handling
Sessions are tracked with Mcp-Session-Id headers, expire after an idle timeout, and can keep SSE streams open with keepalive messages.
Bearer token authentication
Requests can be restricted with a bearer token, so only clients holding the key can reach the server.
In-game awareness
Chat notifications appear when an AI client connects or disconnects, so players know when a session starts.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Remote administration
Server owners can hand routine command work to an AI client connected from another machine.
Datapack building
An assistant can write and test datapacks through the MCP tools rather than through manual file edits.
Who it’s for: Server owners who want an AI assistant to run commands and inspect the world, and developers who connect MCP clients to a Minecraft server.
How it compares
Fabric API MCP Server is a Fabric mod under the MIT License, open source, for 1.21.11 – 26.2, and it can be installed on a client, a server or both. MCPFabric covers Fabric and NeoForge for 1.21.1 – 26.3 and must run on both the client and server under the MIT License. Dynmap Tab Complete is server-side only for 1.21.11 and also open source under the MIT License. Command-MCP targets only 1.20.1 and requires a server, with the server-side only environment.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Command-MCP | Fabric | 1.20.1 | Server-side only | 2026-08-15 |
| Fabric API MCP Server | Fabric | 1.21.11 – 26.2 | Client or server, optional | 2026-07-27 |
| MCPFabric | Fabric and NeoForge | 1.21.1 – 26.3 | Client and server | 2026-10-15 |
| Dynmap Tab Complete | Fabric | 1.21.11 | Server-side only | 2026-03-20 |
Questions
Which loader does Command-MCP need?
Do players need the mod installed?
Can the AI assistant write datapack files?
In the catalog
Command-MCP is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 34,764 mods support Minecraft 1.20.1.
Similar mods
What the author says
Expose your Minecraft server as an MCP (Model Context Protocol) server, so AI assistants such as Claude can operate your server remotely: search and run commands, use in-game Tab completion, and build datapacks — all through a standard MCP client. Built for Fabric with zero additional dependencies: the MCP server…
Official listing
- Modrinth page
- modrinth.com/mod/command-mcp
- Owner
- limingzxc
- Published
- 2026-08-15
- Updated on Modrinth
- 2026-08-15
- Facts verified
- 2026-10-15
