Polyrhachis rupicapra is a species of ant in the subfamily Formicinae, found in Sri Lanka, and China.