Not sure exactly how you plan to setup your MX, but if you are using it in NAT mode then it won’t support any routing protocols on the WAN interface. If you have it in VPN concentrator mode then the WAN interface will support OSPF or BGP, but this is used to pass routes to/from a data centre, not a carrier PE.
If you are using an MPLS link in a SD-WAN scenario then that link must have access to the internet, either via a breakout provided by the carrier, or through your own data centre. The MX doesn’t use a routing protocol, just a default gateway towards the carrier, and the carrier network doesn’t know anything about your internal networks, just the IP address of the WAN port on the MX. All the traffic between your internal networks is encrypted, and appears to go to and from the WAN IP addresses of the MX - the internal IP addresses are in the encrypted part, which the MX unpacks when it receives data.
This is actually one of the advantages of SD-WAN, your internal IP addressing is completely separate to the WAN addressing, and invisible to the carrier. So you can do what you want, and you don’t need to involve the carrier to change things (or advertise internal routes to them). The MXs take care of the routing through the encrypted tunnel.
Realised I just rambled on a bit, hope it makes sense 😀