# TrekMail MCP Server

> TrekMail MCP Server is a freemium MCP server for communication. Business email hosting and MCP server for managing domains, mailboxes and Drive with AI. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API, CLI, iOS, Android, macOS, Windows, Linux
- **Website:** https://trekmail.net
- **Repository:** https://github.com/trekmail/mcp-server
- **MCP Registry name:** io.github.trekmail/mcp-server
- **Categories:** [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-20

## About

The README says this server wraps the TrekMail API v1 and exposes it to AI clients as agent tools, so a model can provision mailboxes, set DNS records, send drafts or verify addresses under a domain identity. The hosted MCP endpoint at trekmail.net/mcp uses streamable HTTP, while the open-source repository runs the same adapter locally over stdio with an ops token or a message token.

The underlying product is a multi-domain email host. Its pages describe bulk domain onboarding with generated MX, SPF, DKIM, DMARC and MTA-STS records, per-domain SMTP routing through providers such as Postmark, Resend, SES or Mailgun, and IMAP migration from other mailboxes. Access is limited by plan: domain and mailbox caps, safety gates for sending and destructive changes, and separate White Label and Drive add-ons.

The MCP server is aimed at agencies and operators who manage many domains, and at developers who want an agent to handle routine email administration. Tool availability depends on the connected account's plan and permissions.

## Features

- **Bulk domain setup:** Adds many domains at once and generates the mail authentication records for each.
- **Per-domain SMTP routing:** Sends each domain through its own provider or the managed relay.
- **Mailbox and alias management:** Creates mailboxes, aliases, forwarding addresses and filters through tool calls.
- **Deliverability reporting:** Reports sent, bounced and delivered counts per domain and per mailbox.
- **Built-in email verifier:** Checks addresses for syntax, MX, SMTP probing and disposable or trap risk.
- **Safety gates on writes:** Sending, migration and destructive tools need explicit environment flags and per-call confirmation.

## Good for

- Provisioning mailboxes and DNS records for a portfolio of client domains
- Letting an AI assistant draft, verify and send email under a chosen domain
- Migrating mail from Gmail, Microsoft 365 or other IMAP sources in bulk
- Checking domain deliverability and bounce reports from an agent workflow
- Verifying email lists before a campaign

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://trekmail.net/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://trekmail.net/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://trekmail.net/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://trekmail.net/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://trekmail.net/mcp"
    }
  }
}
```

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://trekmail.net/mcp
```

Enter a Name (for example "TrekMail MCP Server"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://trekmail.net/mcp"
    }
  }
}
```

## Tools

- `list_domains`: List domains with optional status/search filters
- `create_mailbox_generated_password`: Create mailbox with auto-generated one-time password
- `send_message`: Send an email from the mailbox
- `get_domain_deliverability`: Outbound rollup for a domain over the last 1 to 90 days
- `verify_email`: Verify a single email address

## FAQ

### How do I connect the hosted server?

The README says the hosted service is available as a Community connector in the Claude directory. Sign in to TrekMail and approve the requested permissions. Other clients are covered in the connection guide.

### What tokens does the server need?

It needs at least one token: an ops token starting with tm_live_ for infrastructure tools, or a message token starting with tm_msg_ for mail, contacts and calendar tools.

### Does the hosted HTTP version include every tool?

No. The README says drive_file_upload is not registered on the hosted HTTP transport, so it exposes 284 of the 285 tools.

### Can an agent send email on its own?

Sending needs TREKMAIL_ALLOW_SENDING=true in the environment and confirm_send=true on each send_message call.

### Is TrekMail MCP Server free?

TrekMail MCP Server has a free plan, with paid plans for more usage or features.

### How do I add TrekMail MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://trekmail.net/mcp

### What are the best alternatives to TrekMail MCP Server?

The closest alternatives to TrekMail MCP Server are Email Agent, Mektup, Mail Receive, Mailkite and Mail Send.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 21 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Email Agent](https://ai-powered.com/mcp/email-agent): Email Agent is a freemium MCP server for communication.
- [Mektup](https://ai-powered.com/mcp/mektup): Mektup is a paid MCP server for communication.
- [Mail Receive](https://ai-powered.com/mcp/mail-receive): Mail Receive is a freemium MCP server for communication.
- [Mailkite](https://ai-powered.com/mcp/mailkite): Mailkite is a freemium MCP server for communication.
- [Mail Send](https://ai-powered.com/mcp/mail-send): Mail Send is a freemium MCP server for communication.
- [KingSMTP: SMTP & Email API](https://ai-powered.com/mcp/kingsmtp-smtp-and-email-api): KingSMTP: SMTP & Email API is a paid MCP server for communication.
- [Inbound Email](https://ai-powered.com/mcp/inbound-email): Inbound Email is a freemium MCP server for communication.
- [AgentMail](https://ai-powered.com/mcp/agentmail): AgentMail is a freemium MCP server for communication.

---
Source: https://ai-powered.com/mcp/trekmail-mcp-server
