A device (10), a method and a computer program for configuring a medical device (20), a medical device (20), a method and a computer program for a medical device are provided. The device (10) includes at least one interface (12) for communication with the at least one medical device (20) and for receiving optical image data of the medical device and of an area surrounding the medical device. The device (10) further comprises a computer (14) for controlling the at least one interface (12) and for determining whether a user of the medical device (20) is located in the area surrounding the medical device. The computer (14) is further configured to communicate with the medical device when the user is located in the area surrounding the medical device (20). The computer is configured to receive addressing information about the at least one medical device via the at least one interface.