A skilled political communicator, McCarthy served three mayors, shaped the city’s political dialogue and endeared himself to many fans and friends.