JMAP MCP Server A Model Context Protocol (MCP) server that provides tools for interacting with JMAP (JSON Meta Application Protocol) email servers. Built with Deno and using the @htunnicliff/jmap-jam client library. Features Email Management Tools Search Emails : Search emails with text queries, sender/recipient filters, date ranges, and keywords : Search emails with text queries, sender/recipient filters, date ranges, and keywords Get Emails : Retrieve specific emails by ID with full details : Retrieve specific emails by ID with full details Get Threads : Retrieve email threads (conversation chains) : Retrieve email threads (conversation chains) Mark Emails : Mark emails as read/unread, flagged/unflagged : Mark emails as read/unread, flagged/unflagged Move Emails : Move emails between mailboxes : Move emails between mailboxes Delete Emails: Delete emails permanently Mailbox Management Get Mailboxes: List all mailboxes/folders with hierarchy support Email Composition Send Email : Compose and send new emails with support for plain text and HTML : Compose and send new emails with support for plain text and HTML Reply to Email: Reply to existing emails with reply-all support Key Capabilities Full JMAP RFC 8620/8621 compliance via jmap-jam Comprehensive input validation with Zod schemas Pagination support for all list operations Rich error handling and connection management Functional programming patterns throughout TypeScript support with strong typing Installation Prerequisites Deno v1.40 or later A JMAP-compliant email server (e.g., Cyrus IMAP, Stalwart Mail Server, FastMail) Valid JMAP authentication credentials Setup Add the following to your agent of choice: { "mcpServers" : { "fastmail" : { "type" : " stdio " , "command" : " deno " , "args" : [ " run " , " --allow-net=api.fastmail.com " , " --allow-env=JMAP_SESSION_URL,JMAP_BEARER_TOKEN,JMAP_ACCOUNT_ID " , " jsr:@wyattjoh/jmap-mcp@0.1.1 " ], "env" : { "JMAP_SESSION_URL" : " https://api.fastmail.com/jmap/session "...
First seen: 2025-08-15 19:22
Last seen: 2025-08-16 02:24