Skip to main content
Glama
mcp-mail

mcp-mail

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoListening port; defaults to 8080.8080
BASE_URLYesPublic URL of this instance, with no trailing slash.
IMAP_SSLNoWhether to use SSL for the IMAP connection; IONOS uses SSL.
AGENT_NOMNoDaily agent only (required for the daily agent): the person whose mailbox this is, filled into agent_consignes.md.
FROM_NAMENoFrom header name on drafts.
IMAP_HOSTYesIMAP server hostname; for IONOS use the account region's host, e.g. imap.ionos.fr or imap.ionos.com.
IMAP_PORTYesIMAP server port; IONOS uses 993.
IMAP_USERYesMailbox IMAP username; also the default for FROM_ADDRESS.
AGENT_POSTENoDaily agent only (required for the daily agent): the person's role, filled into agent_consignes.md.
AGENT_STYLENoDaily agent optional: personal writing habits.
AGENT_PRENOMNoDaily agent optional: first name; defaults to the first word of AGENT_NOM.
FROM_ADDRESSNoFrom header address on drafts; defaults to IMAP_USER.
AGENT_API_URLNoWhen set, enables CRM tools that call the agency site's agent-mail function.
DRAFTS_FOLDERNoDrafts folder; if empty, uses the folder flagged as \Drafts.
IMAP_PASSWORDYesMailbox IMAP password; Gmail requires an App Password with 2FA enabled.
MAILBOX_LABELNoWhich mailbox this instance serves; appears in the server name and tool descriptions.
MAIL_MCP_PORTNoListening port; wins over PORT. Defaults to 8080.8080
MAX_BODY_CHARSNoSize cap for returned message bodies.
AGENT_SIGNATURENoDaily agent optional: signature for drafts.
AGENT_TELEPHONENoDaily agent optional: phone number for drafts.
JWT_SIGNING_KEYYesRequired. Signs client tokens and encrypts stored OAuth state.
GITHUB_CLIENT_IDYesGitHub OAuth app client ID for this instance.
INVOICE_WEBHOOK_URLNoWhen set with CRM configuration, enables mail_file_invoice via the n8n webhook.
GITHUB_CLIENT_SECRETYesGitHub OAuth app client secret for this instance.
MAX_ATTACHMENT_BYTESNoSize cap for returned attachments.
ALLOWED_GITHUB_LOGINSYesGitHub logins allowed to connect; if empty, the server stops.

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