Does musieć make any distinction between imperfective and perfective, or is it just the same verb for both?
You mean if "musieć" itself has an imperfective and perfective variant? No, just imperfective.
You can use either perfective or imperfective after it, though. "musieliśmy pomóc" (one time) vs "musieliśmy pomagać" (many times).