
TrekMail MCP Server
Business email hosting for custom domains, with mailboxes, forwarding, DNS checks, and branding controls.
- GitHub stars
- 2
- tools
- 70
- transport
- HTTP
- last updated
- Nov 19, 2026
What it does
- Reads domains and forwarding with
list_domains,get_domain,list_forwarding_addresses, andget_forwarding_address_log, plus DNS status throughget_dns_check - Writes changes with
create_domain,update_domain_catch_all,create_forwarding_address, andupdate_domain_signature; deletions such asdelete_domainare gated behindTREKMAIL_ALLOW_DESTRUCTIVE - Needs a
tm_live_ops token for infrastructure tools, and some White Label tools need a separatetm_msg_message token; runs locally over stdio or on a hosted HTTP transport - Designed for administrators who manage several client or business domains and need email hosting controlled from an AI assistant
Tools
70 toolsPublic tool metadata for what this MCP can expose to an agent.
list_domainsList domains with optional status/search filters
List domains with optional status/search filters
No parameter schema in public metadata yet.
get_domainGet details for a specific domain
Get details for a specific domain
No parameter schema in public metadata yet.
get_domain_connect_setupCheck one-time Cloudflare DNS setup eligibility and return a browser handoff URL only when available; otherwise return blockers. Read-only; no API token or DNS change
Check one-time Cloudflare DNS setup eligibility and return a browser handoff URL only when available; otherwise return blockers. Read-only; no API token or DNS change
No parameter schema in public metadata yet.
get_domain_aliasCheck a domain's saved receive-only alias connection and whether it is delivering now
Check a domain's saved receive-only alias connection and whether it is delivering now
No parameter schema in public metadata yet.
set_domain_aliasRoute matching addresses on this domain to a primary domain (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Route matching addresses on this domain to a primary domain (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
remove_domain_aliasDisconnect the domain alias after confirm_remove: true (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Disconnect the domain alias after confirm_remove: true (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
create_domainAdd a new domain to the account. mail_hosting: "external" registers it as a sending-only domain: no MX record is asked for, it holds no mailboxes, and it serves purely as a verified From address
Add a new domain to the account. mail_hosting: "external" registers it as a sending-only domain: no MX record is asked for, it holds no mailboxes, and it serves purely as a verified From address
No parameter schema in public metadata yet.
delete_domainDelete a domain (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Delete a domain (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
update_domain_catch_allConfigure or clear the catch-all address
Configure or clear the catch-all address
No parameter schema in public metadata yet.
set_domain_mail_hostingChoose whether TrekMail hosts the domain's incoming mail or only sends for it. Switching to external stops its mailboxes receiving, so it needs confirm_mailboxes_stop_receiving: true
Choose whether TrekMail hosts the domain's incoming mail or only sends for it. Switching to external stops its mailboxes receiving, so it needs confirm_mailboxes_stop_receiving: true
No parameter schema in public metadata yet.
list_forwarding_addressesList mailbox-less forwarding addresses on a domain, with recipients, the per-domain limit, and whether the plan currently delivers them. Pro includes 100/domain; Agency includes 300/domain
List mailbox-less forwarding addresses on a domain, with recipients, the per-domain limit, and whether the plan currently delivers them. Pro includes 100/domain; Agency includes 300/domain
No parameter schema in public metadata yet.
get_forwarding_address_logRecent deliveries for one address: sender, destination, and outcome (delivered / deferred / rejected / blocked as spam before forwarding). Pro retains 7 days; Agency retains 30
Recent deliveries for one address: sender, destination, and outcome (delivered / deferred / rejected / blocked as spam before forwarding). Pro retains 7 days; Agency retains 30
No parameter schema in public metadata yet.
create_forwarding_addressCreate a forwarding address — no mailbox, no storage. Delivery requires Pro or Agency; Nano and Starter keep saved rules inactive until upgrade (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Create a forwarding address — no mailbox, no storage. Delivery requires Pro or Agency; Nano and Starter keep saved rules inactive until upgrade (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
update_forwarding_addressReplace recipients, or pause / resume an address (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Replace recipients, or pause / resume an address (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
delete_forwarding_addressDelete a forwarding address (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Delete a forwarding address (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
retry_domain_dkimRetry DKIM key provisioning
Retry DKIM key provisioning
No parameter schema in public metadata yet.
update_domain_noteUpdate the admin note on a domain
Update the admin note on a domain
No parameter schema in public metadata yet.
get_domain_signatureRead per-domain email signature settings (mode, position, HTML)
Read per-domain email signature settings (mode, position, HTML)
No parameter schema in public metadata yet.
update_domain_signatureSet per-domain signature (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Set per-domain signature (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
bulk_add_domainsAdd up to 20 domains in one call
Add up to 20 domains in one call
No parameter schema in public metadata yet.
get_dns_requirementsGet required DNS records for a domain
Get required DNS records for a domain
No parameter schema in public metadata yet.
dns_recheckTrigger async DNS verification (returns check ID)
Trigger async DNS verification (returns check ID)
No parameter schema in public metadata yet.
get_dns_checkPoll DNS check status/results
Poll DNS check status/results
No parameter schema in public metadata yet.
get_domain_brandingRead a domain's brand, assets, hosts, mail zone, and required DNS records
Read a domain's brand, assets, hosts, mail zone, and required DNS records
No parameter schema in public metadata yet.
set_domain_brandingPartially update domain or account-default branding (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Partially update domain or account-default branding (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
set_domain_brand_logoUpload a base64 PNG/JPEG/ICO brand asset (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Upload a base64 PNG/JPEG/ICO brand asset (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
verify_domain_branding_dnsQueue DNS and certificate verification (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Queue DNS and certificate verification (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
create_branding_previewCreate a short-lived branded preview (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Create a short-lived branded preview (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
remove_domain_brand_logoRemove a brand asset (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Remove a brand asset (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
remove_domain_brandingClear domain or account-wide branding (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Clear domain or account-wide branding (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
get_white_labelRead entitlement, setup progress, account brand, and reachable domain status
Read entitlement, setup progress, account brand, and reachable domain status
No parameter schema in public metadata yet.
get_white_label_access_catalogRead roles, permissions, and domains this caller may grant
Read roles, permissions, and domains this caller may grant
No parameter schema in public metadata yet.
list_white_label_membersSearch or filter clients, members, and invitations
Search or filter clients, members, and invitations
No parameter schema in public metadata yet.
get_white_label_memberRead one member, effective permissions, and allowed operations
Read one member, effective permissions, and allowed operations
No parameter schema in public metadata yet.
invite_white_label_memberCreate and email an invitation (gated: TREKMAIL_ALLOW_SENDING)
Create and email an invitation (gated: TREKMAIL_ALLOW_SENDING)
No parameter schema in public metadata yet.
update_white_label_memberChange role, domains, permissions, or note (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Change role, domains, permissions, or note (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
suspend_white_label_memberStop access and revoke the member's keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Stop access and revoke the member's keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
resume_white_label_memberResume a suspended membership without restoring old keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Resume a suspended membership without restoring old keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
resend_white_label_invitationReplace and email a pending invitation (gated: TREKMAIL_ALLOW_SENDING)
Replace and email a pending invitation (gated: TREKMAIL_ALLOW_SENDING)
No parameter schema in public metadata yet.
remove_white_label_memberRemove access after explicit confirmation (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Remove access after explicit confirmation (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
restore_white_label_memberRestore membership without restoring old keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Restore membership without restoring old keys (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
list_white_label_activityRead White Label account activity
Read White Label account activity
No parameter schema in public metadata yet.
get_white_label_member_activityRead one member's actions and sign-in history
Read one member's actions and sign-in history
No parameter schema in public metadata yet.
list_client_limitsList client storage limits: one budget in MB shared by the mailboxes and Drive in a client's domains, with what is reserved, shared and used, and the client's mailbox caps (max_mailboxes, mailbox_size_mb) with the mailboxes and pending_invites counted against them
List client storage limits: one budget in MB shared by the mailboxes and Drive in a client's domains, with what is reserved, shared and used, and the client's mailbox caps (max_mailboxes, mailbox_size_mb) with the mailboxes and pending_invites counted against them
No parameter schema in public metadata yet.
set_client_limitGive a client's domains a storage limit, change it, or replace its domain set; optionally cap the client's number of mailboxes (max_mailboxes, pending invitations included) and mailbox size (mailbox_size_mb: new mailboxes get it, none may be larger, no shared storage), null re...
Give a client's domains a storage limit, change it, or replace its domain set; optionally cap the client's number of mailboxes (max_mailboxes, pending invitations included) and mailbox size (mailbox_size_mb: new mailboxes get it, none may be larger, no shared storage), null re...
No parameter schema in public metadata yet.
remove_client_limitRemove a client storage limit after confirm_remove: true; its domains go back to the account's storage and mailboxes keep their sizes (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Remove a client storage limit after confirm_remove: true; its domains go back to the account's storage and mailboxes keep their sizes (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
list_mailboxesList mailboxes with optional domain/search filters
List mailboxes with optional domain/search filters
No parameter schema in public metadata yet.
get_mailboxGet details for a specific mailbox, including client_auth_mode (what mail apps may sign in with) where app passwords are available
Get details for a specific mailbox, including client_auth_mode (what mail apps may sign in with) where app passwords are available
No parameter schema in public metadata yet.
get_mail_client_setupGet password-free IMAP/SMTP settings, actual sending readiness, localized guides for five app families, and delegated shared-mailbox folders for a regular member mailbox; authentication.password_source and accepted_passwords say whether the mail app takes the mailbox password...
Get password-free IMAP/SMTP settings, actual sending readiness, localized guides for five app families, and delegated shared-mailbox folders for a regular member mailbox; authentication.password_source and accepted_passwords say whether the mail app takes the mailbox password...
No parameter schema in public metadata yet.
get_apple_mail_profileGenerate a password-free Apple Mail .mobileconfig file as Base64 (13 locales)
Generate a password-free Apple Mail .mobileconfig file as Base64 (13 locales)
No parameter schema in public metadata yet.
create_mailbox_generated_passwordCreate mailbox with auto-generated one-time password (optional storage_allocation_mb carves out dedicated storage from the account pool; omit for shared, or for the client's mailbox_size_mb where a client storage limit sets one). Optional client_auth_mode; on an app_password_o...
Create mailbox with auto-generated one-time password (optional storage_allocation_mb carves out dedicated storage from the account pool; omit for shared, or for the client's mailbox_size_mb where a client storage limit sets one). Optional client_auth_mode; on an app_password_o...
No parameter schema in public metadata yet.
change_mailbox_passwordChange the password for a mailbox; while app passwords are enabled, resetting the mailbox password automatically revokes all its app passwords (mailbox_password_reset) (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Change the password for a mailbox; while app passwords are enabled, resetting the mailbox password automatically revokes all its app passwords (mailbox_password_reset) (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
update_mailboxUpdate a mailbox display name, a regular mailbox's webmail conversation_view preference, or its drive_access level (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Update a mailbox display name, a regular mailbox's webmail conversation_view preference, or its drive_access level (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
set_mailbox_storageMove a mailbox between shared storage (null) and a fixed size in MB, checked against the account pool and, in a domain under a client storage limit, that limit and its mailbox_size_mb (no shared storage there) (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Move a mailbox between shared storage (null) and a fixed size in MB, checked against the account pool and, in a domain under a client storage limit, that limit and its mailbox_size_mb (no shared storage there) (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
set_mailboxes_drive_accessSet drive_access on many mailboxes at once, chosen by explicit mailbox_ids, by domain_id, or all; shared mailboxes are skipped and counted (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Set drive_access on many mailboxes at once, chosen by explicit mailbox_ids, by domain_id, or all; shared mailboxes are skipped and counted (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
suspend_mailbox_loginStop someone signing in to a mailbox while its mail keeps arriving: webmail/IMAP/SMTP and device passwords refused, open sessions ended, reset links dead, delivery untouched (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Stop someone signing in to a mailbox while its mail keeps arriving: webmail/IMAP/SMTP and device passwords refused, open sessions ended, reset links dead, delivery untouched (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
resume_mailbox_loginLift a sign-in suspension; device passwords revoked by it are not restored (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Lift a sign-in suspension; device passwords revoked by it are not restored (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
set_mailboxes_login_accessSuspend or restore sign-in on many mailboxes, chosen by explicit mailbox_ids, by domain_id, or all; shared, paused and trashed mailboxes are skipped and counted (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Suspend or restore sign-in on many mailboxes, chosen by explicit mailbox_ids, by domain_id, or all; shared, paused and trashed mailboxes are skipped and counted (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
list_mailbox_app_passwordsList a mailbox's app passwords (name, created, last used, revoked) and its client_auth_mode; secrets are never returned
List a mailbox's app passwords (name, created, last used, revoked) and its client_auth_mode; secrets are never returned
No parameter schema in public metadata yet.
create_mailbox_app_passwordCreate an app password for one mail app (IMAP, SMTP, ManageSieve, CalDAV/CardDAV): 16 letters returned once, up to 25 active per mailbox; never opens TrekMail webmail, though classic webmail takes it like any IMAP app (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Create an app password for one mail app (IMAP, SMTP, ManageSieve, CalDAV/CardDAV): 16 letters returned once, up to 25 active per mailbox; never opens TrekMail webmail, though classic webmail takes it like any IMAP app (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
rotate_mailbox_app_passwordReplace an app password with a new secret under the same name; the old one stops working at once (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Replace an app password with a new secret under the same name; the old one stops working at once (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
revoke_mailbox_app_passwordRevoke an app password for good and sign out the app using it (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Revoke an app password for good and sign out the app using it (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
set_mailbox_client_auth_modeSet one mailbox (mailbox_id) or a bulk selection (mailbox_ids, domain_id or all) to app_password_only (mail apps, classic webmail included, need an app password; TrekMail webmail keeps the mailbox password) or password_or_app_password (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Set one mailbox (mailbox_id) or a bulk selection (mailbox_ids, domain_id or all) to app_password_only (mail apps, classic webmail included, need an app password; TrekMail webmail keeps the mailbox password) or password_or_app_password (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
update_mailbox_noteUpdate the admin note on a mailbox
Update the admin note on a mailbox
No parameter schema in public metadata yet.
pause_mailboxDisable a mailbox entirely, delivery included — unlike suspend_mailbox_login (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
Disable a mailbox entirely, delivery included — unlike suspend_mailbox_login (gated: TREKMAIL_ALLOW_DESTRUCTIVE)
No parameter schema in public metadata yet.
resume_mailboxRe-enable a paused mailbox
Re-enable a paused mailbox
No parameter schema in public metadata yet.
enable_imapEnable IMAP access for a mailbox (required for Message API)
Enable IMAP access for a mailbox (required for Message API)
No parameter schema in public metadata yet.
bulk_create_mailboxesCreate 1-100 mailboxes at once with per-item storage_allocation_mb, each checked as its row is created; a row that does not fit fails on its own (storage_pool_exceeded or client_storage_limit_exceeded), as does a row over the client's mailbox caps (client_mailbox_size_exceeded...
Create 1-100 mailboxes at once with per-item storage_allocation_mb, each checked as its row is created; a row that does not fit fails on its own (storage_pool_exceeded or client_storage_limit_exceeded), as does a row over the client's mailbox caps (client_mailbox_size_exceeded...
No parameter schema in public metadata yet.
create_inviteSend a setup invite to a recipient (optional storage_allocation_mb pre-allocates dedicated storage; the recipient inherits it at redeem)
Send a setup invite to a recipient (optional storage_allocation_mb pre-allocates dedicated storage; the recipient inherits it at redeem)
No parameter schema in public metadata yet.
create_invites_bulkSend up to 100 setup invites in one call (per-item storage_allocat
Send up to 100 setup invites in one call (per-item storage_allocat
No parameter schema in public metadata yet.
Readme
TrekMail MCP Server
A Model Context Protocol (MCP) server that exposes the TrekMail API v1 as 285 agent tools. This is a thin adapter — all business logic lives in the TrekMail API; this server handles transport, authentication, retries, and safety gates.
Current release: package 1.18.0, catalogue 2026-11-15.1.
Connect in Claude
For the hosted service, open TrekMail in the Claude directory, select Connect, sign in to TrekMail and approve the requested permissions. TrekMail is published as a Community connector. Available tools depend on the connected account's plan and permissions.
For a White Label dashboard, add a custom connector using the MCP URL shown in that dashboard and your own brand name. The shared TrekMail listing signs in on TrekMail and does not replace your branded connection.
See the connection guide for other clients. The npm and Docker instructions below run the MCP adapter locally; the adapter still calls your configured TrekMail API.
Quickstart
npm
Details
- Repository
- github.com/trekmail/mcp-server
- Website
- trekmail.net
- Categories
- Email & Messaging, DevOps & Cloud
- Transport
- HTTP
- Registry
- MCP registry, active
Similar to TrekMail MCP Server
More Email & Messaging
Flowmails MCPwms-whyHosted custom-domain email access for agents: send, receive, search, and wait for mail.
Domain Setup for Cold Emailanasmughal239-alt4 starsCloudflare DNS setup for cold email domains: SPF, DKIM, DMARC, MX, and forwarding, planned and applied safely.
MailPacemailpace1 starSend transactional email and manage MailPace sending domains and their API tokens.
Imap Mcp Servernikolausm137 starsEmail access over IMAP and SMTP: search, read, organize, send, reply, and forward messages.
CanarymailcloudcorprecordsEmail authentication checks for DMARC, SPF, DKIM, and bounce analysis via a hosted service.
Infomaniak Mcp Agentmogacode-ma8 starsUnofficial MCP server for Infomaniak hosting, mail, DNS, domains, and kDrive access.