MCP directory
M—

Mails.ai — Agent Email

by mails.ai · v0.5.0 · updated Oct 16, 2026

A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://api.mails.ai/mcp

Claude Code

claude mcp add --transport http agent-email https://api.mails.ai/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @mailsai/[email protected]

Environment variables

  • MAILS_API_KEYrequiredsecret

    Your mails.ai API key. Use an mk_test_ key to run against the sandbox or an mk_live_ key to send real mail. Free key at https://mails.ai

  • MAILS_BASE_URL

    Override the API base URL. Defaults to the hosted mails.ai API; only needed for staging or self-hosted deployments.

More MCP servers