@minecraft-docker/mcctl
v2.26.1
Published
CLI tool for managing Docker Minecraft servers with mc-router
Maintainers
Readme
@minecraft-docker/mcctl
CLI tool for managing Docker Minecraft servers with mc-router.
Features
- Multi-server management with hostname-based routing
- Auto-scaling: Servers start on connect, stop when idle
- Interactive mode: Guided prompts for all operations
- World management: Assign and release worlds between servers
- Backup system: GitHub-based world backup and restore
Installation
npm install -g @minecraft-docker/mcctlQuick Start
# Initialize platform in ~/minecraft-servers
mcctl init
# Create a new server (interactive)
mcctl create
# Create with arguments
mcctl create myserver -t PAPER -v 1.21.1
# Check server status
mcctl status
# Start/stop servers
mcctl start myserver
mcctl stop myserver
# View logs
mcctl logs myserverCommands
| Command | Description |
|---------|-------------|
| mcctl init | Initialize the platform |
| mcctl create [name] | Create a new server |
| mcctl delete [name] | Delete a server |
| mcctl status | Show all server status |
| mcctl start <name> | Start a server |
| mcctl stop <name> | Stop a server |
| mcctl logs <name> | View server logs |
| mcctl world list | List all worlds |
| mcctl world assign | Assign world to server |
| mcctl world release | Release world from server |
| mcctl backup push | Backup worlds to GitHub |
| mcctl backup restore | Restore worlds from backup |
| mcctl update | Update mcctl CLI to latest version |
| mcctl update --all | Update CLI and all installed services |
Server Types
| Type | Description |
|------|-------------|
| PAPER | Paper server (default, recommended) |
| VANILLA | Official Minecraft server |
| FORGE | Forge mod server |
| NEOFORGE | NeoForge mod server (1.20.1+) |
| FABRIC | Fabric mod server |
| MODRINTH | Modrinth modpack server |
Requirements
- Node.js >= 18.0.0
- Docker & Docker Compose
- Linux or macOS
Changelog
v2.25.1 (2026-06-21)
- fix(console): Server list now refreshes automatically after creating a server (#521, #522)
- fix(modpack): Debounce the modpack compatibility lookup and return a clean 404 for unknown slugs, fixing the 500 error flood while searching modpacks (#519, #520)
v2.25.0 (2026-06-21)
- feat(modpack): Exclude client-only mods from modpacks via
--exclude-files(CLI) or the Exclude mods field (console) — preventsinvalid dist DEDICATED_SERVERcrashes; maps toMODRINTH_EXCLUDE_FILES/CF_EXCLUDE_MODS(#515, #518) - feat(console): Richer modpack search results showing icon, description, downloads, and author (#516, #517)
v2.24.0 (2026-06-21)
- feat(servers): Modpack loader/version compatibility comboboxes + validation - resolve compatible
(loader, MC version)combos via Modrinth and block incompatible ones, fixing the "No files available" error; newGET /api/mods/:slug/versionsendpoint andcreate-server.shVERSION-leak fix (#511, #514) - fix(console): Localize the Create World dialog to English (#512, #513)
v2.23.0 (2026-06-21)
- feat(worlds): Create World from a ZIP upload with loader-specific guidance and split-dimension grouping (#490, #492)
- feat(servers): Flexible world selection on Create Server - unmapped world / seed / URL / none with mutually-exclusive validation (#491, #493)
- feat(worlds): Show the list of servers using each world (#487, #488)
- fix(worlds): Release superseded world lock on reassign; world assign updates server LEVEL (#501, #502, #489, #496)
- chore(docker): Bump
itzg/mc-routerto1.43.1, pin previously unpinned mc-router templates, unify server_templateimage tag tojava25(#503, #504) - chore(cli): Restore missing ESLint config in the CLI package and clean up lint violations (#505, #506)
- docs: Sync manuals/references for the itzg image changes (#507, #508)
v2.22.0 (2026-05-30)
- feat(console): Make the web console an installable standalone PWA - iOS home-screen shortcuts open without Safari chrome (✕/URL bar); adds manifest,
appleWebAppmeta, viewport, Creeper apple-touch-icon (#478, #479)
v2.21.0 (2026-05-30)
- feat(console): Apply compact, information-rich StatCard (progress bar + computed subline) to Dashboard (#474, #475)
- fix(console): Prevent mobile drawer backdrop from lingering after navigation (#476, #477)
v2.20.3 (2026-05-03)
- fix(platform): Correct mc-router
DOCKER_TIMEOUTformat to Go time.Duration (120→120s) - chore(platform): Pin
itzg/mc-routerimage to explicit version1.42.0(#472, #473)
v2.20.2 (2026-04-03)
- feat: Add mc-router loading MOTD label (
auto-scale-loading-motd) to server templates (#471) - feat(cli): Auto-add loading MOTD label to existing servers during
mcctl update(#471) - fix: Update CLI defaults and docs for MC 26.x / Java 25 (defaultVersion → 26.1.1)
v2.20.1 (2026-04-03)
- feat(cli): Add Docker image auto-pull to
mcctl update(#465) - feat(cli): Auto-upgrade server Docker image tags during
mcctl update(#468) - fix(shared,cli): MC 26.1.1+ requires Java 25 - update default image tag to
java25(#467) - fix: Update CLI defaults (defaultVersion 1.21.1 -> 26.1.1) and docs for MC 26.x / Java 25
- fix: Resolve merge artifacts from parallel PR merges
v2.20.0 (2026-04-03)
- feat(shared): Java 25 support - McVersion.recommendedImageTag, DocsAdapter java25 (#444)
- feat(shared): New server types - LEAF, FOLIA, PUFFERFISH (#445)
- feat(api,console): Native AutoPause (PAUSE_WHEN_EMPTY_SECONDS) config support (#446)
- feat(api,console): WebSocket Console and SSH Console config support (#447)
- feat(api,console): Configuration Repository settings support (#448)
- fix(shared): DocsAdapter file path bug fix (#449)
- chore: Migrate shared tests to vitest (#450), unify @types/node ^22.x (#451)
v2.19.0 (2026-03-01)
- feat(console): Add Q&A and Ideas community links to Footer (#434, #438)
- fix(console): Add null guards to
useServerConfigSnapshotsto prevent TypeError (#431, #435) - fix(console): Disable View History button when less than 2 snapshots (#432, #437)
v2.18.0 (2026-02-24)
- refactor: Relocate backup storage paths to
<MCCTL_ROOT>/backups/(#429, #430)
v2.17.1 (2026-02-24)
- fix(console): Reorder server backup sub-tabs to show Config Snapshots first, World Backups second
v2.17.0 (2026-02-24)
- feat(console): Implement Backups tab in Server Detail page (#427, #428)
Community
- Q&A / Support - Ask questions and get help from the community
- Ideas / Feature Requests - Share your ideas and vote on feature requests
AI Assistant
Get help using mcctl with our AI-powered assistant:
- AI Assistant chatbot - Interactive Q&A about mcctl commands, configuration, and troubleshooting
You can also use the LLM Knowledge Base with ChatGPT, Claude, or other AI assistants:
- Download the knowledge base document
- Upload to your preferred AI assistant
- Ask questions about mcctl usage
Documentation
License
Apache-2.0
