jmap-mcp
Click on "Install 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: Email MCP Server
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikluko/jmap-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server