April 11, 2026

pyfastmail-mcp

Install pip install pyfastmail-mcp
Tools mail, contacts, calendar, files

Full Fastmail access over MCP. Mail and contacts use JMAP. Calendar and file storage use CalDAV/WebDAV (require an app password).

Mail

Send, reply, forward, search, read, pin, archive, manage keywords, masked email, attachments, threads, import/export, identities.

Contacts

List address books, CRUD contacts, query with filters and sorting.

Calendar

List calendars, CRUD events. Requires a Fastmail app password with DAV scope.

Files

List, upload, download, move, delete, create folders. Requires a Fastmail app password with DAV scope.

Configuration

{
  "mcpServers": {
    "fastmail": {
      "command": "uvx",
      "args": ["pyfastmail-mcp"],
      "env": {
        "FASTMAIL_API_TOKEN": "fmu1-...",
        "FASTMAIL_EMAIL": "you@fastmail.com"
      }
    }
  }
}

Add FASTMAIL_APP_PASSWORD to enable calendar and file tools.