Run MPLink from your terminal
One command-line tool for hosting, domains, DNS, email, and deployments. Use it by hand, in shell scripts, in CI, or hand it to an AI agent.
Install
Pick the method that fits your machine. The CLI runs on macOS, Linux, and Windows.
# npm npm install -g @mplink/cli # Homebrew brew install mplink/tap/mplink # Shell script (macOS, Linux) curl -fsSL https://get.mplinktech.com/cli | sh
mplink login mplink whoami
Commands
Each command group maps to an MPLink product.
List plans, create accounts, restart services, and read usage for web hosting and VPS.
Search, register, transfer, and renew domains. Lock or unlock a domain in one line.
Add, edit, and delete DNS records. Export a zone to a file or import one from another host.
Create mailboxes, set forwards, and reset passwords for business email.
Upload a build folder or a git ref to a site and get the live URL back.
Stream access and error logs from a site while you debug.
Built for scripts and automation
Predictable output and exit codes, so a script can trust what the CLI tells it.
Add --json to any command to get machine-readable output you can pipe into jq.
Add --dry-run to see what a command would change before it changes anything.
Keep separate logins for personal, client, and staging accounts and switch with --profile.
Every command has a help page written to be read by an AI agent as well as a person.
Use it in CI
Authenticate with an environment variable. No interactive login needed.
# .github/workflows/deploy.yml
- name: Deploy to MPLink
env:
MPLINK_TOKEN: ${{ secrets.MPLINK_TOKEN }}
run: |
npm install -g @mplink/cli
mplink deploy ./dist --site northwind.dev --jsonInstall the MPLink CLI
Free to use on every plan. It uses the same account and tokens as the MPLink API.
Install the CLI