Meghan is suing the newspaper and its parent group for publishing a letter she wrote to her father in 2018.
Her claims include misuse of her private information, selective editing of the letter and breach of copyright.
The Mail on Sunday rejects all claims.
Evidence from the duchess's father, Thomas Markle, forms part of the paper's defence.
In what BBC royal correspondent Jonny Dymond described as a "very robust" response from the paper, it argued in a court document that members of the Royal Family, including Meghan, "rely on publicity about themselves and their lives in order to maintain the privileged positions they hold and promote themselves".
It said the duchess "did not have a reasonable expectation of privacy that the contents of the letter were private and would remain so".
"There is a huge and legitimate public interest in the Royal Family and the activities, conduct and standards of behaviour of its members," it said.
"This extends not merely to their public conduct, but to their personal and family relationships because those are integral to the proper functioning of the monarchy."
The 44-page legal filing by the Mail on Sunday aims to tackle the duchess' claims one by one:
Meghan claimed she had not courted publicity for her relationship with her father, but the paper says she has not denied authorising her friends to speak about it for an article in a US magazine
The duchess said publishing the letter breached her copyright, but the Mail on Sunday says it was not a protected "original literary work" but a recounting of existing facts
Meghan said it infringed her data rights, but the newspaper says the data was not sensitive and concerned topics she had put in the public domain
Accused of selective editing, the Mail on Sunday says the extracts it released accurately conveyed the tone, content and meaning of the letter
As evidence that it did not infringe her privacy, the paper says the letter was "immaculately copied" in Meghan's "elaborate handwriting", arguing that this care in its presentation meant she anticipated it would be seen and read by a wider audience.
It comes as the Royal Family seek to redefine the Duke and Duchess of Sussex's role after the pair issued a surprise statement last week expressing their wish to "step back as 'senior' members of the Royal Family".
The Queen, the Prince of Wales, the Duke of Cambridge, and Prince Harry met at Sandringham on Monday to discuss the couple's future, but Meghan did not take part.
A palace official said "in the end it was decided by the Sussexes that it wasn't necessary for the duchess to join".