Cover image
Try Now
2025-04-06

a tiny minecraft mcp server, using the rcon interface

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Minecraft RCON MCP Server

A Spring Boot application that provides a bridge between Model Context Protocol (MCP) and a Minecraft server's RCON interface, allowing AI models to send commands to a Minecraft server. Built with SpringAI.

Description

This project enables AI models using Spring AI's MCP functionality to interact with a Minecraft server through the RCON protocol. It provides a simple tool that can send commands to the Minecraft server and receive responses, making it possible for AI models to control and query the Minecraft server.

Prerequisites

  • Java 21 or higher
  • Maven 3.6 or higher
  • A Minecraft server with RCON enabled

Building the Project

  1. Clone the repository:

    git clone https://github.com/yourusername/minecraft-rcon-mcp.git
    cd minecraft-rcon-mcp
    
  2. Build the project using Maven:

    ./mvnw clean package
    

    On Windows:

    mvnw.cmd clean package
    
  3. The built JAR file will be located in the target directory:

    target/minecraft-rcon-mcp-1.0.0.jar
    

Configuration

The application can be configured using environment variables or a .env file in the project root directory.

Required Env Param Configuration

  • RCON_HOST: The hostname or IP address of the Minecraft server (default: localhost)
  • RCON_PORT: The RCON port of the Minecraft server (default: 25575)
  • RCON_PASSWORD: The RCON password for authentication (required, no default)

Optional Configuration

  • logging.file.name: The name of the log file (default: rconmcp.log)

Usage

Once the application is built and added to an MCP Client with your Env-Params, it exposes a Model Context Protocol (MCP) server that can be used by Spring AI clients to send commands to the Minecraft server.

The MCP server provides a tool called sendCommand that takes a Minecraft command as input and returns the response from the server.

License

MIT License

相关推荐

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • gergelyszerovay
  • A preconfigured development container setup for AI-assisted development with Claude, based on VS Code Dev Containers with integrated Model Context Protocol (MCP) server for file system and shell operations.

  • adafruit
  • Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.

    Reviews

    4 (1)
    Avatar
    user_S31eSQnH
    2025-04-16

    I've been a loyal user of minecraft-rcon-mcp, and it has significantly enhanced my server management experience. Created by deemkeen, this tool offers seamless remote control for Minecraft servers, with straightforward setup through the URL provided. The welcome message is informative, making it easy to get started. Highly recommended for anyone looking to efficiently manage their Minecraft server. Check it out: https://github.com/deemkeen/minecraft-rcon-mcp