Proton Mail Bridge MCP
by faf-net
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IMAP_HOST | No | Bridge IMAP host; in the Docker container this is `bridge`. | |
| IMAP_PORT | No | Bridge IMAP port; in the Docker container this is 143 (the Bridge only exposes IMAP, no SMTP). | |
| EXPORT_DIR | No | Target directory for the bulk export scripts. | |
| BRIDGE_USER | Yes | Proton Mail Bridge mailbox username/credentials (not your Proton account password). | |
| TAX_FOLDERS | No | Folders used by the tax bulk export script. | |
| IMAP_TIMEOUT | No | Timeout for IMAP operations against the Bridge. | |
| SCANNER_ADDR | No | Scanner address used by the bulk OCR/scan script. | |
| MCP_AUDIT_LOG | No | Audit log per tool call (JSON lines: who, what, when, how much — never mail content); empty means disabled. | |
| MAX_MESSAGE_MB | No | Message size cap in MB (default 50). | |
| MCP_AUTH_TOKEN | No | Legacy form of authentication: a single token with the scopes proton.read and proton.attachments (consumer name `legacy`). | |
| BRIDGE_PASSWORD | Yes | Proton Mail Bridge mailbox password (not your Proton account password). | |
| IMAP_TLS_VERIFY | No | Whether to verify the Bridge's self-signed TLS certificate; use false only inside the internal Docker network. | |
| OAUTH_ISSUER_URL | No | OAuth issuer URL (variant B only). | |
| OAUTH_STATE_FILE | No | File used to persist OAuth state (variant B only). | |
| MAX_ATTACHMENT_MB | No | Attachment size cap in MB (default 10). | |
| MCP_ALLOWED_HOSTS | No | Allowed Host headers (DNS rebinding protection). | |
| MCP_OAUTH_ENABLED | No | `true` enables the OAuth authorization server (variant B, e.g. to connect from claude.ai). | |
| MCP_STATIC_TOKENS | No | Static consumer tokens in the form `name=token[:scope,scope];…` (scopes: proton.read, proton.attachments, proton.ablage). See docker/.env.example. | |
| OAUTH_RESOURCE_URL | No | OAuth resource URL (variant B only). | |
| ATTACHMENT_DROP_DIR | No | Drop directory used by the `anhang_ablegen` tool (e.g. a network share also mounted by the agent); if empty the tool reports that it is disabled. | |
| ATTACHMENT_DROP_VIEW | No | Path under which the consumer sees the parent directory of the drop directory. | |
| READY_FRISCHE_ORDNER | No | Folder checked by the `/readyz` endpoint (newest mail in that folder). | |
| ATTACHMENT_DROP_MAX_MB | No | Size limit in MB for `anhang_ablegen` (default 50). | |
| READY_MAX_POST_ALTER_H | No | Maximum age in hours of the newest mail for `/readyz` to report ready. | |
| OAUTH_ALLOWED_REDIRECT_URIS | No | Allowed OAuth redirect URIs (variant B 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
| 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 | |