MCP
Use Mailera in Claude
Add Mailera's MCP server to Claude Code with one command, or to Claude Desktop via the mcp-remote bridge. Claude can read, search, and reply to messages across your connected mailboxes.
Official Claude docsBefore you start
- Create a free workspace and connect at least one mailbox.
- Go to Settings → API key, create a key, and select permissions. The read permission is enough to get started.
- Copy the key as soon as you create it — Mailera only shows the full key once.
Setup
Claude Code
- Open a terminal in your project directory and run the command below, substituting your own key.
- In Claude Code, type /mcp: mailera should show a connected status and list its tools.
Replace mh_live_xxx with your API key.
claude mcp add --transport http mailera https://mailera.app/api/public/v1/mcp \ --header "Authorization: Bearer mh_live_xxx"Claude Desktop
- Install Node.js 18 or later — the mcp-remote bridge runs via npx.
- In Claude Desktop, open Settings → Developer → Edit Config, paste the mailera block into mcpServers, and save.
- Quit Claude Desktop completely and reopen it. Mailera's tools appear under the tools button in the chat pane.
Replace mh_live_xxx with your API key.
{ "mcpServers": { "mailera": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mailera.app/api/public/v1/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer mh_live_xxx" } } }}Connectors (custom connector) on claude.ai and Claude Desktop don't yet work with Mailera: they only support servers that use OAuth or require no authentication, while Mailera uses an API key.
Check the connection
Ask the agent: “List my Mailera mailboxes”. The agent calls list_mailboxes and returns your mailboxes with their sync status. Then try: “Find the latest email message from noreply@… and extract the OTP”.
Tool list and safety guidanceCommon errors
- 401 unauthorized
- The key is invalid, has been revoked, or is missing Bearer. The header must be Authorization: Bearer mh_live_…
- Can't find send_email or rescue_spam
- The key lacks the required permissions (send, move). Mailera only shows tools matching its permissions — create a new key with the permissions you need.
- The agent can't find any mailboxes
- The key is restricted to a group with no mailboxes, or the workspace has no connected mailboxes.
- 429 rate_limited
- This key has exceeded 300 requests per minute. Wait the number of seconds specified in Retry-After, then try again.
Other apps
Use Mailera in Claude
Go to Settings → API key, create a key, and select permissions. The read permission is enough to get started.

