Docs

Plainmail has a remote MCP server, so Claude and other AI agents can set up domains and mailboxes and read and send your mail. You sign in with your Plainmail account and choose what the agent may do.

Server URL

https://app.plainmail.dev/api/mcp/mcp

You need a Plainmail account with an active subscription.

Claude (web and desktop)

  1. Open Settings, then Connectors, and choose Add custom connector.
  2. Name it Plainmail and paste the server URL.
  3. Choose Connect, sign in to Plainmail, check the permissions you want and choose Allow.

Claude Code

claude mcp add --transport http plainmail https://app.plainmail.dev/api/mcp/mcp

Then run /mcp, pick plainmail and sign in in the browser window that opens.

Other MCP clients

Cursor, VS Code and other clients that support remote MCP servers with OAuth connect with the same URL. For a client without OAuth, create an API key in Settings and send it as a header: Authorization: Bearer <key>.

Permissions

When you connect, Plainmail asks which of these to allow. You can allow some and not others.

  • Read mail: list and read messages and attachments.
  • Send and organize mail: send and reply, mark messages read or flagged, move them.
  • Manage domains, mailboxes and billing: add and remove domains, mailboxes and aliases.

To disconnect an app, open Settings, find it under Connected apps and choose Revoke. It loses access right away.

Things to ask

  • Set up hello@mynewapp.com on Plainmail
  • Is the DNS for mynewapp.com healthy?
  • Summarize what came into support@mynewapp.com today
  • Reply to the latest message from Maya and say the annual plan is $50

Tools

ToolWhat it doesEffect
add_domainAdds a domain and writes its mail records at your DNS host, or returns the records to copyChanges
check_domainChecks a domain's MX, SPF, DKIM and DMARC recordsReads
list_domainsLists your domains and their statusReads
delete_domainRemoves a domain and its mailboxesDeletes
connect_dns_providerReturns a link where you connect Cloudflare, Vercel or PorkbunReads
create_mailboxCreates a mailbox and returns a one-time link that shows its passwordChanges
list_mailboxesLists your mailboxesReads
delete_mailboxDeletes a mailbox and its mailDeletes
reset_passwordReplaces a mailbox password; the old one stops workingDeletes
add_aliasAdds another address that delivers to a mailboxChanges
remove_aliasRemoves an aliasDeletes
set_sender_nameSets the name shown on mail you sendChanges
list_messagesLists messages in a folderReads
read_messageReads one message without marking it readReads
send_messageSends or replies from one of your addressesChanges
update_messageMarks messages read or flagged, or moves themChanges
get_attachmentReturns a download link for an attachment, valid 10 minutesReads

Safety

Mailbox passwords never pass through the agent: a new mailbox comes with a link that shows its password once, to you. Email content is labeled untrusted in every tool result, and the server tells the agent never to follow instructions found inside an email.

Help

Email support@plainmail.dev. A person reads every message.