Stan McQueen is the chief inspector for WITSEC's Southwest region. As such, he serves as Marshall and Mary's boss. Of course, all viewers know that his ability to tell Mary what to do is rather limited.
Nevertheless, McQueen is a top WITSEC Inspector. He's highly regarded and will do whatever it takes to support his Marshals when necessary.