LN

l3-n0x/minecraft-wiki-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 7 forks 质量 65 趋势 15

一个用于浏览官方Minecraft维基的MCP服务器!

概览

一个用于浏览官方Minecraft维基的MCP服务器! 这是 v2——一次完整的 Python 重写。如果你是从 v1(TypeScript)升级过来的,请看下面的迁移说明。 : 你可以直接连接到该服务器的公共托管实例,无需本地安装或运行任何东西!请参见下方可流式HTTP传输的说明。 - — 查找关于Minecraft结构、实体、物品和方块的信息 - — 获取页面介绍及目录以便进一步导航 - — 将特定章节作为原始维基文本阅读 - — 需要时检索整个页面 — 探索维基分类及其成员页 — 跟随重定向查找正统页面 — 连接任何语言版本的Minecraft维基 - Python 3.12+ - uv(推荐的包管理器) 默认情况下,服务器连接英文维基([https://minecraft.wiki/api.php).

概述(AI 翻译)

一个用于浏览官方Minecraft维基的MCP服务器!

[!警告] 这是 v2——完全重写的 Python 版本。如果你是从 v1(TypeScript)升级的,请看下面的迁移说明。

[!提示] 公共托管实例:你可以直接连接到该服务器的公共托管实例,无需本地安装或运行任何东西!请参见下方可流式HTTP传输的说明。

特色

  • Wiki 搜索 — 查找关于Minecraft结构、实体、物品和方块的信息
  • 页面摘要 — 获取页面介绍及目录以便进一步导航
  • 章节访问 — 将特定章节作为原始维基文本阅读
  • 全页内容 — 需要时检索整页
  • 分类浏览 — 探索维基分类及其成员页面
  • 重定向解析 — 跟随重定向以查找规范页面
  • 多语言支持 — 连接任意语言版本的Minecraft Wiki

要求

  • Python 3.12+
  • UV(推荐的包管理器)

安装

快速入门 紫外线

带点数

配置

克劳德桌面

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Minecraft Wiki MCP

An MCP Server for browsing the official Minecraft Wiki!

[!WARNING] This is v2 — a complete Python rewrite. If you’re upgrading from v1 (TypeScript), see the migration notes below.

[!TIP] Public Hosted Instance: You can connect to the public hosted instance of this server directly at https://minecraft-wiki-mcp.goett.top/mcp without installing or running anything locally! See Streamable HTTP Transport below for instructions.

Features

  • Wiki Search — Find information about Minecraft structures, entities, items, and blocks
  • Page Summaries — Get a page’s intro plus a table of contents to navigate further
  • Section Access — Read specific sections as raw wikitext
  • Full Page Content — Retrieve the entire page when you need everything
  • Category Browsing — Explore wiki categories and their member pages
  • Redirect Resolution — Follow redirects to find the canonical page
  • Multi-Language Support — Connect to any language version of the Minecraft Wiki

Requirements

Installation

Quick Start with uv

# Clone the repository
git clone https://github.com/L3-N0X/Minecraft-Wiki-MCP.git
cd Minecraft-Wiki-MCP

# Install dependencies
uv sync

# Run the server
uv run minecraft-wiki-mcp

With pip

pip install -e .
minecraft-wiki-mcp

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "minecraft-wiki": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/Minecraft-Wiki-MCP",
        "run", "minecraft-wiki-mcp"
      ]
    }
  }
}

Claude Code

claude mcp add minecraft-wiki -- uv --directory /path/to/Minecraft-Wiki-MCP run minecraft-wiki-mcp

Multi-Language Support

By default, the server connects to the English wiki (https://minecraft.wiki/api.php). Set the MINECRAFT_WIKI_API_URL environment variable to use a different language:

{
  "mcpServers": {
    "minecraft-wiki": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/Minecraft-Wiki-MCP",
        "run", "minecraft-wiki-mcp"
      ],
      "env": {
        "MINECRAFT_WIKI_API_URL": "https://de.minecraft.wiki/api.php"
      }
    }
  }
}

Streamable HTTP Transport

By default, the server uses stdio transport (communication via stdin/stdout). For remote or multi-client access, you can use Streamable HTTP transport:

# Start the HTTP server (default: http://127.0.0.1:8000/mcp)
uv run minecraft-wiki-mcp --transport streamable-http

Then connect clients to the HTTP endpoint. For example, to connect to the public hosted instance using Claude Code:

claude mcp add --transport http minecraft-wiki https://minecraft-wiki-mcp.goett.top/mcp

Or for a local server:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "minecraft-wiki": { "command": "uv", "args": [ "--directory", "/path/to/Minecraft-Wiki-MCP", "run", "minecraft-wiki-mcp" ] } } }