Package Exports
- @minecraft-docker/mcctl
- @minecraft-docker/mcctl/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@minecraft-docker/mcctl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.1.3 (2026-02-09)
- fix(api): Enrich whitelist RCON response with UUIDs from whitelist.json (#312, #313)
v2.1.2 (2026-02-09)
- feat(cli): Add loading indicator to mcctl update command (#306, #307)
- fix(console): Move admin/users page to (main) route group for GNB/Footer layout (#308, #309)
- feat(console): Apply responsive grid layout to Settings page (#310, #311)
v2.1.1 (2026-02-09)
- fix(console): Remove GNB admin menu, rename UserMenu "Admin Panel" to "Users" (#302, #304)
- fix(api): Return UUID in whitelist/ban API responses (#303, #305)
- fix(api): Update PlayerFileService test assertions for object return types
v2.1.0 (2026-02-09) - Console Feature Completion
- feat: Modrinth modpack CLI/API support - search, create, manage modpack servers (#244, #245)
- feat: Admin user management Console UI - list, detail, role management (#189)
- feat: OP Level support across all layers - domain model, CLI, API, Console (#284, #285, #286, #287)
- fix: Console sign-out 403 bug with LAN IP addresses (#300, #301)
- feat: Offline player management support (#288, #289)
- feat: User profile settings page with password change (#265, #266)
v1.15.5 (2026-02-08)
- fix(cli): Fix Better Auth password hashing - use hex string salt for compatibility
- fix(cli): Add
MCCTL_API_KEYenv var to mcctl-console PM2 config (#261)
v1.15.0 (2026-02-08)
- feat(cli): Auto-install mcctl-console package in
console init - fix(cli): Resolve service script paths independently for each service
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