The Meraki MX are functioning as layer 2 ports so you don't specifically assign an IP address to a port but to a VLAN interface instead.
Since you're connecting two cables from the 3850's stack to the MX, spanning tree should be blocking one of the ports. If the active port fails, spanning tree will open up the other port and start forwarding traffic.