Mautic-cli - an open-source CLI to control Mautic from the terminal or any AI coding agent

Hey everyone!

Just released mautic-cli - an open-source CLI to control Mautic from the terminal or any AI coding agent.

What it does:

  • 17 resource groups (contacts, segments, emails, campaigns, forms, companies, and more)
  • 65 commands covering list, get, create, edit, delete, send, and more
  • Output as JSON, table, CSV, or auto-paginating NDJSON
  • Basic Auth and OAuth2, multiple profiles, Mautic 4-7 supported

Quick start:

  uv tool install mautic-cli
  mautic auth setup
  mautic contacts list --limit 5

AI agents (Claude Code, Cursor, Codex, Gemini, Windsurf, etc.) can use it as a skill:

npx skills add bloomidea/mautic-cli

Feedback and contributions welcome!