I have a metal plate and 7 screws in my right leg; I don't know what they're made of but they've never registered when going through security...although I have never gone through either BSX or MMW scanners, so I don't know what might have happened if I had.
Depending on how soon you're flying after surgery, I'd be more concerned about having your surgery scar(s) groped.