Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MCServer

About

A CLI tool to manage Minecraft: Java Edition servers.

Platform

Supported platforms:

  • Linux
  • and Termux.

Requirements

  • Python 3.12 or newer (Python 3.14 is recommended)
  • JRE (depends on Minecraft version)

How to install

  • Using pip:
  1. Run pip install mcserver-cli
  • System-wide (Requires root):
  1. Download the mcserver script file from GitHub releases
  2. Move the file to /usr/local/bin
  3. Run chmod +x mcserver
  • Per-user:
  1. Create a directory "bin"
  2. Download the script from GitHub releases onto that directory
  3. Give it "executable" permission with chmod +x mcserver
  4. Add the directory in the PATH environment:
    • Run export PATH=$HOME/bin:$PATH if you're using shell that is POSIX-compliant like Bash, Zsh, or ash
    • Run fish_add_path ~/bin if you're using FISH

Usage

  • Initialize a server: mcserver init [options]
  • List operator players: mcserver op list
  • Start the server: mcserver start
  • Stop the server: mcserver stop
  • List whitelisted players: mcserver whitelist list

Example

  • Create a 1.20.1 Fabric (0.19.5) server on current directory
mcserver init --mc-version=1.20.1 --loader=fabric --loader-version=0.19.5
mcserver start
  • List all operator and whitelisted players on current directory
mcserver op list
mcserver whitelist list
  • Stop (sigterm) a server on current directory
mcserver stop

Note

This is a Personal Project, things may be unstable.

Metadata

Release files for mcserver-cli 4.0.0.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcserver-cli 4.0.0.dev0
File Size Uploaded Provenance Actions
mcserver_cli-4.0.0.dev0.tar.gz 57.7 kB Without provenance Details for mcserver_cli-4.0.0.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcserver-cli 4.0.0.dev0
File Interpreter ABI Platform Actions
mcserver_cli-4.0.0.dev0-py3-none-any.whl Python 3 none any Details for mcserver_cli-4.0.0.dev0-py3-none-any.whl

Total release size: 131.6 kB

Release files / mcserver_cli-4.0.0.dev0.tar.gz

Download URL mcserver_cli-4.0.0.dev0.tar.gz
Size 57.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e223ccbd057b8e62ed1b76d36acbe0811be4677a0f16ec7a7dfc65706c26bb3a
BLAKE2b-256 checksum
How to use checksums
9c5938ef0845d87e6ce57db139e0adefa3c3611711c03edacae9ce1459ec2a73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / mcserver_cli-4.0.0.dev0-py3-none-any.whl

Download URL mcserver_cli-4.0.0.dev0-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84b6f1f4f4d951350efd044c64a31d03d81ea0d6e1010513d98da933f0de03fd
BLAKE2b-256 checksum
How to use checksums
4a876cc0716d1e23ac31642885bb2a72dff4a4c35401577824001ffdf1d899c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for mcserver-cli 4.0.0.dev0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page