Overview
The MCMP CLI provides comprehensive access to the PaperMC API for managing Paper server downloads and information. All commands support case-insensitive project names and multiple output formats.
Projects Command
List all available PaperMC projects.
mcmp tool paper projects [OPTIONS]
Options
Output format: json, json-pretty, toml, toml-pretty, yaml
Examples
# List all projects
mcmp tool paper projects
# List with JSON output
mcmp tool paper projects --output json-pretty
Project Command
Get detailed information about a specific project.
mcmp tool paper project <PROJECT> [OPTIONS]
Options
Project name (e.g., paper, velocity, waterfall)
Examples
# Get Paper project info
mcmp tool paper project paper
# Case-insensitive (all work the same)
mcmp tool paper project Paper
mcmp tool paper project PAPER
# Get Velocity project info
mcmp tool paper project velocity
Versions Command
List all versions for a project.
mcmp tool paper versions <PROJECT> [OPTIONS]
Options
Show all versions (including pre-releases)
Number of versions to show per group
Flatten output (single array instead of grouped)
Examples
# List Paper versions
mcmp tool paper versions paper
# Show all versions including pre-releases
mcmp tool paper versions paper --all
# Show only latest 5 versions per group
mcmp tool paper versions paper --number 5
Version Command
Get information about a specific version.
mcmp tool paper version <PROJECT> <VERSION> [OPTIONS]
Options
Examples
# Get Paper 1.21.1 info
mcmp tool paper version paper 1.21.1
# Get Velocity 3.2.0 info
mcmp tool paper version velocity 3.2.0
Builds Command
List all builds for a project version.
mcmp tool paper builds <PROJECT> <VERSION> [OPTIONS]
Options
Examples
# List builds for Paper 1.21.1
mcmp tool paper builds paper 1.21.1
Build Command
Get information about a specific build.
mcmp tool paper build <PROJECT> <VERSION> <BUILD> [OPTIONS]
Options
Examples
# Get build 123 info for Paper 1.21.1
mcmp tool paper build paper 1.21.1 123
Latest Command
Get the latest build for a project version.
mcmp tool paper latest <PROJECT> <VERSION> [OPTIONS]
Options
Examples
# Get latest build for Paper 1.21.1
mcmp tool paper latest paper 1.21.1
Download Command
Download PaperMC server builds with flexible options.
mcmp tool paper download [OPTIONS]
Options
Project name (if not specified, will prompt interactively)
Version (if not specified, uses latest)
Build number (if not specified, uses latest for the version)
Output path (defaults to current directory)
Download type (e.g., server, application) - if not specified, uses the first available download
Working directory for the download (changes current directory before download)
Examples
# Interactive download (recommended)
mcmp tool paper download --interactive
# Download latest Paper 1.21.1
mcmp tool paper download --project paper --version 1.21.1
# Download specific build
mcmp tool paper download --project paper --version 1.21.1 --build 123
# Download to specific directory
mcmp tool paper download --project paper --version 1.21.1 --output ./server/
# Download specific artifact type
mcmp tool paper download --project paper --version 1.21.1 --download-type server:default
Common Workflows
Quick Server Setup
# 1. Find the latest version
mcmp tool paper versions paper
# 2. Get the latest build for that version
mcmp tool paper latest paper 1.21.1
# 3. Download it
mcmp tool paper download --project paper --version 1.21.1 --build 123 --output ./server/
Automated Server Downloads
# Download latest Paper 1.21.1 build to a new server directory
mkdir my-server
mcmp tool paper latest paper 1.21.1 # Note the build number
mcmp tool paper download --project paper --version 1.21.1 --build <BUILD_NUMBER> --output my-server/
Development Workflow
# Set up development server
mcmp tool paper download --interactive
# Build your plugin
mcmp build --watch
# Test with your server
mcmp run --watch
All PaperMC commands support multiple output formats:
- Default: Human-readable table format
- JSON:
--output json
- Pretty JSON:
--output json-pretty
- TOML:
--output toml
- Pretty TOML:
--output toml-pretty
- YAML:
--output yaml
This makes it easy to integrate with scripts and automation tools.