MCP Server mod

โญ โ€” (10 endorsements) ๐Ÿ“ฅ 918 downloads ๐Ÿ“Œ v1.3.0+mc26.2 ๐Ÿ“… 8/22/2025
๐ŸŸก Updated this year

By cuspymd ยท fabric

โฌ‡ Download Mod Source: Modrinth โ†— ๐Ÿ“… Updated: 7/6/2026 ๐Ÿ“… Created: 8/22/2025
โš ๏ธ Install Order ยท 2 steps
1๐Ÿ› ๏ธ Forge โ€” Minecraft Forge (mod loader) Download โ†—
2๐Ÿ› ๏ธ Fabric โ€” Fabric Loader Download โ†—

Install in this order, then this mod last โ€” most mods fail to load without their framework and dependencies in place.

๐Ÿ” Analysis

  • ๐Ÿ‘ 1.1% endorsement rate โ€” high engagement, a strong quality signal
  • ๐Ÿ† #99 of 888 fabric mods in this game by downloads

๐Ÿ“‹ About This Mod

# ๐Ÿค– MCP Server Mod **Transform your Minecraft experience by connecting AI assistants directly to your game!** MCP Server Mod implements the **Model Context Protocol (MCP)** standard, creating a **streamable HTTP server** that allows Large Language Models like Claude, GPT, and other AI assistants to interact with your Minecraft world through structured commands. ## โœจ What This Mod Does This mod runs a **streamable HTTP server on port 8080** that accepts MCP protocol requests, enabling AI assistants to: - ๐Ÿ—๏ธ **Build structures** by executing placement commands - ๐Ÿ” **Analyze your world** by scanning block areas - ๐Ÿ“Š **Get player information** including position, health, and inventory - ๐ŸŽฎ **Control game mechanics** through safe command execution ## ๐Ÿ› ๏ธ Available Tools ### 1. execute_commands - Command Execution Execute Minecraft commands with comprehensive safety validation: - **Supported commands**: `fill`, `setblock`, `clone`, `summon`, `tp`, `give`, `gamemode`, `effect`, `enchant`, `weather`, `time`, `say` - **Safety limits**: Prevents destructive operations like mass entity killing or excessive area modifications - **Result tracking**: Returns detailed information about block changes, entity spawns, and command outcomes ### 2. get_player_info - Comprehensive Player Status Get detailed information about the player: - Position: Exact coordinates (x, y, z) and block positions - Orientation: Facing direction, yaw/pitch, cardinal direction - Calculated positions: Front position for building (3 blocks ahead) - Health & Status: Health, food level, experience - Game state: Current dimension, world time, game mode - Inventory: Selected slot, main hand/off-hand items Perfect for: Context-aware building, player-relative commands, status monitoring ### 3. get_blocks_in_area - World Analysis Scan rectangular areas to analyze structures: - Block detection: Returns all non-air blocks in specified area - Area limits: Configurable maximum area size (default: 50x50x50) - Structure analysis: Perfect for understanding existing builds - Build planning: Check areas before construction ### 4. take_screenshot - Visual Inspection Capture the current Minecraft game screen as an MCP image response. - Optional camera positioning: provide `x`, `y`, `z` to teleport before capture - Optional view control: provide `yaw`, `pitch` to set camera direction - Image output: returns Base64 PNG (`image/png`) for direct AI analysis - Great for build QA: verify structure shape, block placement, and surroundings visually - Supported from version **1.1.1+mc1.21.11** Important behavior: - If `x`, `y`, `z` are provided, the player is teleported. - If `yaw`, `pitch` are provided, the player view is changed. ## ๐Ÿš€ How to Use ### Installation 1. Install Fabric Loader 0.16.14+ for Minecraft 1.21.4 2. Install Fabric API 0.119.3+1.21.4 3. Place this mod in your mods folder 4. Launch Minecraft - the MCP server starts automatically on http://localhost:8080/mcp #### โš ๏ธ Important: Command Permissions Before using AI command tools, command input must be allowed: - Single Player: When creating a world, set **Allow Cheats** to **ON** - Multiplayer / Dedicated Server: The player must have command permission (**OP** or equivalent server permission) #### โš ๏ธ Important: Disable "Pause on Lost Focus" CRITICAL STEP: You must disable Minecraft's "Pause on Lost Focus" setting to allow AI interactions while switching between applications: - Press F3 + P in-game to toggle off "Pause on Lost Focus" - You'll see a message confirming the setting change Without this change, the game will pause every time you switch to your AI editor, preventing commands from executing properly. ### Connecting AI Code Editors (Direct Support) #### Cursor IDE 1. Add MCP server configuration in Cursor settings 2. Use HTTP transport: http://localhost:8080/mcp 3. Start coding with AI assistance that can control Minecraft! ``` { "mcpServers": { "minecraft": { "url": "http://localhost:8080/mcp" } } } ``` #### Windsurf IDE 1. Configure MCP connection in Windsurf 2. Connect to: http://localhost:8080/mcp 3. Enable AI-powered Minecraft interactions #### VS Code with Extensions - GitHub Copilot: Configure MCP integration - Roo Code: Direct HTTP MCP support - Other MCP extensions: Compatible with streamable HTTP transport ### Connecting Other AI Assistants #### Claude Code Since Claude Code uses stdio transport, you'll need a proxy: 1. Install mcp-proxy or similar stdio-to-HTTP bridge 2. Configure proxy to convert stdio โ†” streamable HTTP 3. Connect Claude Code to the proxy ## Example AI Interactions "Build me a small house" โ†’ AI uses get_player_info to find your location, then execute_commands to place blocks "What blocks are around me?"โ†’ AI uses get_blocks_in_area to scan nearby areas and

