When to use "I" in a master's thesis
The answer is to ask your supervisor. Theirs is the only opinion that matters. It is unlikely that anyone except your supervisor and maybe your committee members will read your thesis.

I prefer "I" but that's irrelevant. I'm not your adviser.