Minehut MCP
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., "@Minehut MCPstart my server and send a welcome message to players"
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.
⛏️ Minehut MCP
Let any AI agent fully manage your Minehut Minecraft server.
Works with Claude Code, Codex, opencode, Cursor, Hermes and any other MCP client.
What it does
Two complementary layers, one install:
Layer | Tools | What the AI can do |
🖥️ Browser automation (Playwright) |
| Drive the real Minehut dashboard like a human. Handles Cloudflare, the login form, and every UI feature: plugins, players, world settings, files, billing, skins. This is the "do everything" layer. |
⚡ Minehut API (REST) |
| Fast, scriptable control. Start/stop servers, send console commands ( |
Plus minehut_help for an in-server guide.
Related MCP server: Coolify MCP Server
🚀 Install
Full documentation: https://tobralla.github.io/minehut-mcp/
One-time setup on your machine:
# 1. Install globally (any package manager works)
npm install -g github:Tobralla/minehut-mcp
# 2. Install Chromium for the browser layer
minehut-mcp-setupFor local development:
git clone https://github.com/Tobralla/minehut-mcp.git
cd minehut-mcp
npm install
npm run devEnvironment variables (optional)
Variable | Purpose |
| Used by |
| Direct API session (captured automatically after browser login) |
| Run the browser visibly (recommended for the first login, Cloudflare is friendlier with a visible window) |
🔑 First-time login
Ask your AI to run
browser_login_panelwith your Minehut email and password.A browser opens the dashboard and fills the login form.
A Cloudflare challenge or 2FA may appear. Run
browser_wait_manualso you can finish it by hand.The session token is captured automatically and stored in
~/.minehut-mcp/session.json(permissions 600). Allminehut_*API tools become active.
Set
MINEHUT_HEADLESS=0in the client config below for a visible browser window on first login.
🔌 Client setup
Claude Code
claude mcp add minehut-mcp \
--env MINEHUT_EMAIL=you@example.com \
--env MINEHUT_PASSWORD='your password' \
-- npx -y github:Tobralla/minehut-mcpCodex (OpenAI)
codex mcp add minehut-mcp \
--env MINEHUT_EMAIL=you@example.com \
--env MINEHUT_PASSWORD='your password' \
-- npx -y github:Tobralla/minehut-mcpopencode
Add to opencode.json in your project, or ~/.config/opencode/opencode.json for all projects:
{
"mcp": {
"minehut": {
"type": "local",
"command": ["npx", "-y", "github:Tobralla/minehut-mcp"],
"enabled": true,
"environment": {
"MINEHUT_EMAIL": "you@example.com",
"MINEHUT_PASSWORD": "your password"
}
}
}
}Cursor
Create .cursor/mcp.json in your project (or use Settings > MCP):
{
"mcpServers": {
"minehut": {
"command": "npx",
"args": ["-y", "github:Tobralla/minehut-mcp"],
"env": {
"MINEHUT_EMAIL": "you@example.com",
"MINEHUT_PASSWORD": "your password"
}
}
}
}Hermes
Add to hermes.toml (or config.toml):
[mcp.servers.minehut]
command = "npx"
args = ["-y", "github:Tobralla/minehut-mcp"]
env = { MINEHUT_EMAIL = "you@example.com", MINEHUT_PASSWORD = "your password" }🛠️ Full tool list
Tool | Description |
| Status, players, RAM, MOTD, version, plugins |
| List all servers on the account |
| Power on the server |
| Power off the server |
| Restart the server |
| Send a console command (operator privileges) |
| Read recent console output |
| Change RAM allocation |
| Open the dashboard and read the page |
| Log in and capture the API session |
| Wait for a manual challenge/2FA, then capture the session |
| Click an element |
| Type into an element |
| Send a keyboard key |
| Read visible text of the page or an element |
| Screenshot the page as an image the AI can see |
| Run JavaScript in the dashboard page |
| Close the browser |
⚠️ Safety notes
Console commands run with operator privileges. Review what you ask the AI to run.
The session token grants full control of your Minehut account. It is stored locally, but treat it like a password.
Never paste credentials into a shared or public chat.
Destructive actions (server reset, account deletion) are intentionally not automated by default. Use the browser tools and your own judgement.
📄 License
MIT. Not affiliated with Minehut or Mojang.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explore the world, and interact with the game environment through natural language instruction2242692Apache 2.0
- AlicenseBqualityDmaintenanceMCP server that integrates with Coolify to let AI assistants manage Coolify instances via a clean toolkit wrapping the official REST API.351146MIT
- Alicense-qualityBmaintenanceMCP server that lets AI agents use your real browser as an API, accessing any website with your login state, no keys or scrapers needed.1MIT
- Alicense-qualityCmaintenanceAn MCP server that enables AI agents to automate browser interactions using Playwright and Cloudflare Workers, supporting tasks like navigation, clicking, typing, and screenshots.7,623Apache 2.0
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that gives your AI access to the source code and docs of all public github repos
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Tobralla/minehut-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server