> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Live Resources

> How AI agents read real-time Mailofly workspace resources as ambient context.

# 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:

<CardGroup cols={2}>
  <Card title="mailofly://usage" icon="chart-pie">
    Live email volume, delivered/bounced counters, and quota limits.
  </Card>

  <Card title="mailofly://templates" icon="palette">
    All email templates with HTML structure and variable placeholders.
  </Card>

  <Card title="mailofly://domains" icon="globe">
    Configured sending domains and DNS verification states (SPF, DKIM, DMARC).
  </Card>

  <Card title="mailofly://identities" icon="address-card">
    Configured sending identities and accounts.
  </Card>
</CardGroup>

***

## 1. `mailofly://usage`

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

```json theme={null}
{
  "periodDays": 30,
  "emailsSent": 1420,
  "delivered": 1398,
  "bounced": 12,
  "activeContacts": 450,
  "domains": 2,
  "limits": {
    "emailsPerMonth": 50000,
    "maxDomains": 5
  }
}
```

### 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.


## Related topics

- [MCP Server](/mcp-server/introduction.md)
- [MCP Quickstart](/mcp-server/quickstart.md)
- [CLI](/cli/index.md)
- [Introduction](/api/index.md)
- [Supabase Go-Live Checklist](/guides/tutorials/supabase-go-live-checklist.md)
