Skip to main content
Glama
chiara53777

IMAP MCP Server

by chiara53777

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for `npm run web` (default: `3000`; `imap-setup` uses `--port`).
IMAP_MCP_BINDNoAddress the setup wizard binds to (default: `127.0.0.1`; `--host` takes precedence).
IMAP_MCP_READ_ONLYNoWhen truthy (`1`, `true`, `yes`, `on`), only the safe, read-only tools are registered — searching, reading, listing folders, unread counts, spam analysis. No tool that sends mail, deletes/moves messages, changes flags, or edits accounts is exposed.
IMAP_MCP_WIZARD_TOKENNoAccess token used when the setup wizard is bound beyond loopback (default: random per start). Must be at least 16 characters; it is then not printed.
IMAP_MCP_ENABLED_TOOLSNoComma-separated allowlist of tool names — only these are registered. Names are case-insensitive and the `imap_` prefix is optional (`search_emails` ≡ `imap_search_emails`). When set, it takes precedence over `IMAP_MCP_READ_ONLY`.
IMAP_MCP_ACCOUNT_WORK_GMAIL_IMAP_PASSWORDNoOverrides the IMAP password of an already-configured account at runtime. The variable is keyed by the account name, uppercased with every non-alphanumeric character replaced by `_` (example shown for an account named `Work Gmail`). Consumed at startup; overrides apply only to existing accounts and are kept in memory only.
IMAP_MCP_ACCOUNT_WORK_GMAIL_IMAP_USERNAMENoOverrides the IMAP username (`user`) of an already-configured account at runtime. The variable is keyed by the account name, uppercased with every non-alphanumeric character replaced by `_` (example shown for an account named `Work Gmail`). Consumed at startup; overrides apply only to existing accounts and are kept in memory only.
IMAP_MCP_ACCOUNT_WORK_GMAIL_SMTP_PASSWORDNoOverrides the SMTP password of an already-configured account at runtime; takes effect only when the account already has an SMTP config. The variable is keyed by the account name, uppercased with every non-alphanumeric character replaced by `_` (example shown for an account named `Work Gmail`). Consumed at startup; overrides apply only to existing accounts and are kept in memory only.
IMAP_MCP_ACCOUNT_WORK_GMAIL_SMTP_USERNAMENoOverrides the SMTP username (`smtp.user`) of an already-configured account at runtime; takes effect only when the account already has an SMTP config. The variable is keyed by the account name, uppercased with every non-alphanumeric character replaced by `_` (example shown for an account named `Work Gmail`). Consumed at startup; overrides apply only to existing accounts and are kept in memory only.

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