MineCode MCP
Provides search capabilities for Mojira, the Minecraft bug tracker running on Jira, allowing querying of bug reports by project, status, and resolution.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MineCode MCPsearch the wiki for how to summon a custom mob"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎮 MineCode MCP
MCP Server for Minecraft Datapack Development Written for Hackaton about CMP sponsored by dustt, alpic, etc. Please star if you would like to help out. Please write issues for me to fix.
MineCode is a local Model Context Protocol (MCP) server that gives AI assistants like GitHub Copilot and Claude real-time access to Minecraft data, documentation, datapack generators, and your minecraft logs.
✨ Features
🔧 19 MCP Tools for Minecraft development
📚 Minecraft Wiki integration (search, pages, categories, command docs)
🐛 Mojira bug tracker search
🔍 Spyglass API (registries, commands, block states, mcdoc symbols)
🎨 Misode Generators (loot tables, recipes, worldgen presets)
📄 Log Reading — auto-detect and read logs from default, Prism, and TLauncher instances
🧠 Assistant Pre-prompts — configurable system prompts for better AI accuracy
🚀 Installation
pip install minecode-mcp⚙️ Configuration
VS Code (GitHub Copilot)
Add to User Settings (Ctrl+Shift+P → "MCP: Open User Configuration"):
{
"servers": {
"minecode": {
"type": "stdio",
"command": "py",
"args": [
"-m",
"minecode.server"
]
}
},
"inputs": []
}Or create .vscode/mcp.json in your workspace:
{
"servers": {
"minecode": {
"type": "stdio",
"command": "py",
"args": [
"-m",
"minecode.server"
]
}
},
"inputs": []
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"minecode": {
"command": "minecode"
}
}
}OS | Config Path |
Windows |
|
macOS |
|
Linux |
|
⚙️ Development
Follow these steps to set up a local development environment, run the MCP server, and publish releases.
Development environment:
PowerShell (Windows):
python -m venv venv .\venv\Scripts\Activate.ps1 python -m pip install --upgrade pip build twine python -m pip install -e .Bash (macOS/Linux):
python -m venv venv source venv/bin/activate python -m pip install --upgrade pip build twine python -m pip install -e .Run the MCP server locally:
Using the venv Python:
.\venv\Scripts\python.exe -m minecode.serverOr with
pyon Windows /pythonon other OSes:python -m minecode.server
Configure VS Code to use the running server (GitHub Copilot MCP): create
.vscode/mcp.jsonin the workspace (example above) so Copilot/other MCP clients can connect tominecode.server.Release workflow (single-script): use the provided
scripts/release.ps1to bump, build and publish.Release (recommended): a single PowerShell script handles bumping, building, tagging, pushing, and publishing.
Prerequisites:
Create and activate a Python virtualenv and install
build+twine.Put your PyPI API token in
pip_token.txt(single line) or setPYPI_API_TOKENas an environment/secret.
Usage examples (PowerShell):
Build only:
.\scripts\release.ps1Bump patch, tag, push, and publish:
.\scripts\release.ps1 -Bump -PublishPublish without bump:
.\scripts\release.ps1 -Publish
The script prefers
venv\Scripts\python.exewhen present and will fall back to the systempython.CI: a GitHub Actions workflow (
.github/workflows/publish.yml) publishes on tag push; addPYPI_API_TOKENto repository secrets.Manual build & publish (alternative):
python -m build export TWINE_USERNAME=__token__ export TWINE_PASSWORD=<PYPI_API_TOKEN> python -m twine upload dist/*CI: a GitHub Actions workflow (
.github/workflows/publish.yml) is included to publish on tag push; addPYPI_API_TOKENto repository secrets.
🛠️ Available Tools
Minecraft Wiki
Tool | Description |
| Search for wiki pages (supports full-text search with snippets) |
| Get page summary and section list |
| List all Minecraft commands |
| Get pages in a category |
| Get full structured page content |
| Get detailed command syntax documentation |
Mojira Bug Tracker
Tool | Description |
| Search bug reports (filter by project, status, resolution) |
Spyglass API
Tool | Description |
| Get all MC versions with pack formats |
| Get registry entries (items, blocks, entities, biomes, etc.) |
| Get block state properties and defaults |
| Get command syntax trees |
| Get vanilla mcdoc type symbols for NBT/data structures |
Misode Generators
Tool | Description |
| List all datapack generators |
| Get vanilla presets for a generator |
| Get full JSON for a preset |
| Get loot tables by category |
| Get recipes with filtering |
| List available Misode/Minecraft versions |
Logs
Tool | Description |
| Read Minecraft logs (auto-detects default, Prism, or TLauncher) |
💡 Example Prompts
"Create a custom dimension with floating islands"
"What are the block states for a redstone repeater?"
"Show me the loot table for a desert temple chest"
"Search Mojira for elytra bugs"
"What's the syntax for the /execute command?"
"Check my Minecraft logs for errors"
📁 Project Structure
minecode-mcp/
├── minecode/
│ ├── __init__.py
│ ├── server.py # MCP server with 19 tools
│ ├── config/
│ │ ├── config.json # Central configuration
│ │ └── prompt_config.json
│ ├── preprompts/
│ │ └── assistant_preprompt.txt # AI assistant pre-prompt
│ └── scrappers/
│ ├── minecraftwiki.py
│ ├── mojira.py
│ ├── spyglass.py
│ ├── misode.py
│ └── minecraft_logs.py # Multi-launcher log reader
├── example/
│ └── crystal_dimension/ # Example datapack
├── scripts/
│ └── release.ps1 # Build, bump & publish script
├── pyproject.toml
├── LICENSE
└── readme.md🌐 Data Sources
Source | Description |
Game documentation | |
Bug tracker | |
Registries & commands | |
Vanilla presets |
🐍 Changelog Highlights
Log reading — Multi-launcher support (default, Prism, TLauncher) with auto-detection
Better Spyglass tools — mcdoc symbols, improved registry search
Multi-version support — pack_format-based version handling
Assistant pre-prompts — Configurable system prompts for more accurate AI responses
📄 License
MIT License - see LICENSE
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AnCarsenat/minecode-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
