mautic and wordpress.com or wordpress.org

does mautic work with wordpress.com or only wordpress.org?

in both

does mautic work with wordpress.com or only wordpress.org?