MPLINK CLI

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 the CLIRead the CLI docs
$ mplink domains search northwind.dev
northwind.dev    available    $12.99/yr

$ mplink domains buy northwind.dev
Registered northwind.dev

$ mplink deploy ./dist --site northwind.dev
Uploading 128 files... done
Live at https://northwind.dev

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.

mplink hosting

List plans, create accounts, restart services, and read usage for web hosting and VPS.

mplink domains

Search, register, transfer, and renew domains. Lock or unlock a domain in one line.

mplink dns

Add, edit, and delete DNS records. Export a zone to a file or import one from another host.

mplink email

Create mailboxes, set forwards, and reset passwords for business email.

mplink deploy

Upload a build folder or a git ref to a site and get the live URL back.

mplink logs

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.

JSON output

Add --json to any command to get machine-readable output you can pipe into jq.

Dry runs

Add --dry-run to see what a command would change before it changes anything.

Profiles

Keep separate logins for personal, client, and staging accounts and switch with --profile.

Agent friendly

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 --json

Install the MPLink CLI

Free to use on every plan. It uses the same account and tokens as the MPLink API.

Install the CLI
MPLink  ›  Developers  ›  MPLink CLI
MPLINK
Log in Cart
Link-AI

Your 24/7 AI guide for hosting, domain setup, plan picking, and website building.

Hi there! I'm Link-AI, your MPLink assistant. Ask me about hosting, domains, email, websites or logos.
Choose your country and language

No matches. Try a different search.