MCP cover image
See in Github
2025-04-06

Ein kleiner Minecraft MCP -Server mit der RCON -Schnittstelle

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://suefel.com
  • Latest advice and best practices for custom GPT development.

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

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

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

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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

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

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • modelcontextprotocol
  • Modellkontext -Protokollserver

  • Mintplex-Labs
  • Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.

  • n8n-io
  • Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.

  • ravitemer
  • Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • jae-jae
  • MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.

  • patruff
  • Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden

    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