Mails.ai MCP
An official MCP server provided by Mails.ai that exposes 73 tools for AI agents to manage email operations. It enables sending, receiving, threading, and replying to emails, managing drafts and labels, handling webhooks, and scanning for prompt injection attacks. The server supports both hosted HTTP connections and local execution via npx, integrating with major AI clients like Claude, Cursor, and VS Code.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://api.mails.ai/mcpWhat you can do with it
- Send emails on behalf of an AI agent
- Receive and process incoming email replies
- Scan emails for prompt injection attacks
- Manage email drafts and scheduled sends
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http mails-ai-mcp https://api.mails.ai/mcpCodex
codex mcp add mails-ai-mcp --url https://api.mails.ai/mcpCursor
{
"mcpServers": {
"mails-ai-mcp": {
"url": "https://api.mails.ai/mcp"
}
}
}Cline
{
"mcpServers": {
"mails-ai-mcp": {
"type": "streamableHttp",
"url": "https://api.mails.ai/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"mails-ai-mcp": {
"type": "http",
"url": "https://api.mails.ai/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http mails-ai-mcp https://api.mails.ai/mcpClaude Desktop
{
"mcpServers": {
"mails-ai-mcp": {
"url": "https://api.mails.ai/mcp"
}
}
}Windsurf
{
"mcpServers": {
"mails-ai-mcp": {
"serverUrl": "https://api.mails.ai/mcp"
}
}
}Other productivity and knowledge servers
Do you run Mails.ai MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.