# ๐Ÿค– MCP Server Mod

Transform your Minecraft experience by connecting AI assistants directly to your game!

MCP Server Mod implements the Model Context Protocol (MCP) standard, creating a streamable HTTP server that allows Large Language Models like Claude, GPT, and other AI assistants to interact with your Minecraft world through structured commands.

## โœจ What This Mod Does

This mod runs a streamable HTTP server on port 8080 that accepts MCP protocol requests, enabling AI assistants to: - ๐Ÿ—๏ธ Build structures by executing placement commands - ๐Ÿ” Analyze your world by scanning block areas - ๐Ÿ“Š Get player information including position, health, and inventory - ๐ŸŽฎ Control game mechanics through safe command execution

## ๐Ÿ› ๏ธ Available Tools

### 1. execute_commands - Command Execution Execute Minecraft commands with comprehensive safety validation: - Supported commands: `fill`, `setblock`, `clone`, `summon`, `tp`, `give`, `gamemode`, `effect`, `enchant`, `weather`, `time`, `say` - Safety limits: Prevents destructive operations like mass entity killing or excessive area modifications - Result tracking: Returns detailed information about block changes, entity spawns, and command outcomes

### 2. get_player_info - Comprehensive Player Status

Get detailed information about the player: - Position: Exact coordinates (x, y, z) and block positions - Orientation: Facing direction, yaw/pitch, cardinal direction - Calculated positions: Front position for building (3 blocks ahead) - Health & Status: Health, food level, experience - Game state: Current dimension, world time, game mode - Inventory: Selected slot, main hand/off-hand items

Perfect for: Context-aware building, player-relative commands, status monitoring

### 3. get_blocks_in_area - World Analysis

Scan rectangular areas to analyze structures: - Block detection: Returns all non-air blocks in specified area - Area limits: Configurable maximum area size (default: 50x50x50) - Structure analysis: Perfect for understanding existing builds - Build planning: Check areas before construction

### 4. take_screenshot - Visual Inspection

