Skip to main content
Glama
Minecraft Plugin Documentation MCP Server

Minecraft Plugin Documentation MCP Server

Minecraftプラグイン開発用MCPサーバー

Minecraft Javaプラグイン開発者が、一般的な依存関係の最新ドキュメントやバージョンを確認するのに役立つMCP(Model Context Protocol)サーバーです。

機能

  • 依存関係のドキュメント検索 - 人気のあるMinecraftプラグインの依存関係に関するWiki、Javadocs、GitHubリンクを取得

  • プロジェクトスキャン - GradleおよびMavenプロジェクトをスキャンして、すべての依存関係を抽出

  • バージョンチェック - Maven Central、JitPack、Paperリポジトリなどから最新バージョンを確認

  • プロジェクト全体の分析 - プラグインワークスペースの包括的な分析と推奨事項の提示

  • APIリファレンス - 複雑なプラグイン(EdTools、SkinsRestorerなど)の詳細なサブAPIドキュメント

Related MCP server: MCP Discord

サポートされている依存関係

依存関係

リポジトリ

説明

Paper API

Paper

Paper MinecraftサーバーAPI

Spigot API

Spigot

Spigot MinecraftサーバーAPI

Bukkit

Spigot

Bukkit API

LuckPerms

Maven Central

権限管理プラグインAPI

Vault

JitPack

経済/権限/チャットAPI

HikariCP

Maven Central

JDBC接続プール

Item-NBT-API

CodeMC

NMSを使用しないNBT操作

PacketEvents

Maven Central

パケット操作ライブラリ

DecentHolograms

JitPack

ホログラムプラグインAPI

CoreProtect

Maven Central

ブロックログ記録API

mc-MenuAPI

JitPack

GUI/メニューAPI

PlaceholderAPI

Custom

プレースホルダーシステム

WorldEdit

Custom

ワールド編集API

WorldGuard

Custom

領域保護API

SkinsRestorer

CodeMC

スキン管理API

EdTools API

Manual (JAR)

カスタムエンチャント、ゾーン、通貨など

クイックスタート - プロジェクトでの使用方法

オプション1: グローバルインストール(推奨)

MCPを一度グローバルにインストールすれば、どのプロジェクトでも使用できます:

# Clone and setup (one time only)
git clone https://github.com/ValentinTarnovsky/MCP-MCP.git
cd MCP-MCP
npm install
npm run build
npm link

次に、任意のプロジェクトで、MCP設定に以下を追加します:

Claude Code (.claude/mcp.json):

{
  "mcpServers": {
    "minecraft-plugin-docs": {
      "command": "npx",
      "args": ["minecraft-plugin-docs-mcp"]
    }
  }
}

Claude Desktop (%APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "minecraft-plugin-docs": {
      "command": "npx",
      "args": ["minecraft-plugin-docs-mcp"]
    }
  }
}

オプション2: 直接パス指定

npm linkを使用したくない場合:

{
  "mcpServers": {
    "minecraft-plugin-docs": {
      "command": "node",
      "args": ["C:\\path\\to\\MCP-MCP\\dist\\index.js"]
    }
  }
}

使用例

設定が完了すると、Claudeに以下のように質問できます:

依存関係のドキュメントを取得

"Get documentation for paper-api"
"Look up luckperms docs"
"What's the Maven coordinate for hikaricp?"
"Show me EdTools API reference"
"How do I use SkinsRestorer API?"

プロジェクトをスキャン

"Scan dependencies in my project"
"What dependencies does this plugin use?"

更新を確認

"Check for updates in this project"
"What's the latest version of paper-api?"
"Are my dependencies up to date?"

全体分析

"Analyze my plugin workspace"
"Full dependency report"

ツールリファレンス

get_dependency_docs

特定の依存関係のドキュメントを取得します。

パラメータ

必須

説明

dependency

はい

依存関係の名前 (例: "paper-api", "edtools")

fetch_version

いいえ

最新バージョンを取得するかどうか (デフォルト: true)

戻り値: Wiki URL、Javadocs、GitHub、Maven座標、クイックスタートスニペット、および利用可能な場合はAPIリファレンス。

scan_project_dependencies

プロジェクトディレクトリをスキャンして、すべての依存関係を取得します。

パラメータ

必須

説明

project_path

はい

プロジェクトディレクトリへのパス

check_latest_versions

依存関係の最新バージョンを確認します。

パラメータ

必須

説明

project_path

いいえ

現在のバージョンをスキャンするパス

dependencies

いいえ

確認する特定の依存関係のリスト

check_all

いいえ

既知のすべての依存関係を確認

analyze_plugin_project

推奨事項を含む包括的なプロジェクト分析を行います。

パラメータ

必須

説明

project_path

いいえ

分析するパス

check_versions

いいえ

更新を確認するかどうか (デフォルト: true)

カスタム依存関係の追加

src/registry/dependencies.ts を編集します:

標準的なMaven依存関係

'my-plugin-api': {
  name: 'My Plugin API',
  description: 'Description here',
  documentation: {
    wiki: 'https://...',
    javadocs: 'https://...',
    github: 'https://github.com/...',
  },
  maven: {
    groupId: 'com.example',
    artifactId: 'my-plugin-api',
    repository: 'maven-central', // or 'jitpack', 'paper', 'codemc', 'custom'
    repositoryUrl: 'https://...', // required for 'custom' repos
  },
  aliases: ['myplugin', 'my-plugin'],
},

