Skip to main content
Glama
faf-net

Proton Mail Bridge MCP

by faf-net

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTNoBridge IMAP host; in the Docker container this is `bridge`.
IMAP_PORTNoBridge IMAP port; in the Docker container this is 143 (the Bridge only exposes IMAP, no SMTP).
EXPORT_DIRNoTarget directory for the bulk export scripts.
BRIDGE_USERYesProton Mail Bridge mailbox username/credentials (not your Proton account password).
TAX_FOLDERSNoFolders used by the tax bulk export script.
IMAP_TIMEOUTNoTimeout for IMAP operations against the Bridge.
SCANNER_ADDRNoScanner address used by the bulk OCR/scan script.
MCP_AUDIT_LOGNoAudit log per tool call (JSON lines: who, what, when, how much — never mail content); empty means disabled.
MAX_MESSAGE_MBNoMessage size cap in MB (default 50).
MCP_AUTH_TOKENNoLegacy form of authentication: a single token with the scopes proton.read and proton.attachments (consumer name `legacy`).
BRIDGE_PASSWORDYesProton Mail Bridge mailbox password (not your Proton account password).
IMAP_TLS_VERIFYNoWhether to verify the Bridge's self-signed TLS certificate; use false only inside the internal Docker network.
OAUTH_ISSUER_URLNoOAuth issuer URL (variant B only).
OAUTH_STATE_FILENoFile used to persist OAuth state (variant B only).
MAX_ATTACHMENT_MBNoAttachment size cap in MB (default 10).
MCP_ALLOWED_HOSTSNoAllowed Host headers (DNS rebinding protection).
MCP_OAUTH_ENABLEDNo`true` enables the OAuth authorization server (variant B, e.g. to connect from claude.ai).
MCP_STATIC_TOKENSNoStatic consumer tokens in the form `name=token[:scope,scope];…` (scopes: proton.read, proton.attachments, proton.ablage). See docker/.env.example.
OAUTH_RESOURCE_URLNoOAuth resource URL (variant B only).
ATTACHMENT_DROP_DIRNoDrop 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_VIEWNoPath under which the consumer sees the parent directory of the drop directory.
READY_FRISCHE_ORDNERNoFolder checked by the `/readyz` endpoint (newest mail in that folder).
ATTACHMENT_DROP_MAX_MBNoSize limit in MB for `anhang_ablegen` (default 50).
READY_MAX_POST_ALTER_HNoMaximum age in hours of the newest mail for `/readyz` to report ready.
OAUTH_ALLOWED_REDIRECT_URISNoAllowed 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

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