Show HN: JMAP MCP – Email for your agents
9 days ago
- #Deno
- #JMAP
- A Model Context Protocol (MCP) server for interacting with JMAP email servers, built with Deno and using the @htunnicliff/jmap-jam client library.
- Features include searching emails with various filters, retrieving emails and threads, marking emails, moving emails between mailboxes, deleting emails, listing mailboxes, sending emails, and replying to emails.
- Full compliance with JMAP RFC 8620/8621, comprehensive input validation with Zod schemas, pagination support, rich error handling, and strong TypeScript typing.
- Requires Deno v1.40 or later and a JMAP-compliant email server like Cyrus IMAP, Stalwart Mail Server, or FastMail.
- Configuration involves setting environment variables for JMAP session URL, bearer token, and optional account ID.
- Supports various JMAP-compliant email servers and includes security best practices like environment variables for sensitive data and no secrets in logs.
- Built with Deno, @modelcontextprotocol/sdk, jmap-jam, and Zod for runtime type validation.
- Open-source under MIT License, with contributions welcome via fork, feature branch, and pull request.