Minecraft Mod

v1.0.0Browser Automationstable

A Fabric mod that implements a Model Context Protocol (MCP) server, enabling AI assistants like Claude to interact with Minecraft through structured commands.

modmcpai-integration
Share:
8
Stars
0
Downloads
0
Weekly
0/5

What is Minecraft Mod?

Minecraft Mod is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to fabric mod that implements a model context protocol (mcp) server, enabling ai assistants like claude to interact with minecraft through structured commands.

A Fabric mod that implements a Model Context Protocol (MCP) server, enabling AI assistants like Claude to interact with Minecraft through structured commands.

This server falls under the Browser Automation category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Fabric mod that implements a Model Context Protocol (MCP)

Use Cases

Control Minecraft through Claude via MCP commands.
cuspymd

Maintainer

LicenseCC0-1.0
Languagejava
Versionv1.0.0
UpdatedApr 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mod

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Minecraft Mod

The Minecraft MCP Server Mod is a Fabric mod for Minecraft 1.21.11 that implements a Model Context Protocol server inside the game, allowing AI assistants like Claude to control Minecraft through structured JSON commands over HTTP. It exposes tools for executing commands, reading player state, scanning block areas, and taking screenshots, with configurable safety limits.

Prerequisites

  • Minecraft 1.21.11 (Java Edition) with Java 21+
  • Fabric Loader 0.18.4 or later installed
  • Fabric API 0.141.3+1.21.11 mod installed
  • Claude Desktop or another MCP-compatible client on the same machine
1

Install Fabric Loader

Download the Fabric Loader installer from fabricmc.net and run it, selecting Minecraft version 1.21.11. This creates a new Fabric profile in the Minecraft launcher.

2

Download and place the mod JAR

Download the mcp-server-mod JAR from the GitHub releases page and place it in your .minecraft/mods folder along with the Fabric API JAR for version 0.141.3+1.21.11.

3

Launch Minecraft with the Fabric profile

Start Minecraft using the Fabric profile. On first load, the mod creates config/mcp.json with default settings. The MCP HTTP server starts automatically on port 8080.

4

Configure the MCP server settings

Edit .minecraft/config/mcp.json to adjust safety settings, allowed commands, and the server port if 8080 is in use. The max_area_size defaults to 50 blocks per axis.

{
  "server": {
    "port": 8080,
    "host": "localhost",
    "max_area_size": 50,
    "allowed_commands": ["fill", "clone", "setblock", "summon", "tp", "give", "gamemode", "effect", "weather", "time"]
  },
  "client": {
    "auto_start": true,
    "notifications": true
  }
}
5

Configure Claude Desktop to connect

Add the MCP server URL to your Claude Desktop configuration. The server runs at http://localhost:8080/mcp and is accessed by Claude as an HTTP MCP server.

Minecraft Mod Examples

Client configuration

Claude Desktop configuration connecting to the Minecraft MCP server running on localhost port 8080.

{
  "mcpServers": {
    "minecraft": {
      "url": "http://localhost:8080/mcp"
    }
  }
}

Prompts to try

Prompts to control Minecraft through Claude once the mod is running.

- "What is my current position, health, and what am I holding?"
- "Build a 10x5x8 oak plank structure at my current location"
- "Summon a villager next to me"
- "Scan the blocks in a 10-block radius around me and tell me what materials are nearby"
- "Take a screenshot of what I'm currently looking at"

Troubleshooting Minecraft Mod

Claude cannot connect to the Minecraft MCP server

Confirm Minecraft is running with the Fabric profile and the mod is loaded (you should see a startup message in the chat or logs). Verify port 8080 is not blocked by a firewall: curl http://localhost:8080/mcp should return a response.

Commands are blocked with safety validation error

The mod validates commands against the allowed_commands list in config/mcp.json. Add any additional commands you need to the allowed_commands array and reload the config by restarting Minecraft.

take_screenshot tool returns an error on a dedicated server

Screenshot functionality requires client-side rendering and is disabled on dedicated Minecraft servers. This tool only works when running in single-player or as a client-side mod. The mod automatically detects the environment and disables client-only features on servers.

Frequently Asked Questions about Minecraft Mod

What is Minecraft Mod?

Minecraft Mod is a Model Context Protocol (MCP) server that fabric mod that implements a model context protocol (mcp) server, enabling ai assistants like claude to interact with minecraft through structured commands. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Minecraft Mod?

Follow the installation instructions on the Minecraft Mod GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Minecraft Mod?

Minecraft Mod works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Minecraft Mod free to use?

Yes, Minecraft Mod is open source and available under the CC0-1.0 license. You can use it freely in both personal and commercial projects.

Browse More Browser Automation MCP Servers

Explore all browser automation servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mod": { "command": "npx", "args": ["-y", "mod"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Minecraft Mod?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides