You won't be able to use OSPF between the sites - you should not need it.
In each case, the default route for each switch should point to its local MX. The MX will need to know the routes in use at each site already, and you simply include those in AutoVPN.