Skip to main content
Glama
htilly

poste-mcp-gateway

by htilly

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMAP_HOSTYesposte.io IMAP host.
IMAP_PORTNoIMAPS port.993
SMTP_HOSTNoSubmission server host.IMAP_HOST
SMTP_PORTNoSubmission server port.587
VAULT_KEYNo32-byte key, hex or base64, as an environment variable. Prefer VAULT_KEY_FILE; an env var shows up in docker inspect.
PUBLIC_URLYesExternal URL, e.g. https://mail.example.com. OAuth issuer; the MCP endpoint is PUBLIC_URL/mcp.
SEND_USERSNoAddresses that may be granted mail.send. Must be a subset of ALLOWED_USERS. Empty: nobody can send.
STATE_FILENoClients and grants./state/gateway.json
LISTEN_HOSTNoInside the container; publish it on loopback only.0.0.0.0
LISTEN_PORTNoInside the container; publish it on loopback only.8080
SMTP_SECURENoWhether to use implicit TLS for SMTP submission. STARTTLS is required unless SMTP_SECURE=true.false
ALLOWED_USERSYesComma-separated mailbox addresses allowed to sign in.
VAULT_KEY_FILENo32-byte key, hex or base64, in a file. Prefer the file (a read-only mount or Docker secret): an env var shows up in docker inspect.
IMAP_SERVERNAMENoName the IMAP certificate is checked against.IMAP_HOST
ACCESS_TOKEN_TTLNoSeconds.3600
REFRESH_TOKEN_TTLNoSeconds.2592000
MAX_GRANT_AGE_DAYSNoAbsolute grant lifetime; refreshing never extends past it.90
SEND_LIMIT_PER_HOURNoMessages per user per hour.10
SEND_NEW_RECIPIENTSNodraft: mail to never-before-mailed recipients is saved to Drafts instead. allow: send anyway.draft
ALLOWED_REDIRECT_HOSTSNohttps hosts OAuth clients may redirect to (subdomains included). Add chatgpt.com to allow ChatGPT. Loopback http is always allowed.claude.ai,claude.com

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