Cursor IDE Beta
Prerequisites
- Node.js 18+
- Cursor IDE - cursor.com
Install & Run
bash
# Start Cursor with debugging port (required)
cursor --remote-debugging-port=9222
# Install daemon
npm install -g @cmdctrl/cursor-ide
# Register
cmdctrl-cursor-ide register -s https://api.cmd-ctrl.ai
# Start
cmdctrl-cursor-ide startWARNING
Cursor must be running with --remote-debugging-port=9222 before starting the daemon.
Auto-Launch Cursor with Debugging
macOS: Add to your shell profile:
bash
alias cursor='/Applications/Cursor.app/Contents/MacOS/Cursor --remote-debugging-port=9222'Linux: Create an alias or modify your desktop shortcut.
Troubleshooting
"Cannot connect to Cursor" - Ensure Cursor is running with --remote-debugging-port=9222
"Connection refused on 9222" - Restart Cursor with the debugging flag
Port conflict - Pick another port and set CDP_PORT env var
