Skip to main content
Glama
EdmundLimBoEn

imap-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoListen address inside the container.0.0.0.0
PORTNoHTTP listen port.8787
BIND_IPNoCompose-only host IP to publish on, e.g. a Tailscale IP.
SMTP_ENABLEDNoGlobal gate for sending. The send_message tool exists only when true.false
IMAP_ACCOUNTSYesComma-separated account names, e.g. work,personal. Each name defines a set of IMAP_<NAME>_* variables.
MAX_BODY_CHARSNoBody cap for read_message.20000
IMAP_<NAME>_TLSNoUse implicit TLS for IMAP for the named account.true
IMAP_<NAME>_HOSTYesIMAP host for the named account, e.g. imap.example.com. Required for each account.
IMAP_<NAME>_PASSYesIMAP password or app password for the named account. Required for each account.
IMAP_<NAME>_PORTNoIMAP port for the named account.993 (TLS) / 143
IMAP_<NAME>_SENTNoSent folder override for the named account. Defaults to the \Sent special-use folder, then Sent, or IMAP_<NAME>_SENT.
IMAP_<NAME>_USERYesIMAP username for the named account, e.g. user@example.com. Required for each account.
MCP_BEARER_TOKENYesBearer token required for every request except GET /health. Must be at least 16 characters; the server refuses to start without it.
IMAP_TLS_INSECURENoSkip TLS certificate verification. Testing only.false
IMAP_<NAME>_SMTP_TLSNoUse implicit TLS for SMTP for the named account. Set false for plain/STARTTLS ports.true
IMAP_<NAME>_SMTP_HOSTNoSMTP host for the named account, e.g. smtp.example.com. Required for sending; reuses IMAP_<NAME>_USER and IMAP_<NAME>_PASS.
IMAP_<NAME>_SMTP_PORTNoSMTP 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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources