Skip to content

Pacy CLI Reference

Terminal window
pacy [options]

Options:

  • Leave blank to auto-detect and proxy your development server
  • -p, --port <port> - Proxy specific port
  • -c, --command <command> - Run specific command with port detection

Examples:

Terminal window
# Auto-detect and proxy your development server
pacy
# Run with a specific command
pacy --command "npm run dev"
# Proxy a specific port
pacy --port 3000
Terminal window
pacy extensions

Installs both the MCP server and VSCode extensions for supported IDEs. For using only with Claude Code, you can skip this.

Terminal window
pacy install-mcp

Installs the MCP (Model Context Protocol) server for AI agents like VSCode, Cursor, Windsurf, Cline, RooCode.

Terminal window
pacy install-bridge

Installs the Pacy Devtools extension for IDEs like VSCode, Cursor, Windsurf.

Terminal window
pacy mcp

Runs the MCP server directly (Not intended to be used manually).

Terminal window
pacy whoami

Shows current user information and device details.

Terminal window
pacy logout

Sign out and clear local authentication tokens.

Pacy Devtools automatically:

  1. Detects your development server ports (common frameworks supported)
  2. Proxies traffic through an available port
  3. Injects debugging tools and WebSocket connections
  4. Preserves all original functionality while adding development features

The CLI intelligently detects development servers by:

  • Parsing package.json scripts for port configurations
  • Watching for new services that start up
  • Avoiding conflicts with existing services