Migadu
STDIO通过MCP协议管理Migadu邮箱服务
通过MCP协议管理Migadu邮箱服务
Control your Migadu email hosting through AI assistants using the Model Context Protocol (MCP).
Migadu is a Swiss email hosting service that offers unlimited email addresses with pricing based on actual usage rather than mailbox count. They focus on standard email protocols (SMTP/IMAP/POP3) without vendor lock-in, making them popular with developers and privacy-conscious users.
This MCP server lets AI assistants manage your Migadu email accounts. Instead of clicking through web interfaces, you can ask your AI to:
Add to your MCP client configuration (e.g., Claude Desktop):
{ "mcpServers": { "migadu": { "command": "uvx", "args": ["migadu-mcp"], "env": { "MIGADU_EMAIL": "[email protected]", "MIGADU_API_KEY": "your-api-key", "MIGADU_DOMAIN": "yourdomain.com" } } } }
Get your API key from Migadu Admin > My Account > API Keys.
Once configured, you can ask your AI assistant things like:
list_mailboxes / list_my_mailboxes - View all mailboxesget_mailbox / get_my_mailbox - Get mailbox detailscreate_mailbox / create_my_mailbox - Create new mailboxesupdate_mailbox - Change mailbox settingsdelete_mailbox - Remove mailboxesbulk_delete_mailboxes - Delete multiple mailboxes at oncereset_mailbox_password - Change passwordsset_autoresponder - Configure out-of-office messageslist_aliases / list_my_aliases - View email aliasescreate_alias - Set up email forwarding without creating a mailboxupdate_alias - Change alias destinationsdelete_alias - Remove aliaseslist_identities - View send-as addressescreate_identity - Add additional sending addressesupdate_identity - Modify identity permissionsdelete_identity - Remove identitieslist_rewrites - View pattern-based routing rulescreate_rewrite - Set up wildcard email routingupdate_rewrite - Modify routing patternsdelete_rewrite - Remove routing ruleslist_forwardings - View external forwarding rulescreate_forwarding - Forward emails to external addressesupdate_forwarding - Change forwarding settingsdelete_forwarding - Remove forwarding rulesAccess structured data through these resource URIs:
mailboxes://domain.com - All mailboxes for a domainmailbox://domain.com/username - Specific mailbox detailsaliases://domain.com - All aliases for a domainidentities://domain.com/mailbox - Identities for a mailboxforwardings://domain.com/mailbox - Forwarding rules for a mailboxrewrites://domain.com - Rewrite rules for a domain# Clone the repository git clone https://github.com/Michaelzag/migadu-mcp.git cd migadu-mcp # Install dependencies uv sync --group dev # Run tests uv run pytest # Run quality checks uv run ruff format --check . uv run ruff check . uv run mypy migadu_mcp/
MIT License - see LICENSE file for details.