serve command starts an HTTP server that provides web-based interfaces for validation, dedicated server management, and other Minecraft Creator Tools features.
Syntax
Arguments
Specifies which features the server should enable.Choices:
all- Enable all features (web services + dedicated server)allwebservices- Enable all web servicesbasicwebservices- Enable only basic web servicesdedicatedserver- Enable dedicated server features only
The URL domain where this server is hosted.Example:
localhost, mctools.example.comPort number for the HTTP server.Example:
3000, 8080Display title for the server.Example: “My Minecraft Server”
Message of the day for the server.Example: “Welcome to the validation server!”
Options
Process only one request and then shutdown. Useful for automated workflows.
Path to the folder containing projects to serve.
Sets the update passcode for server access control.
Examples
Start basic web server
Start with all features
Expected Output
Expected Output
Start web services only
Run-once mode for automation
Serve with specific project folder
Server Features
- Basic Web Services
- All Web Services
- Dedicated Server
- All Features
Includes:
- Web-based validation interface
- Project upload and analysis
- Validation report viewing
- Basic project management
Server Configuration
Setting Server Properties
Use thesetserverprops (or setsrv) command to configure default server properties:
Access Control
Configure passcodes for different access levels:- Display Read-Only: View reports and data
- Full Read-Only: Access all data without modification
- Update State: Modify server state and settings
- Admin: Full administrative access
Stopping the Server
Stop the server gracefully:- Keyboard Interrupt: Press
Ctrl+Cin the terminal - Command Input: Type
exitorstopand press Enter
Web Interface
When the server is running, access the web interface at:http://localhost:3000
Available Endpoints
Use Cases
Team Validation Server
Set up a shared validation server for your team:CI/CD Integration
Use run-once mode in automated builds:Development Workflow
Run a local server during development:Dedicated Server Management
When usingdedicatedserver or all features:
EULA Agreement
You must agree to the Minecraft EULA before managing dedicated servers:Server Management Features
- Start/stop Minecraft dedicated servers
- Configure server properties
- Manage worlds and add-ons
- View player activity
- Monitor server logs
- Backup and restore worlds
Environment Configuration
Server settings are stored in the local environment. View configuration paths:Security Considerations
Recommended Production Setup
Troubleshooting
Port already in use
Port already in use
Another service is using the specified port.Solution: Use a different port:Or find and stop the conflicting service:
Cannot access server from other machines
Cannot access server from other machines
Server might be bound to localhost only.Solution: Bind to all interfaces:Then access via:
http://[server-ip]:3000Server exits immediately
Server exits immediately
Check for configuration errors or missing dependencies.Solution: Run with verbose logging: