Many of the family support systems, even the family court system, have a history of default preference toward mothers, probably persists to some extent today.
My marriage was manageable until we had a child. (She had an abusive stepfather and was greatly triggered when she saw I had become a father...) It was increasingly difficult, yes, she also demanded our son was to be "protected" from my relatives, even my elderly parents. Once I contacted the legal systems - police for a "family dispute" - my marriage had crossed a line from which it didn't survive. We separated and soon were divorcing. She filed numerous allegations against me during the separation, the two year divorce and even for another year or so after the final decree. Even after they stopped she was still playing games with exchanges and disparaging me. Now that our son is an adult, things are less conflictual as long as I don't trigger her.
I say this to enlighten you that recent events in your life too have raised the conflict to a new level and there may not be a way to go back. My ex was too entitled to turn around and fix herself and her marriage. Maybe your spouse will listen and respond in therapy for everyone's benefit. Or maybe not, which means you need to ponder your options.
When it comes to family courts, their approach is typically to ignore mental health concerns. They act more as referees, monitoring separating the opponents and making orders regarding the marriage itself, the custody of minor children and each parent's parenting schedule.
My concern is that your spouse's allegations may set the stage for the court - which takes the legal stance that it doesn't know you, her or the children - to make a temp order greatly restricting your parenting. If court gets involved, I encourage you to do what you can to get the "least bad" temp order. Why? Because a temp order can last until the end of the divorce - for us as much as 1 or 2 years - and often can morph into the final decree. (By then, court may assume the temp order has been in place for so long the kids are used to it and improving it may rock the boat.)
Just in case, you probably ought to confidentially get William Eddy's Splitting: Protecting Yourself While Divorcing Someone with Borderline or Narcissistic Personality Disorder. It has been a lifesaver for so many of us here.




line alone would have decided it for me. Threats are a no-no. 