A medical device cap that protectively surrounds a medical device component for disinfection purposes and includes an identification element that can record and transmit pertinent information of the medical device cap and the medical device component is disclosed. The medical device cap enables documentation of instances when the cap is used and promotes stronger compliance with the use of medical device caps for applications involving disinfection of a medical device component such as an IV access port or a luer tip. Use of the medical device cap results in better compliance and monitoring of the use of such caps and leads to reduced incidence of CRBSI infections related to medical device component contamination. In one embodiment, the medical device cap enables automated real-time electronic documentation of when the cap is applied, while also documenting duration of application and tracking of device for inventory management.