@emailalias/mcp
Enables natural language management of email aliases via EmailAlias.io API, including create, update, delete, and monitoring tasks.
README
@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 var | Required | Default | Notes |
|---|---|---|---|
EMAILALIAS_API_KEY |
✅ | — | Premium-only. Starts with ea_live_. |
EMAILALIAS_BASE_URL |
❌ | https://emailalias.io |
Override for staging/self-host. |
Available tools
| Tool | What it does |
|---|---|
list_aliases |
All aliases with forwarded/blocked counts |
create_alias |
Create a random / custom / tagged alias |
update_alias |
Toggle active, rename label |
delete_alias |
Permanently delete an alias |
list_available_domains |
System + custom domains available |
list_destinations |
Primary + verified forwarding inboxes |
add_destination |
Register a new forwarding destination (triggers verify email) |
delete_destination |
Remove a destination (blocks if aliases still use it) |
send_email |
Send from an alias (Premium) |
get_dashboard_stats |
Account-wide counters |
list_email_logs |
Paginated forwarding log (last 90 days) |
list_exposure_events |
Suspicious-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
- API docs: https://emailalias.io/documentation
- EmailAlias.io: https://emailalias.io
- Model Context Protocol: https://modelcontextprotocol.io
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。