A medical robot according to the invention comprises a base, an instrument flange for attaching a minimally invasive instrument, which instrument flange is connected to the base in such a way that the instrument flange can be moved by means of an actuated kinematic system, and a tube flange for attaching a tube, wherein the tube flange is connected to the kinematic system by means of a movable joint assembly, which has at least one actuated, in particular electrically actuated, and/or at least one elastically bound passive joint and/or at least one lockable joint.