Inspiration
Minecraft is one of the best playgrounds there is for testing whether an AI can actually reason in three dimensions instead of just text. It has instant, universal visual feedback: everyone recognizes a wall, a roof, a doorway the second it appears. I've built Minecraft tools at hackathons before and kept circling back to the same idea: what if you could just describe a build in plain English and watch an AI construct it live, block by block, right in front of you.
What it does
Type /mc2p followed by a description, like "a small stone cottage with a chimney," and the build appears directly in the world. An AI agent interprets the prompt and streams back a sequence of building instructions. A custom Minecraft plugin turns those into real blocks, placing bulk shapes almost instantly and slowing down for detail work so the structure lands with a visible, deliberate flourish.
How we built it
The system has two parts. A Paper plugin registers the /mc2p command, manages a placement queue, and streams shapes into the world through a scheduled task on the main server thread. A Python backend sends the prompt to an LLM and streams back newline delimited JSON, one build primitive per line, so the plugin can start placing blocks before the model has even finished generating. I designed the AI to output shapes like fill, walls, and sphere instead of individual blocks, which keeps generations fast enough for a live demo.
Challenges we ran into
Getting blocks to place on the right thread without crashing the server took real care, since Bukkit does not allow world edits off the main thread. I also had to fight generation latency directly. Early versions waited for the whole build to generate before placing anything, and it felt dead on stage. Rebuilding the pipeline around streaming, so the first shape lands in seconds instead of after the full response, was the single biggest unlock.
Accomplishments that we're proud of
I'm proud of how physical the result feels. A build assembles in a way that reads as construction, with sound and pacing that make an AI generated house feel like it's actually being built. I also built in real resilience: every successful build is cached, so if the model call fails or the network drops, the system falls back to a known good build instead of failing on stage.
What we learned
I learned that latency is a feature, not an afterthought, especially in a live demo. The gap between "the AI is thinking" and "something is visibly happening" is where audiences lose interest, so I spent as much time on perceived speed as on the AI itself. I also learned how much a build language made of solid shapes, instead of raw block coordinates, changes what's possible to generate quickly.
What's next for Minecraft MCP
Next I want to let players adjust an in progress build with follow up prompts, like "make the roof taller" or "add a garden," without starting over. I'd also like to support multiplayer builds where teammates each control a piece of a larger structure, and expand the primitive library so the AI can generate more complex and varied architecture.
Built With
- claude
- java

Log in or sign up for Devpost to join the conversation.