In the port of Mahon cruise ships dock near the city center. It's very easy to explore everything on foot. Opposite the pier the road winds up. It can be very steep.
To avoid a steep walk to the city center, you can take a taxi. Count on € 5 per taxi (4 persons, one way).