@emailalias/mcp
@emailalias/mcp
Servidor MCP para la API REST de EmailAlias.io. Te permite crear, gestionar y supervisar alias de correo electrónico desde Claude Desktop, Cursor, Zed, Cline y cualquier otro asistente de IA compatible con MCP, utilizando lenguaje natural.
"Crea un nuevo alias para Substack, etiquétalo como 'newsletter'" "Desactiva el alias de amazon, estoy recibiendo spam" "Muéstrame los alias marcados por remitentes sospechosos esta semana"
El acceso a la API es una función Premium. Genera una clave de API desde Settings → API Keys en el panel de control.
Instalación
Claude Desktop
Edita tu archivo de configuración:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Agrega la entrada emailalias bajo mcpServers:
{
"mcpServers": {
"emailalias": {
"command": "npx",
"args": ["-y", "@emailalias/mcp"],
"env": {
"EMAILALIAS_API_KEY": "ea_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}Reinicia Claude Desktop. Deberías ver un icono de enchufe 🔌 que confirma que el servidor está conectado.
Cursor, Zed, Cline y otros clientes MCP
Cada cliente compatible con MCP acepta el mismo formato. Consulta la documentación de tu cliente para conocer la ruta de configuración exacta y luego usa:
command: npx
args: -y @emailalias/mcp
env: EMAILALIAS_API_KEY=ea_live_...Instalación global (opcional)
Si no quieres que npx descargue el paquete en cada inicio:
npm install -g @emailalias/mcpLuego cambia command a emailalias-mcp y elimina los argumentos -y @emailalias/mcp.
Related MCP server: Inbound Email MCP Server
Configuración
Variable de entorno | Requerido | Predeterminado | Notas |
| ✅ | — | Solo Premium. Comienza con |
| ❌ |
| Anulación para staging/autoalojamiento. |
Herramientas disponibles
Herramienta | Qué hace |
| Todos los alias con recuentos de reenviados/bloqueados |
| Crear un alias aleatorio / personalizado / etiquetado |
| Alternar estado activo, cambiar nombre de etiqueta |
| Cambiar el nombre para mostrar del remitente (Premium, enfriamiento de 24h) |
| Eliminar permanentemente un alias |
| Dominios del sistema + personalizados disponibles |
| Bandejas de entrada principales + reenvío verificado |
| Registrar un nuevo destino de reenvío (activa la verificación por correo) |
| Eliminar un destino (bloquea si los alias aún lo usan) |
| Enviar desde un alias (Premium) |
| Contadores de toda la cuenta |
| Registro de reenvío paginado (últimos 90 días) |
| Alertas de remitentes sospechosos |
Ejemplos de prompts (Claude Desktop)
Create a disposable alias for signing up to Substack. Label it "newsletter".Show me all aliases that have received zero emails in 30 days.Disable every alias labelled "shopping" and list what you disabled.What's my exposure alert count for this month?Desarrollo
git clone https://github.com/emailalias/emailalias-mcp.git
cd emailalias-mcp
npm install
npm run build
# Test against the MCP Inspector (installs on demand)
npx @modelcontextprotocol/inspector node dist/index.jsEMAILALIAS_API_KEY debe estar configurada en tu shell para ejecuciones manuales.
Notas de seguridad
Tu clave de API permanece en tu máquina. Este servidor se ejecuta localmente (transporte stdio), invoca la API de EmailAlias a través de HTTPS y envía la clave directamente. Ningún tercero la ve.
No subas
claude_desktop_config.jsonal control de versiones — contiene tu clave. Trátalo como un archivo.env.El alcance importa. Cualquier herramienta MCP que tu LLM decida llamar se ejecuta contra tu cuenta real. Revisa lo que el modelo propone antes de aprobar acciones destructivas como
delete_alias.
Enlaces
Documentación de la API: https://emailalias.io/documentation
EmailAlias.io: https://emailalias.io
Protocolo de contexto de modelo (MCP): https://modelcontextprotocol.io
Licencia
MIT
Available Tools
13 toolsadd_destinationA
Add a new forwarding destination. Triggers a verification email to that address; the destination is unusable until the recipient clicks the link. Premium feature.
Inputs: email (required).
create_aliasA
Create a new email alias. 'random' generates a short code; 'custom' uses custom_code; 'tagged' prepends a random code to a user-provided tag. destination_email must be the user's primary email OR a verified forwarding destination. display_name is Premium-only and shown as the sender on outbound mail.
Inputs: tag, label, domain, alias_type, +3 more.
delete_aliasA
Permanently delete an alias. This cannot be undone. Prefer update_alias with active=false if the user might want it back.
Inputs: alias_id (required).
delete_destinationA
Remove a forwarding destination. Fails with 409 if any alias still forwards to it — reassign those aliases first.
Inputs: destination_id (required).
get_dashboard_statsA
Account-wide counters: total aliases, active aliases, emails forwarded, emails blocked, exposure alerts.
Inputs: no named parameters.
list_aliasesA
List all email aliases on the authenticated EmailAlias account. Returns id, alias_email, destination_email, active, label, emails_forwarded, emails_blocked.
Inputs: no named parameters.
list_available_domainsA
List domains the user can create aliases on (system domains + their verified custom domains).
Inputs: no named parameters.
list_destinationsA
List the user's forwarding destinations (primary email plus verified extras). is_primary=true marks the account email.
Inputs: no named parameters.
list_email_logsA
Paginated email-forwarding log covering the last 90 days. Each item has sender, subject, direction, status, block_reason.
Inputs: page, per_page.
list_exposure_eventsA
Suspicious-sender alerts scored against the user's aliases. Use this to identify risky senders and decide which aliases to disable.
Inputs: page, per_page.
send_emailB
Send an email from one of the user's aliases. The recipient sees only the alias address. Requires Premium and a verified, active alias.
Inputs: body (required), subject (required), alias_id (required), to_email (required), +1 more.
update_aliasA
Update an alias: toggle active (enable/disable) or rename its label. To change the sender display name, use update_alias_display_name (separate 24h-cooldown endpoint).
Inputs: alias_id (required), label, active.
update_alias_display_nameA
Schedule a display-name change on an alias (Premium-only). Edits do NOT take effect immediately — the new value lands in display_name_pending and promotes 24h after the most recent edit. Editing again resets the clock. Capped at 3 edits per rolling 24h per alias. Pass display_name=null (or empty string) to clear; clearing follows the same cooldown. Brand-impersonation patterns (PayPal, Apple, banks, etc.) are rejected with 400.
Inputs: alias_id (required), display_name (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Every tool targets a distinct resource or action: aliases, display names, destinations, domains, sending, and monitoring are cleanly separated. The potential overlap between update_alias and update_alias_display_name is explicitly disambiguated, and list_email_logs vs list_exposure_events serve clearly different purposes.
Most tools follow a verb_noun snake_case pattern (list_aliases, create_alias, delete_destination, send_email). Minor inconsistencies exist: get_dashboard_stats breaks the list_* convention, and add_destination vs create_alias use different verbs for the same kind of operation.
13 tools is well-scoped for an email alias management server. Each tool covers a meaningful part of the lifecycle without redundant or filler operations, and the count sits comfortably in the ideal range.
The server covers the full alias lifecycle (create, list, update, delete) plus display-name-specific updates, destination management, sending, and monitoring (stats, logs, exposure alerts). No obvious dead ends or critical missing operations for the core domain.
Maintenance
Related MCP Connectors
Private email aliases that forward to your inbox: create, find, edit and turn aliases off or on.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Send email, manage domains, templates, webhooks and broadcasts from your AI agent.
Give AI agents secure access to your email via private aliases with dedicated mailbox storage.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Migadu email hosting services through natural language, including creating mailboxes, setting up aliases, configuring autoresponders, and handling bulk operations efficiently.3533 PyPI17MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with the Inbound Email API to manage domains, endpoints, and email communications. Users can send or schedule emails, manage webhooks, and retrieve email threads through natural language commands.142Apache 2.0
- AlicenseCqualityCmaintenanceProvides AI assistants with access to PurelyMail's email management API, enabling user, domain, routing, and billing management through natural language.19181 npm14MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language email operations (send, search, read, manage) via IMAP/SMTP, with support for attachments, multiple mailboxes, and secure configuration.MIT