I think they’re talking about ActivityPub keys there, but it looks like your Nostr private key is derived from your ActivityPub ID plus some secret in a configuration file. Every time you post a note to Nostr, Mostr regenerates your key to sign it. There’s no API to just return your private key.
https://gitlab.com/soapbox-pub/mostr/-/blob/develop/src/nostr/sign.ts