Yes! Starting in version 6.22.826 onwards, RealVNC Viewer installs a URI handler that can be called from other programs, like web browsers, to launch a connection to a RealVNC Server using RealVNC Viewer.
What connection string format does the URI use?
The connection string format to launch a connection using a URI is below. The URI handler does not accept any additional parameters other than the RealVNC Server address.
com.realvnc.vncviewer.connect://<cloud server ID>
Direct connections are only available on certain subscriptions.
How do I find connection address(es) for my RealVNC Server?
You can find the connection information for RealVNC Server both through the GUI and at the command line.
Using the RealVNC Server GUI
To find the connection address(es) using the RealVNC Server GUI, first open the RealVNC Server GUI using either the Start/Applications menu, or by double-clicking the RealVNC Server icon in the taskbar.
Once the GUI opens, expand the Other ways to connect section which will list the cloud server ID (all subscriptions) and/or IP address(es) (subscriptions that include direct connections).
Using the command line
Starting in version 6.11.0 you can query RealVNC Server for the cloud server ID on the command line. To do so, look for the ServerId line after running the appropriate command for your platform below.
Windows (elevated/administrator access required)
"C:\Program Files\RealVNC\VNC Server\vncserver.exe" -service -cloudstatus
sudo /Library/vnc/vncserver -service -cloudstatus
sudo vncserver-x11 -service -cloudstatus