Migadu MCP Server

Migadu MCP Server

migadu•bymichaelzag

An MCP server that lets AI assistants manage Migadu email hosting, covering domains, mailboxes, aliases, identities, forwardings and rewrites through MCP tools.

License: MIT•Runtime: Awaiting documentation review•Category: communication social

WHAT IT DOES

  • •Exposes domain management tools including creation, updates, DNS records, diagnostics, activation and usage.
  • •Provides mailbox, alias, identity, forwarding and rewrite management tools.
  • •Registers three built-in prompts for common email administration workflows.
  • •Exposes read-only resources addressable by URI for domains, mailboxes, aliases and related configuration.

BEST FOR

  • •Onboarding a new domain with DNS setup and activation guidance through an AI assistant.
  • •Creating and managing mailboxes, aliases, and autoresponders for a hosted email account.
  • •Bulk operations such as deleting multiple departing users' mailboxes.

ABOUT MIGADU

Migadu MCP Server is cataloged as an MCP server attributed to michaelzag. An MCP server that lets AI assistants manage Migadu email hosting, covering domains, mailboxes, aliases, identities, forwardings and rewrites through MCP tools. It is categorized under communication social. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Migadu MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What credential is needed to use this server?

You need a Migadu API key, obtained from the Migadu admin account API keys page, configured via environment variables.

How do mutation tools handle multiple items?

Mutation tools accept a list of items and return a bulk-result envelope with per-item success or failure, and a single-item list also works.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7b61cb833310 · 采集于 2026-11-13 09:12:55 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Migadu MCP Server

PyPI version Python 3.13+ License: MIT

Control your Migadu email hosting from AI assistants via the Model Context Protocol.

What is Migadu?

Migadu is a Swiss email host that prices on actual usage instead of mailbox count, with standard SMTP/IMAP/POP3 and no lock-in.

What this does

Covers the full Migadu API surface as MCP tools:

  • Domains — create, update, activate, DNS records, diagnostics, usage
  • Mailboxes — CRUD, autoresponders, password resets
  • Aliases — forwarding rules without a mailbox behind them
  • Identities — send-as addresses on a mailbox
  • Forwardings — external delivery copies with confirmation flow
  • Rewrites — pattern-based routing rules

Setup

Get an API key at Migadu Admin → My Account → API Keys.

Add to your MCP client config (e.g. Claude Desktop, ~/.claude.json, etc.):

{
  "mcpServers": {
    "migadu": {
      "command": "uvx",
      "args": ["migadu-mcp"],
      "env": {
        "MIGADU_EMAIL": "you@example.com",
        "MIGADU_API_KEY": "your-api-key",
        "MIGADU_DOMAIN": "example.com"
      }
    }
  }
}

Or via the Claude Code CLI:

claude mcp add migadu \
  --env MIGADU_EMAIL=you@example.com \
  --env MIGADU_API_KEY=your-api-key \
  --env MIGADU_DOMAIN=example.com \
  -- uvx migadu-mcp

MIGADU_DOMAIN is optional. It's the default domain used by tools like list_mailboxes when you don't pass one explicitly. Skip it if you manage multiple domains and prefer to pass domain on every call.

Example usage

Once configured, ask your AI assistant things like:

  • "Onboard a new domain acme.example — walk me through DNS setup and activation"
  • "Create mailboxes for alice@acme.example and bob@acme.example"
  • "Set up support@acme.example as an alias to both Alice and Bob"
  • "Configure an autoresponder on vacation@acme.example until January 15th"
  • "Delete the mailboxes for everyone who left: list of addresses..."

Three built-in prompts are registered to scaffold common workflows: mailbox_creation_wizard, bulk_operation_planner, domain_onboarding.

Tools

Domain

list_domains, get_domain, create_domain, update_domain, get_domain_records, get_domain_diagnostics, activate_domain, get_domain_usage

Mailbox

list_mailboxes, get_mailbox, create_mailbox, update_mailbox, delete_mailbox, reset_mailbox_password, set_autoresponder

Alias

list_aliases, get_alias, create_alias, update_alias, delete_alias

Identity

list_identities, get_identity, create_identity, update_identity, delete_identity

Forwarding

list_forwardings, get_forwarding, create_forwarding, update_forwarding, delete_forwarding

Rewrite

list_rewrites, get_rewrite, create_rewrite, update_rewrite, delete_rewrite

All mutation tools (create_*, update_*, delete_*, activate_*, set_autoresponder, reset_mailbox_password) accept a list[dict] of items and return a bulk-result envelope with per-item success/failure. A single-item list works too.

Resources

Read-only views addressable by URI:

  • domains:// — all domains on the account
  • domain://{name} — one domain's full config
  • domain-records://{name} — required DNS records for setup
  • domain-usage://{name} — message + storage metrics
  • mailboxes://{domain} — mailboxes for a domain
  • mailbox://{domain}/{local_part} — one mailbox
  • identities://{domain}/{mailbox} — identities on a mailbox
  • forwardings://{domain}/{mailbox} — forwardings on a mailbox
  • aliases://{domain} — aliases for a domain
  • rewrites://{domain} — rewrite rules for a domain

Notes

  • Migadu's API returns HTTP 500 on successful DELETE (known quirk). The client treats 200/204/404/500 as success on DELETE; other codes raise.
  • One long-lived httpx.AsyncClient per server process, closed on shutdown via FastMCP lifespan hook.
  • list_* tools pass responses through a static summarizer when they exceed ~2000 tokens, returning a count plus a sample instead of flooding context.

Development

git clone https://github.com/Michaelzag/migadu-mcp.git
cd migadu-mcp
uv sync --group dev

# Quality gates (same as CI)
uv run ruff format --check .
uv run ruff check migadu_mcp/ tests/
uv run ty check migadu_mcp/
uv run pytest
uv run bandit -r migadu_mcp/

Tests use respx to mock the Migadu API — no credentials needed. Integration tests (behind @pytest.mark.integration) hit the real API and are skipped by default.

License

MIT — see LICENSE.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Migadu MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/migadu)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related communication social MCP Servers

Alternative and complementary servers in the same category

View all in communication social →

An AI receptionist platform with an MCP server for accessing business calls, contacts and appointments from AI assistants.

52
Communication

Pidgeon provides an MCP server and an email inbox API that gives AI agents their own addresses for sending, awaiting, and replying to email.

Repository stats unavailable
Communication