1. Get an API Key
Generate an API key with sending permissions:- Open your Mailofly Dashboard.
- Click Create API Key.
- Name it (e.g.
claude-assistantorcursor-agent). - Copy your secret key (
mfly_live_...).
2. Connect via MCP (Model Context Protocol)
Add the Mailofly MCP server to your agent configuration:3. What Your AI Agent Can Do
Once connected, your AI agent can invoke:send_email: Send transactional messages with HTML or dynamic template variables.get_email_status: Check if an email was delivered, opened, clicked, or bounced.list_domains: Verify DNS and DKIM status for your sending domains.query_logs: Search real-time delivery logs for specific recipients.