imap-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Listen address inside the container. | 0.0.0.0 |
| PORT | No | HTTP listen port. | 8787 |
| BIND_IP | No | Compose-only host IP to publish on, e.g. a Tailscale IP. | |
| SMTP_ENABLED | No | Global gate for sending. The send_message tool exists only when true. | false |
| IMAP_ACCOUNTS | Yes | Comma-separated account names, e.g. work,personal. Each name defines a set of IMAP_<NAME>_* variables. | |
| MAX_BODY_CHARS | No | Body cap for read_message. | 20000 |
| IMAP_<NAME>_TLS | No | Use implicit TLS for IMAP for the named account. | true |
| IMAP_<NAME>_HOST | Yes | IMAP host for the named account, e.g. imap.example.com. Required for each account. | |
| IMAP_<NAME>_PASS | Yes | IMAP password or app password for the named account. Required for each account. | |
| IMAP_<NAME>_PORT | No | IMAP port for the named account. | 993 (TLS) / 143 |
| IMAP_<NAME>_SENT | No | Sent folder override for the named account. Defaults to the \Sent special-use folder, then Sent, or IMAP_<NAME>_SENT. | |
| IMAP_<NAME>_USER | Yes | IMAP username for the named account, e.g. user@example.com. Required for each account. | |
| MCP_BEARER_TOKEN | Yes | Bearer token required for every request except GET /health. Must be at least 16 characters; the server refuses to start without it. | |
| IMAP_TLS_INSECURE | No | Skip TLS certificate verification. Testing only. | false |
| IMAP_<NAME>_SMTP_TLS | No | Use implicit TLS for SMTP for the named account. Set false for plain/STARTTLS ports. | true |
| IMAP_<NAME>_SMTP_HOST | No | SMTP host for the named account, e.g. smtp.example.com. Required for sending; reuses IMAP_<NAME>_USER and IMAP_<NAME>_PASS. | |
| IMAP_<NAME>_SMTP_PORT | No | SMTP port for the named account. | 465 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues