AgentMail logoMCP server · Email, calendar and chat

AgentMail MCP server

AgentMail in any MCP client, through Memtro: AgentMail does not publish this server. Memtro's AgentMail connector reads AgentMail through its API with the credentials you connect, and one endpoint hands those tools, every other system you connect and Memtro's memory tools to Claude Code, Cursor, Claude Desktop or anything else that speaks Streamable HTTP, as you.

What the model can do

The inboxes your AI agents send and receive from: list inboxes, browse and search threads and messages across them, read a thread or message in full with attachment text, list drafts and calendar events; can also send a message, reply in a thread, forward one on, save, edit, schedule, send or delete a draft, label a thread or messages, delete a thread or message for good, create, change or delete an inbox, block or allow an address, and create, change, cancel or answer a calendar event — when you ask.

Reads

  • agentmail_inboxesThe agent inboxes the key can see: address, display name, status (active or paused) and pod.
  • agentmail_threadsThreads newest first, across every inbox or in one (id or address), filtered by label, sender, recipient or subject substring and a time window.
  • agentmail_searchFull-text search ranked by relevance: words in the subject, sender, recipients or body.
  • agentmail_draftsThe drafts saved in one inbox, newest first: recipients, subject, a preview, and whether a send is scheduled (send_status, send_at).
  • agentmail_calendar_eventsThe events on an inbox's calendar, most recently updated first, cancelled ones included: title, wall-clock and UTC times…
  • agentmail_threadOne thread with its messages in order: who wrote what and when, each body as text (quoted replies stripped), attachment names, labels.
  • agentmail_messageOne message in full (text body up to 6000 characters, headers, attachments).

Acts, when you ask

These change something in AgentMail. The model is told to use them only when you ask for exactly that, and each one is granted by name: per team on a shared connection, by the owner on a personal one.

  • agentmail_composeSends an email from one of the agent inboxes — new, a reply, or a message forwarded on — or saves it there as a draft when draft is true.
  • agentmail_labelAdds and removes labels on a thread or on particular messages, which is how AgentMail does triage — it has no read flag and no archive folder.
  • agentmail_send_draftSends a saved draft from the agent inbox now, emailing everyone on its to, cc and bcc.
  • agentmail_update_draftEdits a saved draft in an agent inbox — recipients, subject, body — or schedules it to be sent at a time (send_at), or cancels a scheduled send…
  • agentmail_delete_draftPermanently deletes a saved draft from an agent inbox (a scheduled send with it).
  • agentmail_create_inboxCreates a new agent inbox (a new email address) in the AgentMail organisation.
  • agentmail_update_inboxChanges an agent inbox: its display name, its signature, or its status — deactivate it…
  • agentmail_delete_inboxPermanently deletes an agent inbox and every thread, message and draft in it; the address is freed for reuse.
  • agentmail_delete_threadPermanently deletes a thread and every message in it from an agent inbox.
  • agentmail_delete_messagePermanently deletes one message from an agent inbox.
  • agentmail_add_list_entryAdds an email address or a whole domain to one of an inbox's allow or block lists — direction "receive" for mail coming in…
  • agentmail_remove_list_entryRemoves an address or domain from one of an inbox's allow or block lists, so it is treated normally again.
  • agentmail_create_calendar_eventCreates an event on an agent inbox's calendar, one-off or recurring.
  • agentmail_update_calendar_eventChanges an event on an agent inbox's calendar: title, time, place, status (set "cancelled" to cancel it but keep it), or attendees…
  • agentmail_delete_calendar_eventDeletes an event from an agent inbox's calendar, every date of it; with a dated id (<uuid>_<slot>) cancels that date only…
  • agentmail_respond_calendar_eventAccepts, declines or tentatively accepts a calendar invitation an agent inbox received by email (only events where the inbox is an attendee).

Connect it

First connect AgentMail on Dashboard → Connections, then add Memtro to your client once. The AgentMail tools appear alongside the tools of everything else you have connected; nothing is configured per connector.

Claude Code

The Memtro plugin registers the server and a skill for when to use it; the tools are then available in every session.

claude plugin marketplace add memtro-org/claude-memtro
claude plugin install memtro@memtro --config api_key=sk-memtro-...

Cursor

Add the server to .cursor/mcp.json in the project, or to the global file under ~/.cursor/.

{
  "mcpServers": {
    "memtro": {
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Claude Desktop

Create a personal API key on Dashboard → Profile → API keys. In Claude Desktop add an MCP server of type HTTP with URL https://platform.memtro.com/api/mcp and the header Authorization: Bearer sk-memtro-…

OpenCode

A remote server in opencode.json.

{
  "mcp": {
    "memtro": {
      "type": "remote",
      "url": "https://platform.memtro.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-memtro-..."
      }
    }
  }
}

Pi

One command: pi mcp add memtro --url https://platform.memtro.com/api/mcp --bearer-token-env-var MEMTRO_API_KEY. Tools arrive as mcp__memtro__*. The pi-memtro extension registers it for you, alongside Memtro as the model.

Any other client

Add an MCP server of type HTTP (Streamable HTTP, stateless) at https://platform.memtro.com/api/mcp with the header Authorization: Bearer sk-memtro-.... Codex, Zed, Windsurf, Cline and the SDKs all take a remote server this way.

Who may use it

The key identifies the person, and the server offers that person the tools they may use everywhere else in Memtro. A shared AgentMail connection is used by the teams an administrator granted it to, tool by tool, on the Permissions page; a personal connection is used by its owner alone, and its tools that act stay off until the owner allows them. See Teams and permissions and Connectors.

Ask it like this

  • › What did the support agent's inbox receive this morning?
  • › Find the thread where the supplier confirmed the delivery date
  • › Read the invoice attached to the latest email from Acme
  • › Reply from support@ to the Globex thread that the replacement ships Monday
  • › Block spam-domain.example from the sales inbox

Questions

Is this an official AgentMail MCP server?
No. It is Memtro's MCP server with Memtro's AgentMail connector behind it: the connector reads AgentMail through its API with the credentials you connect on Dashboard → Connections, and AgentMail publishes nothing here. The same endpoint carries every other system you connect and Memtro's memory tools.
What does it cost?
Nothing on top of Memtro. One price per organisation by its number of users, from $50 a month for up to 10 users after a 7-day free trial, with every connector, the MCP server, jobs and memory included. You bring your own model keys.
Can it change anything in AgentMail?
Only when you ask, and only what it has been granted: send a message from an agent inbox, reply in a thread (to the sender or everyone), forward a message on, or save either as a draft; label a thread or particular messages: mark them read, move them to trash or back out of it, or add and remove tags of your own; send a saved draft now, edit it or schedule when it goes, or delete it; delete a thread or a single message permanently; create an agent inbox, rename it, change its signature, deactivate or reactivate it, or delete it with all its mail; block or allow an address or domain for an inbox's incoming, outgoing or reply mail, or take it off the list; create, change, cancel or delete an event on an inbox's calendar, inviting attendees only when asked; accept, decline or tentatively accept an invitation the inbox received, replying to the organiser only when asked. Every other tool reads, searches or lists. An administrator grants each acting tool by name per team, and a personal connection acts only after its owner allows it.
Which clients work?
Any MCP client that speaks Streamable HTTP: Claude Code, Cursor, Claude Desktop, OpenCode, Codex, Zed, Windsurf, Cline and the Anthropic and OpenAI SDKs. There is no local process to run; the server is remote and authenticated with your key.

Other MCP servers · Email, calendar and chat

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time