Email Operations
Search, read, thread, reply, forward, draft, send, archive, move, label, flag, bulk-manage, and download attachments.
v1.2.0 · Open Source · TypeScript
An open-source server that gives AI assistants full access to Fastmail email, calendars, and contacts over JMAP.
# Install globally
npm install -g @jordonh19/fastmail-mcp-server
# Or run directly with npx
FASTMAIL_API_TOKEN="fm1-..." \
npx @jordonh19/fastmail-mcp-server
# HTTP transport mode
npx @jordonh19/fastmail-mcp-server \
--transport http --port 3000
A structured tool surface for reading, writing, and managing email, calendar events, contacts, and mailboxes. Built with JMAP for reliability and MCP for interoperability.
Search, read, thread, reply, forward, draft, send, archive, move, label, flag, bulk-manage, and download attachments.
List calendars, query events, create meetings, update participants and alerts, and delete events.
Search contacts, create cards, update organizations and details, and browse across address books.
Mailbox stats, account summaries, capability checks, and token scope troubleshooting.
Built-in live dashboard in HTTP mode with real-time tool-call log, connection tracking, and server health — secured by a one-time access token.
One-command DXT packaging for drag-and-drop installation in Claude Desktop with guided API token setup.
Tools are organized into logical groups instead of a flat list. Each group has a clear scope so your AI assistant can discover and use the right tool without confusion.
search_emails, get_email, get_thread, get_unread_emails, get_latest_emails, get_mailbox_emails, get_email_attachments, download_attachment
send_email, reply_email, forward_email, create_draft, send_draft
move_email, add_labels, remove_labels, update_email_flags, delete_email, bulk_email_action, bulk_add_labels, bulk_remove_labels, archive_email, mark_mailbox_read, get_mailbox_stats, get_account_summary
list_mailboxes, create_mailbox, rename_mailbox, delete_mailbox
list_calendars, get_calendar_events, get_calendar_event, create_calendar_event, update_calendar_event, delete_calendar_event
list_address_books, search_contacts, get_contact, create_contact, update_contact, delete_contact
get_identities — discover sender identities before composing mail
summarize_email, suggest_reply — AI-powered via MCP sampling
check_function_availability — verify JMAP capabilities
Connects to any MCP-compatible client over stdio or HTTP. One package, consistent behavior, no per-client configuration.
Generate a Fastmail API token, run the package, and point your MCP client at it.
Go to Fastmail Settings → Privacy & Security → Manage API tokens. Grant access to Mail, Calendars, and Contacts.
Use stdio for local clients or --transport http for remote access.
FASTMAIL_API_TOKEN="fm1-..." npx @jordonh19/fastmail-mcp-server
Point your client at the server with a standard MCP configuration entry.
{
"servers": {
"fastmail": {
"command": "npx",
"args": ["@jordonh19/fastmail-mcp-server"],
"env": {
"FASTMAIL_API_TOKEN": "your-api-token"
}
}
}
}
An open-source Model Context Protocol server that connects MCP-compatible AI assistants to Fastmail email, calendars, and contacts over JMAP. Built in TypeScript, published on npm.
Claude Desktop, VS Code, Cursor, Windsurf, and any MCP-compatible client. It defaults to stdio and also supports HTTP transport for remote access.
Yes. Generate a token with Mail, Calendars, and Contacts access from your Fastmail account settings under Privacy & Security.
Yes. The 25 email tools cover searching, reading, threading, replying, forwarding, drafting, labeling, archiving, moving, bulk actions, and downloading attachments.
Yes. 6 calendar tools and 6 contact tools handle event management, address books, and contact CRUD operations.
Added a built-in web UI dashboard for HTTP mode with live tool-call logging, and DXT packaging for one-click Claude Desktop installation. Now at 45 tools across 9 groups.