Mary McGee, a motorcycle driver who was recognized as the first woman to compete in any American motorcycle road racing and motocross event, died Wednesday in Gardnerville, Nev. She was 87.