You should be able to use the following lines of code to achieve that.
var mouse_pos = get_global_mouse_position()
$StaticBodyName.position = mouse_pos
but a static body shouldnt be moved around really. You should have a different node for that really