mcpField
N
ngrok CLI

ngrok CLI

Official
ngrok.comDeveloper Toolsngrok
RepositoryVisit website

About ngrok CLI

ngrok CLI exposes local services to the public internet through secure tunnels. It provides traffic inspection, endpoint configuration, and support for various protocols to bridge local development environments with external access.

Key features

  1. 01Create secure tunnels to local HTTP and TCP services
  2. 02Inspect and replay traffic flowing through tunnels
  3. 03Configure tunnel behavior with authentication and domain settings
  4. 04Support multiple protocols and endpoint configurations

Use cases

  1. 01Testing webhooks and callback endpoints during development
  2. 02Demonstrating local applications to remote teams or clients
  3. 03Debugging integration issues with external APIs and services

Install

Pick your OS or package manager and run the command in a terminal.

$
brew install ngrok/ngrok/ngrok

Once installed, runngrok --versionto confirm it works.

Example commands

Common commands in the order you’d use them.

01
ngrok config add-authtoken TOKEN
02
ngrok http 3000
03
ngrok tcp 22

Comments

Markdown supported