Mails.ai — Agent Email MCP Server
ai.mails/agent-emailv0.2.12
A real inbox for AI agents: send, receive and thread email, behind a prompt-injection firewall.
context tax
queued
security
queued
cold start
queued
freshness
Active5d ago
Install Mails.ai — Agent Email MCP server
Install in Claude Code
claude mcp add mailsai -e MAILS_API_KEY='<mails-api-key>' -- npx -y @mailsai/mcp-serverInstall in Cursor
{
"mcpServers": {
"mailsai": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server"
],
"env": {
"MAILS_API_KEY": "<mails-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"mailsai": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server"
],
"env": {
"MAILS_API_KEY": "<mails-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"mailsai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server"
],
"env": {
"MAILS_API_KEY": "<mails-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"mailsai": {
"command": "npx",
"args": [
"-y",
"@mailsai/mcp-server"
],
"env": {
"MAILS_API_KEY": "<mails-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| MAILS_API_KEY | yes | yes | 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. |
Freshness
Active — last maintenance signal 5d ago. The newest of the signals below sets the band.
Last commit (default branch)
no data · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-04 · 5d ago · official registry · v0.2.12
FAQ
›How do I install the Mails.ai — Agent Email MCP server in Claude Code?
Run: claude mcp add mailsai -e MAILS_API_KEY='<mails-api-key>' -- npx -y @mailsai/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Mails.ai — Agent Email require an API key?
Yes. It expects MAILS_API_KEY, of which 1 is a secret.
›Can I use Mails.ai — Agent Email as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Mails.ai — Agent Email in the official MCP registry?
Yes, as ai.mails/agent-email.
Alternatives to Mails.ai — Agent Email
Other email MCP servers.