MCP Hub
Back to servers

@emailalias/mcp

Enables natural language management of email aliases via EmailAlias.io API, including create, update, delete, and monitoring tasks.

glama
Updated
Apr 24, 2026

@emailalias/mcp

MCP server for the EmailAlias.io REST API. Lets you create, manage, and monitor email aliases from Claude Desktop, Cursor, Zed, Cline, and any other MCP-compatible AI assistant — in natural language.

"Create a new alias for Substack, label it 'newsletter'" "Disable the amazon alias, I'm getting spam" "Show me aliases flagged for suspicious senders this week"

API access is a Premium feature. Generate an API key from Settings → API Keys in the dashboard.

Install

Claude Desktop

Edit your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the emailalias entry under mcpServers:

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

Restart Claude Desktop. You should see a 🔌 plug icon confirming the server is connected.

Cursor, Zed, Cline, and other MCP clients

Every MCP-compatible client accepts the same shape. Consult your client's docs for the exact config path, then use:

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

Global install (optional)

If you don't want npx to download the package on each launch:

npm install -g @emailalias/mcp

Then change command to emailalias-mcp and drop the -y @emailalias/mcp args.

Configuration

Env varRequiredDefaultNotes
EMAILALIAS_API_KEYPremium-only. Starts with ea_live_.
EMAILALIAS_BASE_URLhttps://emailalias.ioOverride for staging/self-host.

Available tools

ToolWhat it does
list_aliasesAll aliases with forwarded/blocked counts
create_aliasCreate a random / custom / tagged alias
update_aliasToggle active, rename label
delete_aliasPermanently delete an alias
list_available_domainsSystem + custom domains available
list_destinationsPrimary + verified forwarding inboxes
add_destinationRegister a new forwarding destination (triggers verify email)
delete_destinationRemove a destination (blocks if aliases still use it)
send_emailSend from an alias (Premium)
get_dashboard_statsAccount-wide counters
list_email_logsPaginated forwarding log (last 90 days)
list_exposure_eventsSuspicious-sender alerts

Example 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?

Development

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 must be set in your shell for manual runs.

Security notes

  • Your API key stays on your machine. This server runs locally (stdio transport), invokes the EmailAlias API over HTTPS, and sends the key directly. No third party sees it.
  • Don't commit claude_desktop_config.json — it contains your key. Treat it like .env.
  • Scope matters. Any MCP tool your LLM decides to call executes against your live account. Review what the model proposes before approving destructive actions like delete_alias.

Links

License

MIT

Reviews

No reviews yet

Sign in to write a review