Skip to main content
Glama
Benjamin45370

Email MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
EMAIL_ACCOUNTSNoJSON describing your email accounts, passed directly instead of using a config file (e.g. env = { "EMAIL_ACCOUNTS" = "<your-accounts-json>" }).
MCP_EMAIL_ADDRESSNoEmail address for single-account configuration via environment variables (no config file needed).
MCP_EMAIL_PASSWORDNoPassword (e.g. app password) for single-account configuration via environment variables.
EMAIL_MCP_HTTP_HOSTNoAddress to bind for the Streamable HTTP transport. Equivalent to the --host flag. Precedence: CLI flags → EMAIL_MCP_HTTP_* env → [settings.server] → defaults.127.0.0.1
EMAIL_MCP_HTTP_PATHNoHTTP path serving MCP. Equivalent to the --path flag./mcp
EMAIL_MCP_HTTP_PORTNoPort to listen on for the Streamable HTTP transport. Equivalent to the --port flag.8080
MCP_EMAIL_IMAP_HOSTNoIMAP host for single-account configuration via environment variables (e.g. imap.gmail.com).
MCP_EMAIL_SMTP_HOSTNoSMTP host for single-account configuration via environment variables (e.g. smtp.gmail.com).
EMAIL_MCP_HTTP_TOKENNoRequire `Authorization: Bearer <secret>` on every request. Equivalent to the --token flag. Required (along with --insecure or an upstream proxy) when binding a non-loopback host.
EMAIL_MCP_HTTP_ALLOWED_HOSTSNoComma-separated Host header allowlist (DNS-rebinding protection); `*` disables the check. Equivalent to the --allowed-hosts flag. Defaults to loopback names + bind host.

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