Pacy 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 3000
Installation Commands
Section titled “Installation Commands”Install Everything
Section titled “Install Everything”pacy extensions
Installs both the MCP server and VSCode extensions for supported IDEs. For using only with Claude Code, you can skip this.
Install MCP Server Only
Section titled “Install MCP Server Only”pacy install-mcp
Installs the MCP (Model Context Protocol) server for AI agents like VSCode, Cursor, Windsurf, Cline, RooCode.
Install IDE Extension Only
Section titled “Install IDE Extension Only”pacy install-bridge
Installs the Pacy Devtools extension for IDEs like VSCode, Cursor, Windsurf.
MCP Server
Section titled “MCP Server”pacy mcp
Runs the MCP server directly (Not intended to be used manually).
Authentication Commands
Section titled “Authentication Commands”Check Authentication Status
Section titled “Check Authentication Status”pacy whoami
Shows current user information and device details.
Logout
Section titled “Logout”pacy logout
Sign 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