Skip to main content

Live MCP Resources

In the Model Context Protocol, Resources provide real-time, read-only context to AI assistants. Unlike Tools (which execute actions), Resources can be attached to conversations, pinned to agent system prompts, or inspected by models to understand your workspace state. The Mailofly MCP server provides 4 live resources:

mailofly://usage

Live email volume, delivered/bounced counters, and quota limits.

mailofly://templates

All email templates with HTML structure and variable placeholders.

mailofly://domains

Configured sending domains and DNS verification states (SPF, DKIM, DMARC).

mailofly://identities

Configured sending identities and accounts.

1. mailofly://usage

Provides instant access to your account’s sending metrics over the last 30 days:

How to Use in AI Prompts

“Based on @mailofly://usage, are we close to hitting our monthly email quota?“

2. mailofly://templates

Supplies the complete catalog of reusable email templates available in your Mailofly workspace. The AI can inspect template structure, variable interpolations ({{name}}, {{verification_link}}), and suggest design improvements.

How to Use in AI Prompts

“Review @mailofly://templates and check which templates are missing a plain-text fallback.”

3. mailofly://domains

Lists all custom sending domains configured in your workspace along with their cryptographic DNS records:
  • DKIM (DomainKeys Identified Mail) status
  • SPF (Sender Policy Framework) record alignment
  • DMARC policy state
  • Return-Path routing status

How to Use in AI Prompts

“Check @mailofly://domains and let me know if any DKIM keys have not finished DNS propagation.”

4. mailofly://identities

Shows active sender identities (e.g. support@acme.com, billing@acme.com) and their outbound configurations.

How to Use in AI Prompts

“Which sender identity should we use for our customer invoice receipt emails according to @mailofly://identities?”

Using Resources in AI Clients

  • Claude Desktop: Click the paperclip icon or reference @mailofly:// to attach resource contents.
  • Cursor Composer: Type @mailofly:// in chat to inject live templates or domain records directly into the prompt context.
  • Antigravity / Autonomous Agents: Agents automatically fetch matching resource URIs when reasoning about deliverability, templates, or limits.