jmap-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jmap-mcpList my mailboxes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
jmap-mcp
MCP server exposing JMAP email and Sieve script operations as tools.
Built with the Go MCP SDK (go-sdk) and go-jmap library.
Tools
Tools map closely to JMAP methods. Email mutation tools provide structured convenience wrappers over Email/set patches.
Mailbox (RFC 8621)
Tool | JMAP Method | Description |
|
| Get mailboxes by ID, or list all |
|
| Create, update, or destroy mailboxes |
Email (RFC 8621)
Tool | JMAP Method | Description |
|
| Search emails with filters, returns IDs and total count |
|
| Get full content of emails by ID |
|
| Create a new email draft in the Drafts mailbox |
|
| Move emails to a different mailbox |
|
| Set or remove flags (seen, flagged, answered, draft) |
|
| Delete emails (move to Trash or permanently destroy) |
| Blob download | Signed URL streaming an attachment, expires in 30 s (HTTP mode only) |
Identity
Tool | JMAP Method | Description |
|
| List sender identities (email addresses) |
Submission (feature-gated)
Tool | JMAP Method | Description |
|
| Submit a draft for delivery (requires |
Sieve Scripts (RFC 9661, feature-gated)
Tool | JMAP Method | Description |
|
| List all scripts, or get one with full content (requires |
|
| Create, update, or destroy Sieve scripts (requires |
|
| Validate a Sieve script without saving (requires |
Related MCP server: mail-mcp
Configuration
Env var | Required | Description |
| always | JMAP session endpoint (e.g. |
| stdio mode | Bearer token for JMAP authentication |
| no | Secret sealing signed attachment URLs; set for multi-replica deployments (default: random per-process key) |
Flag | Default | Description |
|
| Server mode: |
|
| HTTP listen address (http mode only) |
|
| Enable the |
|
| Enable Sieve script tools (off by default, requires JMAP server support) |
| derived | External base URL for signed attachment links; default derives from the request ( |
In HTTP mode, the token can be passed per-request via Authorization: Bearer <token> header or jmap_token query parameter (query parameter takes precedence).
In HTTP mode, email_attachment_url returns a link served from /attachments/ that expires 30 seconds after issuance. The link is an AES-GCM sealed capability: it embeds the JMAP token, account, and blob IDs, so the endpoint streams the attachment from the JMAP server without any additional authentication and stores nothing on disk.
Installation
Kubernetes (Helm)
helm install jmap-mcp oci://ghcr.io/mikluko/helm-charts/jmap-mcp \
--version 0.1.0 \
--set jmap.sessionURL="https://api.fastmail.com/jmap/session"In HTTP mode, JMAP auth tokens are passed per-request via Authorization: Bearer header or ?jmap_token= query parameter — no static tokens are stored in the cluster.
Binary
go install github.com/mikluko/jmap-mcp@latestFrom source
git clone https://github.com/mikluko/jmap-mcp.git
cd jmap-mcp
make installUsage
# stdio mode (default)
export JMAP_SESSION_URL=https://api.fastmail.com/jmap/session
export JMAP_AUTH_TOKEN=your-token
./jmap-mcp
# HTTP mode
./jmap-mcp -mode http -listen :8080Build
make build # Build and push container image + Helm chart
make image # Build and push container image with ko
make package # Package and push Helm chart to OCI registry
make test # Run tests
make install # Install binary locallyReferences
This server cannot be deployed
Maintenance
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
An MCP server that provides email capabilities, hosted on Alpic platform
An MCP server that provides email capabilities, hosted on Alpic platform
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI models to read, search, and send emails via IMAP and SMTP protocols. It supports various providers like Gmail and Outlook, allowing for tasks such as retrieving unread messages, searching by sender, and managing mailbox folders.-
- AlicenseNot gradedqualityDmaintenanceA generic IMAP and SMTP MCP server that enables AI agents to interact with email accounts for reading, searching, and sending messages. It provides high-level tools for managing email workflows like daily digests and folder organization across any standard email provider.1MIT
- AlicenseBqualityBmaintenanceAn MCP server that exposes IMAP operations as tools for AI assistants, enabling email management including listing mailboxes, reading, searching, moving, flagging emails, and creating drafts.723 npmMIT
- AlicenseNot gradedqualityAmaintenanceExposes any IMAP mailbox and SMTP relay as MCP tools, enabling email management (read, search, send, delete) through MCP-compatible agents.MIT