Capture the current Minecraft game screen as an MCP image response. - Optional camera positioning: provide `x`, `y`, `z` to teleport before capture - Optional view control: provide `yaw`, `pitch` to set camera direction - Image output: returns Base64 PNG (`image/png`) for direct AI analysis - Great for build QA: verify structure shape, block placement, and surroundings visually - Supported from version 1. 1. 1+mc1. 21. 11 Important behavior: - If `x`, `y`, `z` are provided, the player is teleported. - If `yaw`, `pitch` are provided, the player view is changed.

## ๐Ÿš€ How to Use

### Installation

1. Install Fabric Loader 0. 16. 14+ for Minecraft 1. 21. 4 2. Install Fabric API 0. 119. 3+1. 21. 4 3. Place this mod in your mods folder 4. Launch Minecraft - the MCP server starts automatically on http://localhost:8080/mcp

#### โš ๏ธ Important: Command Permissions Before using AI command tools, command input must be allowed: - Single Player: When creating a world, set Allow Cheats to ON - Multiplayer / Dedicated Server: The player must have command permission (OP or equivalent server permission)

#### โš ๏ธ Important: Disable "Pause on Lost Focus"

CRITICAL STEP: You must disable Minecraft's "Pause on Lost Focus" setting to allow AI interactions while switching between applications:

  • Press F3 + P in-game to toggle off "Pause on Lost Focus"
  • - You'll see a message confirming the setting change

Without this change, the game will pause every time you switch to your AI editor, preventing commands from executing properly.

### Connecting AI Code Editors (Direct Support)

#### Cursor IDE

1. Add MCP server configuration in Cursor settings 2. Use HTTP transport: http://localhost:8080/mcp 3. Start coding with AI assistance that can control Minecraft!

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

#### Windsurf IDE

1. Configure MCP connection in Windsurf 2. Connect to: http://localhost:8080/mcp 3. Enable AI-powered Minecraft interactions

#### VS Code with Extensions

  • GitHub Copilot: Configure MCP integration
  • - Roo Code: Direct HTTP MCP support
  • - Other MCP extensions: Compatible with streamable HTTP transport

### Connecting Other AI Assistants

#### Claude Code

Since Claude Code uses stdio transport, you'll need a proxy: 1. Install mcp-proxy or similar stdio-to-HTTP bridge 2. Configure proxy to convert stdio โ†” streamable HTTP 3. Connect Claude Code to the proxy

## Example AI Interactions

"Build me a small house" โ†’ AI uses get_player_info to find your location, then execute_commands to place blocks

"What blocks are around me?"โ†’ AI uses get_blocks_in_area to scan nearby areas and

๐Ÿค– AI-enhanced โ€” based on mod data

๐Ÿ“Š Mod Details

Game
Minecraft Mods
Author
cuspymd
Version
1.3.0+mc26.2
Downloads
918
Endorsements
10
Category
fabric
Created
8/22/2025
Updated
7/6/2026
Game Versions
26.2
Tags
technology, utility, worldgen

๐Ÿ”ง How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

๐Ÿ“– Full step-by-step install guide for Minecraft Mods โ†’

Visit the official mod page for specific installation instructions for this mod.

๐ŸŽฎ Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

โ“ Frequently Asked Questions

Which Minecraft Mods versions does MCP Server mod support?

The author lists 26.2. Other versions may work but are untested by the author.

What is the latest version of MCP Server mod?

Version 1.3.0+mc26.2, published 2026-07-06 with 918 downloads recorded at the source.

Keep browsing โ€” more Minecraft Mods mods await

๐Ÿ“‹ All Minecraft Mods Mods ๐Ÿ† Top 25 ๐Ÿ“‚ More fabric ๐Ÿ‘ค More by cuspymd ๐Ÿ”Ž Similar Mods ๐ŸŒ Best fabric (All Games) ๐Ÿ”€ Check Compatibility โš–๏ธ Compare Mods ๐Ÿ†• New Mods