MCP Hub
Back to servers

fastmail-mcp

An MCP server for Fastmail that provides access to email, contacts, and calendars via the JMAP protocol. It enables users to search, send, and bulk-manage emails while also interacting with calendar events and address books through natural language.

glama
Updated
Mar 30, 2026

fastmail-mcp

An MCP (Model Context Protocol) server for Fastmail that provides access to email, contacts, and calendars via the JMAP protocol.

Tools

Email

ToolDescription
list_mailboxesList all mailboxes in the account
list_emailsList emails from a mailbox
get_emailGet a specific email by ID
get_recent_emailsGet the most recent emails from inbox
search_emailsSearch emails by subject or content
advanced_searchAdvanced email search with multiple criteria (sender, recipient, date range, attachments, etc.)
send_emailSend an email
reply_emailReply to an email with proper threading headers
save_draftSave an email as a draft with optional threading support
create_draftCreate an email draft without sending
mark_email_readMark an email as read or unread
delete_emailDelete an email (move to trash)
move_emailMove an email to a different mailbox
add_labelsAdd labels (mailboxes) to an email
remove_labelsRemove labels (mailboxes) from an email
get_email_attachmentsList attachments for an email
download_attachmentDownload an email attachment (save to disk or get URL)
get_threadGet all emails in a conversation thread
get_mailbox_statsGet mailbox statistics (unread count, total, etc.)
get_account_summaryGet overall account summary with statistics

Bulk Operations

ToolDescription
bulk_mark_readMark multiple emails as read/unread
bulk_moveMove multiple emails to a mailbox
bulk_deleteDelete multiple emails (move to trash)
bulk_add_labelsAdd labels to multiple emails
bulk_remove_labelsRemove labels from multiple emails

Contacts

ToolDescription
list_contactsList contacts from the address book
get_contactGet a specific contact by ID
search_contactsSearch contacts by name or email

Calendars

ToolDescription
list_calendarsList all calendars
list_calendar_eventsList events from a calendar
get_calendar_eventGet a specific calendar event by ID
create_calendar_eventCreate a new calendar event

Utility

ToolDescription
list_identitiesList sending identities (email addresses)
check_function_availabilityCheck which functions are available based on account permissions
test_bulk_operationsTest bulk operations with a dry-run mode

Environment Variables

VariableRequiredDescription
FASTMAIL_API_TOKENYesFastmail API token (create one here)

Setup

npm ci

Usage

Stdio mode (for Claude Desktop, Claude Code, etc.)

node dist/index.js

HTTP mode (with mcp-proxy)

npx mcp-proxy --port 8003 -- node dist/index.js

Claude Desktop configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "fastmail": {
      "command": "node",
      "args": ["/path/to/fastmail-mcp/dist/index.js"],
      "env": {
        "FASTMAIL_API_TOKEN": "your-api-token"
      }
    }
  }
}

License

MIT

Reviews

No reviews yet

Sign in to write a review