Some folks claim that, if the official stories and personalities aren't warped, the new character isn't really a Mary Sue.
NOW, as someone points out in the discussion I linked, sometimes the character labeled a Mary Sue fulfills the author's fantasies: She battles bad guys. Or she has a romance (preferably doomed) with an official character. Or she saves an important person's life. And she's the main character of the story, driving the action and solving all the things!
AND, as someone else pointed out in the discussion, and I think this is my point, although I'm never sure, all our characters are pieces of us, living out fantasies of what we would do if we were in various situations. But kind of not.
Because our characters are not us, playing out fantasies. Our characters have their own backstories, their own likes and dislikes, their own childhoods, and they can't all be the same as ours. That's why I have so many prompts asking things like, "What's in your character's wallet?". Sauron doesn't have the same things in his wallet as you do, most likely; why should any of your characters?
It's fun to write #menotme characters who get into and out of scrapes in other people's universes and wrap the narratives around themselves. And there's nothing wrong with doing that, if it pleases you. Just do it on purpose, because you choose to do it, not because you don't know any better. And expect some people to call your character a Mary Sue and sneer at her. Because folks are like that, sometimes.
Me, I've done it. And I've extracted my Mary Sue, changed all the official characters, and given her her own book. ha!
Marian Allen, Author Lady
Fantasies, mysteries, comedies, recipes