Fastmail
for AI

Give your AI assistant full access to Fastmail — email, contacts, calendars, and file storage. 42 tools across 4 protocols, installed in one line.

pip install pyfastmail-mcp
{
  "mcpServers": {
    "fastmail": {
      "command": "uvx",
      "args": ["pyfastmail-mcp"],
      "env": {
        "FASTMAIL_API_TOKEN": "fmu1-...",
        "FASTMAIL_APP_PASSWORD": "your-app-password",
        "FASTMAIL_EMAIL": "you@fastmail.com"
      }
    }
  }
}

42 tools

Send, reply, forward, search, thread, label, archive, masked email, attachments, contacts, events, files — all from natural language.

4 protocols

JMAP for mail, CardDAV for contacts, CalDAV for calendars, WebDAV for file storage. Full Fastmail coverage.

Security first

SSRF protection, URL validation, download size limits, path traversal prevention, XXE hardening. Two security audits.

Any MCP client

Works with Claude Desktop, Kiro, Cursor, Windsurf, or any client that speaks the Model Context Protocol.

Full Fastmail coverage

Every protocol Fastmail supports, wrapped as MCP tools your AI assistant can call directly.

JMAP

Mail

Send, reply, forward, search, threads, labels, masked email, attachments, mailbox management.

23 tools
CardDAV

Contacts

List address books, create, read, update, and delete contacts with full vCard support.

6 tools
CalDAV

Calendar

List calendars, create, read, update, and delete events with iCalendar support.

7 tools
WebDAV

Files

List, upload, download, move, delete files and create folders on Fastmail file storage.

6 tools