Skip to main content
Glama
@emailalias/mcp

@emailalias/mcp

by emailalias

@emailalias/mcp

MCP-сервер для REST API EmailAlias.io. Позволяет создавать, управлять и отслеживать псевдонимы электронной почты из Claude Desktop, Cursor, Zed, Cline и любого другого ИИ-ассистента, совместимого с MCP — на естественном языке.

"Создай новый псевдоним для Substack, назови его 'newsletter'" "Отключи псевдоним amazon, я получаю спам" "Покажи мне псевдонимы, помеченные как подозрительные отправители на этой неделе"

Доступ к API является премиум-функцией. Сгенерируйте ключ API в разделе Settings → API Keys на панели управления.

Установка

Claude Desktop

Отредактируйте файл конфигурации:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

Добавьте запись emailalias в раздел mcpServers:

{
  "mcpServers": {
    "emailalias": {
      "command": "npx",
      "args": ["-y", "@emailalias/mcp"],
      "env": {
        "EMAILALIAS_API_KEY": "ea_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Перезапустите Claude Desktop. Вы должны увидеть значок 🔌, подтверждающий подключение сервера.

Cursor, Zed, Cline и другие MCP-клиенты

Каждый MCP-совместимый клиент принимает одинаковый формат. Обратитесь к документации вашего клиента для уточнения пути к файлу конфигурации, затем используйте:

command: npx
args: -y @emailalias/mcp
env: EMAILALIAS_API_KEY=ea_live_...

Глобальная установка (опционально)

Если вы не хотите, чтобы npx загружал пакет при каждом запуске:

npm install -g @emailalias/mcp

Затем измените command на emailalias-mcp и удалите аргументы -y @emailalias/mcp.

Related MCP server: Inbound Email MCP Server

Конфигурация

Переменная окружения

Обязательно

По умолчанию

Примечания

EMAILALIAS_API_KEY

✅

—

Только для премиум-аккаунтов. Начинается с ea_live_.

EMAILALIAS_BASE_URL

❌

https://emailalias.io

Для использования staging или self-host.

Доступные инструменты

Инструмент

Что он делает

list_aliases

Все псевдонимы со счетчиками пересланных/заблокированных писем

create_alias

Создание случайного / пользовательского / помеченного псевдонима

update_alias

Переключение активности, переименование метки

update_alias_display_name

Изменение отображаемого имени отправителя (Премиум, задержка 24 часа)

delete_alias

Безвозвратное удаление псевдонима

list_available_domains

Системные + пользовательские доступные домены

list_destinations

Основные + подтвержденные почтовые ящики для пересылки

add_destination

Регистрация нового адреса для пересылки (отправляет письмо для подтверждения)

delete_destination

Удаление адреса (блокирует, если псевдонимы все еще используют его)

send_email

Отправка письма с псевдонима (Премиум)

get_dashboard_stats

Статистика по всему аккаунту

list_email_logs

Журнал пересылки с разбивкой по страницам (последние 90 дней)

list_exposure_events

Оповещения о подозрительных отправителях

Примеры запросов (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?

Разработка

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.js

EMAILALIAS_API_KEY должен быть установлен в вашей оболочке для ручного запуска.

Примечания по безопасности

  • Ваш API-ключ остается на вашем компьютере. Этот сервер работает локально (транспорт stdio), вызывает API EmailAlias через HTTPS и отправляет ключ напрямую. Никакие третьи лица его не видят.

  • Не добавляйте claude_desktop_config.json в репозиторий — он содержит ваш ключ. Относитесь к нему как к .env.

  • Область действия имеет значение. Любой инструмент MCP, который решит вызвать ваша LLM, выполняется в вашем реальном аккаунте. Проверяйте то, что предлагает модель, прежде чем одобрять деструктивные действия, такие как delete_alias.

Ссылки

Лицензия

MIT

Available Tools

13 tools
add_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

    A4.1/5.0

    Scored across 13 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    ActivitySlowing
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to manage Migadu email hosting services through natural language, including creating mailboxes, setting up aliases, configuring autoresponders, and handling bulk operations efficiently.
      35
      33 PyPI
      17
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      14
      2
      Apache 2.0
    • A
      license
      C
      quality
      C
      maintenance
      Provides AI assistants with access to PurelyMail's email management API, enabling user, domain, routing, and billing management through natural language.
      19
      181 npm
      14
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language email operations (send, search, read, manage) via IMAP/SMTP, with support for attachments, multiple mailboxes, and secure configuration.
      MIT