CLI Reference
Commands
Section titled “Commands”Main Command
Section titled “Main Command”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:
# Auto-detect and proxy your development serverpacy
# Run with a specific commandpacy --command "npm run dev"
# Proxy a specific portpacy --port 3000Installation Commands
Section titled “Installation Commands”Install MCP Server
Section titled “Install MCP Server”pacy install-mcpInstalls the MCP (Model Context Protocol) server for AI agents like VSCode, Cursor, Windsurf, Cline, RooCode.
Authentication Commands
Section titled “Authentication Commands”Check Authentication Status
Section titled “Check Authentication Status”pacy whoamiShows current user information and device details.
Logout
Section titled “Logout”pacy logoutSign out and clear local authentication tokens.
How It Works
Section titled “How It Works”Development Server Proxying
Section titled “Development Server Proxying”Pacy Devtools automatically:
- Detects your development server ports (common frameworks supported)
- Proxies traffic through an available port
- Injects debugging tools and WebSocket connections
- Preserves all original functionality while adding development features
Port Detection
Section titled “Port Detection”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