Skip to main content

Installation

Requirements

  • Node.js 20+ (22 recommended)
  • npm (ships with Node)
  • Outbound access to mcp-gateway.info on ports 3000 (HTTP) and 3001 (WS)

Install the CLI

The CLI is published as @alexdive/mcp-gw.

macOS (Homebrew)

# Install Node.js if you don't have it
brew install node

# Install the CLI globally
npm install -g @alexdive/mcp-gw

Linux (Debian / Ubuntu)

# Install Node.js 22.x
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
sudo apt-get install -y nodejs

# Install the CLI globally
sudo npm install -g @alexdive/mcp-gw

Windows (PowerShell)

# Install Node.js via winget
winget install OpenJS.NodeJS.LTS

# Install the CLI globally
npm install -g @alexdive/mcp-gw

Verify

mcp-gw

Run with no arguments and the CLI prints its usage/help. If you see it, you're good to go.

Update

npm install -g @alexdive/mcp-gw@latest

Compare versions any time:

npm ls -g @alexdive/mcp-gw # installed
npm view @alexdive/mcp-gw version # latest on npm

Next

Head to Quickstart to spin up your first tunnel.