Minecraft MCP server integrating AI tools with game interaction

Minecraft MCP server integrating AI tools with game interaction

mc-mcp-server-rice-awa•byrice-awa

An integrated system where an AIAgent MCP server manages AI tools and LLM interactions, paired with a WebSocket and script API based Minecraft server for game interaction.

License: MIT•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Manages AI tools and LLM interactions through the MCP server component.
  • •Exposes MCP resources for players and world data.
  • •Defines MCP tools for commands and messages.
  • •Handles game interaction via WebSocket and script API.

BEST FOR

  • •External MCP clients that want to interact with a Minecraft world.
  • •Players triggering an AI agent through in-game chat.

ABOUT MC-MCP-SERVER-RICE-AWA

Minecraft MCP server integrating AI tools with game interaction is cataloged as an MCP server attributed to rice-awa. An integrated system where an AIAgent MCP server manages AI tools and LLM interactions, paired with a WebSocket and script API based Minecraft server for game interaction. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Minecraft MCP server integrating AI tools with game interaction are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What are the two request paths into the system?

External MCP clients interact with Minecraft through the AIAgent, and players can trigger the AIAgent via in-game chat.

上游原版 README

在 GitHub 查看同一版本原文

README.md · edb5eea1681c · 采集于 2026-11-13 11:34:37 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Minecraft MCP服务器文档索引

项目概述

Minecraft MCP服务器是一个集成系统,由两个核心组件组成:AIAgent(MCP-server)负责管理AI工具和处理LLM交互,以及基于WebSocket和脚本API的MC服务器负责处理游戏交互。系统支持两种请求路径:外部MCP客户端调用和游戏内聊天监听。

文档目录

1. 项目需求文档

2. 技术规范文档

3. 外部参考文档

系统组件

  1. AIAgent (mc-server) - 基于WebSocket和脚本API的服务器,处理游戏交互
  2. MCP服务器 - 负责管理AI工具和处理LLM交互,通过MCP前端服务器实现外部MCP客户端的访问

请求路径

  1. 外部MCP客户端路径 - 外部MCP客户端通过AIAgent与Minecraft交互
  2. 游戏内聊天路径 - 玩家通过游戏内聊天触发AIAgent

快速入门

  1. 阅读项目需求描述文档了解项目概况
  2. 参考技术架构文档了解系统设计
  3. 查看WebSocket通信规范了解通信协议和脚本API集成
  4. 学习MCP集成规范了解LLM集成方式和请求路径

项目结构规范

mc-mcp-server/
├── server/
│   ├── __init__.py
│   ├── mc_server.py       # WebSocket服务器实现
│   ├── agent_server.py      # Agent服务器实现
│   └── utils/
│       ├── __init__.py
│       ├── auth.py        # 认证相关工具
│       ├── llm.py         # 大语言模型调用工具
│       └── logging.py     # 日志工具
│
├── resources/             # MCP资源定义
│   ├── __init__.py
│   ├── player.py
│   └── world.py
├── tools/                 # MCP工具定义
│   ├── __init__.py
│   ├── commands.py
│   └── messages.py
├── config/                # 配置文件
│   ├── default.json
│   └── production.json
├── tests/                 # 测试目录
│   ├── __init__.py
│   ├── test_mc_server.py
│   └── test_mcp_server.py
├── docs/                  # 文档目录
├── main.py                # 主入口文件
├── requirements.txt       # 依赖声明
└── README.md              # 项目说明

开发指南

  1. 安装依赖:
    pip install -r requirements.txt
    
  2. 设置环境变量:
    export DEEPSEEK_API_KEY=your_api_key
    
  3. 启动MC服务器:

使用uv (推荐)

  • 安装uv
pip install uv
  • 使用uv运行
uv run main.py --full --mcp
  • 调试模式(记录WebSocket数据包)
uv run main.py --full --mcp --debug
  • 直接运行
python main.py --full --mcp
  • 调试模式
python main.py --full --mcp --debug
  1. 连接Minecraft客户端到MC服务器(默认端口8080)
  2. (可选)连接外部mcp客户端(http://0.0.0.0:8000/sse)

调试与日志

服务器提供了调试模式和增强的日志功能,帮助开发者诊断和解决问题:

  • 调试模式:使用 --debug 参数启动服务器,记录所有WebSocket数据包
  • 日志文件:日志自动保存在 logs 目录下
    • 主服务器日志:logs/server_YYYYMMDD-HHMMSS.log
    • WebSocket数据包日志:logs/packets/packets_YYYYMMDD-HHMMSS.log

详细信息请参阅 调试模式和日志功能文档。

贡献指南

  1. 遵循项目的代码风格和架构设计
  2. 提交前确保代码通过测试
  3. 更新相关文档以反映代码变更

版本历史

许可信息

  • 本项目以MIT开源
  • 其他项目许可证见LICENSES

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Minecraft MCP server integrating AI tools with game interaction from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mc-mcp-server-rice-awa)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable
Site views (30 UTC days)1

Approximate reported site interactions from 2026-10-27 through 2026-11-25 UTC; not unique visitors or installations.

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent