I could be remembering wrong but think there is a very inexpensive train that runs very often along the coast. It would be a way to go from Nice to Monte Carlo. I take it that you will not have a car. You should have a wonderful time either way you do it. Just my take but was not overly impressed with Monte Carlo. Need to visit if never been there as the boats in the harbor are a wonder to see. It is a hilly town.