Fastmail MCP Server

Unofficial Model Context Protocol server for Fastmail integration

Setup Instructions

1. Get Your Fastmail API Token

  1. Log in to Fastmail
  2. Go to SettingsPrivacy & SecurityAPI tokens
  3. Click New API token
  4. Give it a name (e.g., "Claude MCP")
  5. Select the required scopes: Mail (read/write as needed)
  6. Copy the generated token

2. Configure Claude Code

Add the following to your Claude Code MCP settings (~/.claude/claude_desktop_config.json or project .mcp.json):

{
  "mcpServers": {
    "fastmail": {
      "type": "url",
      "url": "https://fastmail-mcp.vercel.app/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_FASTMAIL_API_TOKEN"
      }
    }
  }
}
Security Note: Keep your API token secure. Never commit it to version control. Consider using environment variables or a secrets manager.

Available Tools

execute
Execute JMAP method calls against Fastmail. Accepts raw JMAP method call triples — the server validates, injects accountId, and returns cleaned responses. Supports batching and resultOf back-references.

API Endpoints