The increasing number of zoonotic diseases spilling over from a range of wild animal species represents a particular concern for public health, especially in light of the current dramatic trend of biodiversity loss. To understand the ecology of these multi-host pathogens and their response to environmental degradation and species extinctions, it is necessary to develop a theoretical framework that takes into account realistic community assemblages. Here, we present a multi-host species epidemiological model that includes empirically determined patterns of diversity and composition derived from community ecology studies. We use this framework to study the interaction between wildlife diversity and directly transmitted pathogen dynamics. First, we demonstrate that variability in community composition does not affect significantly the intensity of pathogen transmission. We also show that the consequences of community diversity can differentially impact the prevalence of pathogens and the number of infectious individuals. Finally, we show that ecological interactions among host species have a weaker influence on pathogen circulation than inter-species transmission rates. We conclude that integration of a community perspective to study wildlife pathogens is crucial, especially in the context of understanding and predicting infectious disease emergence events.