MCProtocolLib

Developer tools

A library for communication with a Minecraft client/server.

Your AI app calls the MCProtocolLib MCP server, which does the developer tools work and sends the result back to the chat.

About MCProtocolLib

MCProtocolLib is a community MCP server from GeyserMC, filed in our directory under developer tools. A library for communication with a Minecraft client/server.

At a glance

Publisher
GeyserMC (community)
Runs
See the README for setup
Written in
Java
License
MIT
GitHub stars
911

How to set up MCProtocolLib

  1. Follow the install steps in the MCProtocolLib README; it is written in Java, so have that toolchain ready.
  2. Check the MCProtocolLib README for keys or settings; the registry lists none that MCProtocolLib requires.
  3. Add MCProtocolLib to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the MCProtocolLib tools to confirm the connection.
  5. Run one read-only task with MCProtocolLib first, and keep your app asking before each tool call until the results look right.

MCProtocolLib compared with similar servers

  • MegaMemory by 0xK3vin has fewer GitHub stars than MCProtocolLib (906 against 911); both are community servers, and both run locally.
  • Nuxt MCP Dev by antfu has more GitHub stars than MCProtocolLib (916 against 911); both are community servers, and both run locally.
  • Openapi by janwilmake has fewer GitHub stars than MCProtocolLib (906 against 911); both are community servers, and Openapi runs as a remote server and MCProtocolLib runs on your own machine.

Before you connect MCProtocolLib

  • Give MCProtocolLib its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each MCProtocolLib tool call until you trust what it does with them.
  • Treat text that MCProtocolLib fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for MCProtocolLib on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for MCProtocolLib

How marketing and sales teams put MCProtocolLib to work, by company size. Pick the size closest to yours and start MCProtocolLib on one use case.

Small business

  • A small business with a developer can use MCProtocolLib to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask MCProtocolLib to explain and fix a marketing site issue without context switching between tools.
  • MCProtocolLib runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use MCProtocolLib to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect MCProtocolLib to keep scripts and automations documented and versioned as they change.
  • Start MCProtocolLib on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out MCProtocolLib with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on MCProtocolLib so web and marketing engineering share one reviewed way of working with AI.
  • MCProtocolLib is a community server, so have security review the code and pin a version before MCProtocolLib touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

MCProtocolLib README

From GeyserMC/MCProtocolLib on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCProtocolLib

MCProtocolLib is a simple library for communicating with Minecraft clients and servers. It allows developers to build custom bots, clients, or servers for Minecraft with ease.

Example Code

See the example folder for sample usage.

Adding as a Dependency

MCProtocolLib builds are published to the Open Collaboration repository. Follow the below steps to add MCProtocolLib as a dependency to your project.

Maven
Add the Repository
<repositories>
    <repository>
        <id>opencollab</id>
        <url>https://repo.opencollab.dev/main/</url>
    </repository>
</repositories>
Add the Dependency
<dependency>
    <groupId>org.geysermc.mcprotocollib</groupId>
    <artifactId>protocol</artifactId>
    <version>(version here)</version>
</dependency>
Gradle (Groovy DSL)
Add the Repository
repositories {
    maven { 
        name 'opencollab'
        url 'https://repo.opencollab.dev/main/'
    }
}
Add the Dependency
dependencies {
    implementation 'org.geysermc.mcprotocollib:protocol:(version here)'
}
Gradle (Kotlin DSL)
Add the Repository
repositories {
    maven("https://repo.opencollab.dev/main/") {
        name = "opencollab"
    }
}
Add the Dependency
dependencies {
    implementation("org.geysermc.mcprotocollib:protocol:(version here)")
}
Snapshots

To use snapshot builds, switch the URL to https://repo.opencollab.dev/maven-snapshots/.

Javadocs

You can find the Javadocs for MCProtocolLib on opencollab.

Building the Source

MCProtocolLib uses Gradle to manage dependencies. To build the source code, run ./gradlew clean build in the project root directory.

Support and Development

Please join the GeyserMC Discord server and visit the #mcprotocollib channel for discussion and support for this project.

License

MCProtocolLib is licensed under the MIT license.

Questions about MCProtocolLib

What is the MCProtocolLib MCP server?

A library for communication with a Minecraft client/server. MCProtocolLib is maintained by GeyserMC on GitHub at GeyserMC/MCProtocolLib, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the MCProtocolLib MCP server?

MCProtocolLib doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (GeyserMC/MCProtocolLib). Like most servers, MCProtocolLib ends with a command or URL you paste into your AI app's MCP config.

Does MCProtocolLib need an API key?

The registry lists no required keys for MCProtocolLib. Check the MCProtocolLib README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is MCProtocolLib an official MCP server?

No. MCProtocolLib is a community server maintained by GeyserMC. Community servers can be excellent; read the code and the open issues before you give MCProtocolLib access to company data.

What license is MCProtocolLib under?

MCProtocolLib is released under the MIT license, according to its GitHub repository. The license covers the code of MCProtocolLib; the service it connects to has its own terms.