Mcpi

Developer tools

Minecraft: Pi Edition API Python Library.

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

About Mcpi

Mcpi is a community MCP server from martinohanlon, filed in our directory under developer tools. Minecraft: Pi Edition API Python Library.

At a glance

Publisher
martinohanlon (community)
Runs
See the README for setup
Written in
Python
License
MIT
GitHub stars
395

How to set up Mcpi

  1. Follow the install steps in the Mcpi README; it is written in Python, so have that toolchain ready.
  2. Check the Mcpi README for keys or settings; the registry lists none that Mcpi requires.
  3. Add Mcpi 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 Mcpi tools to confirm the connection.
  5. Run one read-only task with Mcpi first, and keep your app asking before each tool call until the results look right.

Mcpi compared with similar servers

  • Django by gts360 has fewer GitHub stars than Mcpi (393 against 395); both are community servers, and both run locally.
  • Cross Code Organizer by mcpware has fewer GitHub stars than Mcpi (395 against 395); both are community servers, and both run locally.
  • Blockrun by BlockRunAI has fewer GitHub stars than Mcpi (392 against 395); both are community servers, and both run locally.

Before you connect Mcpi

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

Marketing use cases for Mcpi

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

Small business

  • A small business with a developer can use Mcpi to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Mcpi to explain and fix a marketing site issue without context switching between tools.
  • Mcpi 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 Mcpi to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Mcpi to keep scripts and automations documented and versioned as they change.
  • Start Mcpi 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 Mcpi with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Mcpi so web and marketing engineering share one reviewed way of working with AI.
  • Mcpi is a community server, so have security review the code and pin a version before Mcpi 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

Mcpi README

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

README.md

Minecraft: Pi edition API Python Library

mcpi Python library for communicating with Minecraft: Pi edition and RaspberryJuice.

Installation

Windows
pip3 install mcpi
Linux / MacOS
sudo pip3 install mcpi

History

The Minecraft: Pi edition Python library was originally created by Mojang and released with Minecraft: Pi edition.

Initial supported was provided for Python 2 only, but during a sprint at PyconUK 2014 it was migrated to Python 3 and py3minepi was created.

The ability to hack Minecraft from Python was very popular and the RaspberryJuice plugin was created for Minecraft Java edition. RaspberryJuice also extended the API adding additional features.

This python library supports Python 2 & 3 and Minecraft: Pi edition and RaspberryJuice.

Documentation for the Minecraft: Pi edition and RaspberryJuice API's can be found at www.stuffaboutcode.com/p/minecraft-api-reference.html.

It was released onto PyPI in May 2018.

If you want some cool additional tools for modifying Minecraft, check out minecraft-stuff.

Sources

This library is a collection of the following sources:

Licenses

Questions about Mcpi

What is the Mcpi MCP server?

Minecraft: Pi Edition API Python Library. Mcpi is maintained by martinohanlon on GitHub at martinohanlon/mcpi, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mcpi MCP server?

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

Does Mcpi need an API key?

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

Is Mcpi an official MCP server?

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

What license is Mcpi under?

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