  The simultaneous breaking of time-reversal and inversion symmetry can lead to
peculiar effects in Josephson junctions, such as the anomalous Josephson effect
or supercurrent rectification, which is a dissipationless analog of the diode
effect. Due to their impact in new quantum technologies, it is important to
find robust platforms and external means to manipulate the above effects in a
controlled way. Here, we theoretically consider a Josephson junction based on a
quantum spin Hall system as the normal channel, subjected to a magnetic field
in the direction defined by spin-momentum locking, and in presence of a local
tip in close proximity to one of the metallic edges in the normal region. We
consider different local perturbations, model normal and magnetic tips, and
study how they affect the Josephson response of the device. In particular, we
argue that magnetic tips are a useful tool that allows for tunability of both
$\phi_0$ response and supercurrent rectification.