手動JAR依存関係 (Mavenリポジトリなし)

'local-plugin-api': {
  name: 'Local Plugin API',
  description: 'A plugin that distributes JAR manually',
  documentation: {
    wiki: 'https://...',
    github: 'https://...',
    downloadUrl: 'https://download-link...', // Where to get the JAR
  },
  maven: {
    groupId: 'com.example',
    artifactId: 'LocalPlugin-API',
    repository: 'manual', // Special type for local JARs
  },
  aliases: ['localplugin'],
  // Optional: Document sub-APIs
  apiReference: {
    mainClass: 'LocalPluginAPI',
    importPackage: 'com.example.api',
    subApis: [
      {
        name: 'FeatureAPI',
        getter: 'getFeatureAPI()',
        description: 'Manage features',
        methods: ['doSomething()', 'getSomething() -> String'],
      },
    ],
  },
},

追加後、再ビルドします: npm run build

開発

プロジェクト構造

MCP-MCP/
├── src/
│   ├── index.ts              # Main server entry point
│   ├── registry/
│   │   └── dependencies.ts   # Dependency information registry
│   ├── parsers/
│   │   ├── gradle.ts         # Gradle build file parser
│   │   └── maven.ts          # Maven POM parser
│   ├── tools/
│   │   ├── getDependencyDocs.ts
│   │   ├── scanProjectDependencies.ts
│   │   ├── checkLatestVersions.ts
│   │   └── analyzePluginProject.ts
│   └── utils/
│       ├── cache.ts          # Caching utilities
│       └── versionFetcher.ts # Version fetching from repos
├── dist/                     # Compiled output
├── package.json
├── tsconfig.json
└── README.md

コマンド

npm install      # Install dependencies
npm run build    # Compile TypeScript
npm run dev      # Watch mode for development
npm run clean    # Remove dist/
npm link         # Make available globally via npx

テスト

# Run the server manually
node dist/index.js

# Test with MCP Inspector
npx @modelcontextprotocol/inspector node dist/index.js

トラブルシューティング

サーバーが起動しない

  1. Node.js 18以上がインストールされていることを確認: node --version

  2. ビルドが完了していることを確認: npm run build

  3. dist/index.js が存在することを確認

依存関係が見つからない

  1. 依存関係名のスペルを確認

  2. エイリアスを使用してみる (例: "paper-api" の代わりに "paper")

  3. Maven座標を使用する (例: "io.papermc.paper:paper-api")

npxコマンドが見つからない

  1. MCP-MCPディレクトリで npm link を実行

  2. npm list -g minecraft-plugin-docs-mcp で確認

ライセンス

MIT

コントリビューション

  1. リポジトリをフォーク

  2. フィーチャーブランチを作成

  3. 変更を追加

  4. プルリクエストを送信

謝辞

Available Tools

4 tools
analyze_plugin_projectB

Perform a comprehensive analysis of a Minecraft plugin project or workspace. Scans all subprojects, extracts dependencies, checks for updates, and provides recommendations.

Inputs: project_path, check_versions.

check_latest_versionsA

Check for the latest versions of Minecraft plugin dependencies. Can check all known dependencies or compare against project's current versions.

Inputs: project_path, dependencies, check_all.

get_dependency_docsA

Get documentation URLs, Maven coordinates, and latest version for a Minecraft plugin dependency. Returns wiki, javadocs, GitHub links, and quick-start code snippets.

Inputs: dependency (required), fetch_version.

scan_project_dependenciesA

Scan a Minecraft plugin project directory and extract all dependencies from build.gradle, build.gradle.kts, and pom.xml files. Returns a structured list of dependencies with version info.

Inputs: project_path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools have mostly distinct purposes with clear boundaries: analyze_plugin_project focuses on comprehensive project analysis, check_latest_versions handles version checking, get_dependency_docs retrieves documentation, and scan_project_dependencies extracts dependency lists. However, analyze_plugin_project and scan_project_dependencies have some overlap in scanning dependencies, which could cause minor confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case throughout: analyze_plugin_project, check_latest_versions, get_dependency_docs, and scan_project_dependencies. The naming is predictable and readable without any deviations or mixed conventions.

    Tool Count4/5

    With 4 tools, the count is reasonable for a server focused on Minecraft plugin documentation and dependency management. It covers key areas like analysis, version checking, documentation retrieval, and dependency scanning, though it might feel slightly thin for broader plugin development workflows.

    Completeness3/5

    The tool set covers core aspects of dependency management and documentation for Minecraft plugins, but there are notable gaps. It lacks tools for creating or updating dependencies, managing plugin configurations, or integrating with development environments, which could limit agent workflows in more complex scenarios.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server designed for developers to build and manage Minestom-based Minecraft servers by inspecting project environments, build configurations, and API documentation. It enables users to plan features, review design patterns, and discover libraries within the Minestom ecosystem.
      9
      4 npm
      5
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for EndstoneMC development, enabling module information queries, code search, plugin template generation, event handling guidance, and development tutorials through natural language.
      2
      MIT