Minestom MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add minestom-mcp -- npx -y minestom-mcp
README.md

An MCP server for building and managing Minestom-based Minecraft servers.

Minestom MCP Server

A stdio MCP server for Minestom, implemented with the Model Context Protocol SDK and TanStack AI tool definitions.

Install

Preferred package invocation:

npx -y minestom-mcp

Often a file like .mcp.json at your project root will be picked up by agents:

{
  "mcpServers": {
    "minestom-mcp": {
      "command": "npx",
      "args": ["-y", "minestom-mcp"]
    }
  }
}

Installed command aliases:

minestom-mcp-server
minestom-mcp

Why this shape:

  • minestom-mcp-server is the npm package name and the safest npx entrypoint.
  • minestom-mcp is the shorter command alias after install.
  • npm npx resolves the matching bin when one of the bin entries matches the package name, so publishing the package as minestom-mcp-server with a minestom-mcp-server bin keeps npx -y minestom-mcp-server reliable. Source: npm npx docs

The tool surface is grounded in:

Detailed tool documentation lives in docs/tools.md.

The repository also ships a publish-ready static docs site in `docs/` plus a GitHub Pages workflow in `/.github/workflows/deploy-docs.yml`.

Community and contribution docs live in CONTRIBUTING.md, CODE_OF_CONDUCT.md, and SECURITY.md.

Tools

  • ping: verifies that the MCP server is reachable.
  • get_server_info: returns package metadata, runtime details, tool inventory, and knowledge-catalog coverage.
  • inspect_minestom_environment: inspects the current workspace or repoRoot, including subdirectories, Gradle/Maven build signals, JVM source layouts, detected patterns, entrypoints, existing libraries, and any detected run/ folders.
  • inspect_minestom_build: interprets Gradle or Maven modules, including dependencies, plugins, wrapper commands, variables/properties, and Gradle version catalogs.
  • explain_minestom_pattern: explains Minestom patterns for bootstrap, instances, events, commands, schedulers, and thread ownership.
  • lookup_minestom_api: returns curated API matches with package names, related APIs, and javadoc links.
  • plan_minestom_feature: produces a grounded implementation outline for Minestom feature types.
  • review_minestom_design: reviews design notes against Minestom’s manager, event, instance, scheduler, and threading patterns.
  • suggest_minestom_libraries: returns curated library suggestions, can optionally add live GitHub topic results, and now uses repository signals when available.

Notes

  • API lookup is curated around the most important Minestom symbols and patterns; it is not a full javadoc crawler.
  • Library discovery is hybrid: curated results are always returned first, live GitHub topic:minestom-library search is optional, and repo-aware ranking can inspect the target project.
  • Environment-aware tools default to the current working directory and inspect subdirectories as part of that workspace. You can pass repoRoot to inspect a different Minestom workspace, and run/ is treated as a strong development signal rather than an assumed server root.
  • Because Minestom is JVM-based, the environment scan explicitly looks for Gradle/Maven build files, common wrapper scripts, JVM source roots, and Java/Kotlin signals before treating a workspace as a likely Minestom server project.
  • Build-aware inspection understands common Gradle dependency/plugin declarations in build.gradle or build.gradle.kts, reads gradle/libs.versions.toml, and parses Maven pom.xml dependencies, plugins, and properties.

Development

pnpm install
pnpm dev
pnpm lint:fix
pnpm check

Husky installs local hooks during pnpm install. Commits run lint-staged, and pushes run the full pnpm check verification flow.

Publish

The package is set up for npm publishing with:

  • executable bins for minestom-mcp-server and minestom-mcp
  • a shebang-included bundled entrypoint in dist/server.js
  • files whitelisting for the publish tarball
  • prepack and prepublishOnly verification hooks
  • GitHub Actions publishing from `.github/workflows/npm-publish.yml` via pnpm install/check steps and npm trusted publishing
  • publishConfig.access = public

Recommended release flow:

pnpm check
npm pack --dry-run
npm publish

For npm trusted publishing, configure npm to trust the workflow filename npm-publish.yml in .github/workflows/. The workflow now uses pnpm for dependency installation and verification, then publishes with npm publish through GitHub Act

Tools (9)

pingVerifies that the MCP server is reachable.
get_server_infoReturns package metadata, runtime details, tool inventory, and knowledge-catalog coverage.
inspect_minestom_environmentInspects the current workspace for build signals, source layouts, and patterns.
inspect_minestom_buildInterprets Gradle or Maven modules, dependencies, and plugins.
explain_minestom_patternExplains Minestom patterns for bootstrap, events, commands, and threading.
lookup_minestom_apiReturns curated API matches with package names and javadoc links.
plan_minestom_featureProduces a grounded implementation outline for Minestom feature types.
review_minestom_designReviews design notes against Minestom’s manager, event, and threading patterns.
suggest_minestom_librariesReturns curated library suggestions with optional live GitHub topic results.

Configuration

claude_desktop_config.json
{"mcpServers": {"minestom-mcp": {"command": "npx", "args": ["-y", "minestom-mcp"]}}}

Try it

Inspect my current project directory to see if it is configured as a Minestom server.
Explain the recommended pattern for handling Minestom event listeners.
Look up the API documentation for Minestom's scheduler and threading patterns.
Suggest some popular libraries for extending my Minestom server functionality.
Review my current design for a custom command implementation against Minestom best practices.

Frequently Asked Questions

What are the key features of Minestom MCP Server?

Inspects JVM source layouts and build files (Gradle/Maven) to identify Minestom projects.. Provides curated API lookups and Javadoc links for core Minestom symbols.. Analyzes build configurations to report dependencies, plugins, and version catalogs.. Offers design pattern reviews for event, instance, and scheduler implementations.. Suggests relevant libraries from the Minestom ecosystem using repository signals..

What can I use Minestom MCP Server for?

Onboarding new developers to a Minestom project by explaining existing design patterns.. Validating project structure and build dependencies in a Minestom workspace.. Quickly finding API documentation and implementation examples while coding.. Planning new server features with grounded implementation outlines based on Minestom standards..

How do I install Minestom MCP Server?

Install Minestom MCP Server by running: npx -y minestom-mcp

What MCP clients work with Minestom MCP Server?

Minestom MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Minestom MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare