Labsco
MCP SERVER

Local Fastmail MCP

by mattriffle

Run your Fastmail inbox from an assistant — search it, read a thread, send the reply — over Fastmail's own JMAP API, with your credentials staying on your machine.

Email: Mailboxes & Delivery
Summary
Your inbox, addressable from the assistant.

Ask for the unread mail in one folder, have a long HTML newsletter read back as text, and send the reply — all through Fastmail's own API, from your own machine.

What it is

A locally-hosted server that connects a Fastmail account to any MCP client through JMAP. It runs on your machine, so no third-party webhook service sits between your mail and the assistant.

What you get
  • list_mailboxes returns every folder and label with its ID, role, permissions and unread and total counts
  • list_emails queries by mailbox, by full-text search or by unread status, paginated through position and limit
  • read_email returns one message in full; textOnly skips the HTML, which is what you want for newsletter-heavy mail
  • send_email drafts and sends from your Fastmail account
  • Strictly typed TypeScript and Zod schemas throughout, so a malformed request fails at the edge
Requirements

Node and a Fastmail account. The server runs locally and talks to Fastmail's JMAP API directly, so nothing is exposed outward.