C

Cpanel Mail MCP

by Burak-Kumas · Burak-Kumas/cpanel-mail-mcp

Enables an AI assistant to read, search, send, reply to, forward, and organize cPanel mailbox messages over IMAP and SMTP, including folders, attachments, drafts, and flags, plus calendar event management via CalDAV when configured. Runs as a local stdio server so each user connects with their own credentials.

Unknown transport Glama Low confidence
Note

Install

No install method is published for this server: no package and no remote endpoint. Check its source repository or registry listing for setup instructions.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MCP_HOST No Host to bind for HTTP server (e.g. 127.0.0.1).
MCP_PORT No Port to bind for HTTP server (e.g. 8080).
CPANEL_HOST No Your IMAP/SMTP server (used in Docker credentials mode; CPANEL_IMAP_HOST/CPANEL_SMTP_HOST to split).
CPANEL_PASS No Your password (legacy single-account).
CPANEL_USER No Your email address (legacy single-account).
MCP_API_KEY No Extra shared secret, sent as X-API-Key.
CF_ACCESS_AUD No Cloudflare Access audience tag / SaaS app Client ID.
MCP_AUTH_MODE No Set to credentials for Docker/n8n credentials mode.
MCP_TRANSPORT No Transport mode, e.g. streamable-http (default stdio).
EMAIL_ENV_FILE No Absolute path to a .env file to load (default .env in current directory).
MCP_AUTH_TOKEN No Bearer token for single-tenant HTTP mode.
CPANEL_IMAP_HOST No IMAP host (legacy single-account).
CPANEL_IMAP_PORT No IMAP port (default 993).
CPANEL_SMTP_HOST No SMTP host (legacy single-account).
CPANEL_SMTP_PORT No SMTP port (default 465).
EMAIL_USERS_FILE No Path to users file for multi-user mode.
MCP_RESOURCE_URL No Public URL of this server.
CPANEL_SENT_FOLDER No Sent folder (default Sent).
MCP_ATTACHMENT_DIR No Directory allowed for file path attachments in HTTP mode.
CPANEL_TRASH_FOLDER No Trash folder (auto-detect by default).
EMAIL_ACCOUNTS_FILE No Path to a JSON file with the same shape as EMAIL_ACCOUNTS_JSON.
EMAIL_ACCOUNTS_JSON No JSON array of account objects for multi-account configuration.
MCP_OAUTH_CLIENT_ID No SaaS app Client ID.
CPANEL_DRAFTS_FOLDER No Drafts folder (default Drafts).
MCP_DEFAULT_TIMEZONE No Default IANA timezone for naive invite times (default UTC).
CF_ACCESS_OIDC_ISSUER No Cloudflare Access OIDC issuer URL.
MCP_MAX_ATTACHMENT_MB No Maximum total attachment size in MB (default 25).
MCP_OAUTH_CLIENT_SECRET No SaaS app Client Secret.
MCP_ALLOWED_EMAIL_DOMAINS No Comma list of address domains allowed to log in.
MCP_OAUTH_UPSTREAM_ISSUER No Same as CF_ACCESS_OIDC_ISSUER (enables DCR proxy).
MCP_RATE_LIMIT_READ_PER_MIN No Read bucket rate limit per minute (default 300).
MCP_RATE_LIMIT_SEND_PER_MIN No Send bucket rate limit per minute (default 30).
EMAIL_SEND_CONFIRMATION_CODE No Shared secret required for send/send_invite calls.
MCP_CREDENTIAL_CACHE_SECONDS No How long a verified login is cached (default 600).

Similar servers