Pyfastmail MCP Server

An [MCP](https://modelcontextprotocol.io/) server that gives AI assistants full access to your Fastmail account — email, contacts, calendars, and

Local serverstdio

What is the Pyfastmail MCP MCP server?

Connect Pyfastmail MCP to Claude, Cursor or any other MCP client and it stops being a tab you switch to. An MCP server that gives AI assistants full access to your Fastmail account — email, contacts, calendars, and file storage. The pyfastmail mcp mcp server is what makes that connection.

Installation

pyfastmail-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: FASTMAIL_API_TOKEN, FASTMAIL_APP_PASSWORD, FASTMAIL_EMAIL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by pjosols; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

How to install the Pyfastmail MCP MCP server

{
  "mcpServers": {
    "pyfastmail": {
      "command": "uvx",
      "args": ["pyfastmail-mcp"],
      "env": {
        "FASTMAIL_API_TOKEN": "your-value",
        "FASTMAIL_APP_PASSWORD": "your-value",
        "FASTMAIL_EMAIL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
FASTMAIL_API_TOKENCredential the server authenticates with.Yes
FASTMAIL_APP_PASSWORDConfiguration value read at startup.Optional
FASTMAIL_EMAILConfiguration value read at startup.Optional

Frequently asked questions

It connects Pyfastmail MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Pyfastmail MCP directly.