MCP.so
登录

MCP Email Server

@ai-zerolab

基本信息

分类

沟通协作

许可证

BSD-3-Clause

传输方式

stdio

作者

ai-zerolab

关于 MCP Email Server

IMAP and SMTP via MCP Server

MCP Email Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-email-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@ai-zerolab/mcp-email-server",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Email Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is mcp-email-server?

An MCP server that provides IMAP and SMTP capabilities, enabling AI agents to read, send, and manage emails over the Model Context Protocol. Designed for developers integrating email workflows into MCP clients like Claude Desktop.

How to use mcp-email-server?

Install via uvx mcp-email-server@latest stdio or pip install mcp-email-server. Configure using the interactive UI command mcp-email-server ui (writes a TOML file) or by setting environment variables (e.g., MCP_EMAIL_SERVER_EMAIL_ADDRESS, MCP_EMAIL_SERVER_PASSWORD, MCP_EMAIL_SERVER_IMAP_HOST). The server can run in read-only mode if SMTP host is omitted.

Key features of mcp-email-server

  • IMAP mailbox listing, read, and search operations
  • SMTP email sending with optional save to Sent folder
  • Read-only mode when SMTP configuration is omitted
  • Attachment download (disabled by default for security)
  • Recipient and sender allowlists for access control
  • HTTP transport support with DNS rebinding protection

Use cases of mcp-email-server

  • Automate email workflows through AI assistants
  • Monitor specific IMAP mailboxes read‑only
  • Send notifications or replies from agents
  • Restrict email actions to trusted domains and addresses

常见问题

1

How do I configure mcp-email-server?

Use the interactive UI (`mcp-email-server ui`) or set environment variables prefixed with `MCP_EMAIL_SERVER_`. Environment variables take precedence over the TOML configuration file.

2

Can I run it in read‑only mode?

Yes. Omit the `MCP_EMAIL_SERVER_SMTP_HOST` variable or SMTP block in the config to enable read‑only mode. Outbound compose tools are hidden when every configured account is read‑only.

3

How do I enable attachment downloads?

By default attachment download is disabled. Set `MCP_EMAIL_SERVER_ENABLE_ATTACHMENT_DOWNLOAD=true` as an environment variable or `enable_attachment_download = true` in the TOML file.

4

How do I restrict who can send or receive email?

Use `MCP_EMAIL_SERVER_ALLOWED_RECIPIENTS` to limit send destinations and `MCP_EMAIL_SERVER_ALLOWED_SENDERS` (supports glob patterns) to filter inbound mail. Empty allowlists permit all.

5

What transport modes are supported?

The server supports `stdio` for standard MCP clients and `streamable-http` (HTTP) for web‑based integrations. HTTP mode validates Host and Origin headers to prevent DNS rebinding attacks.

评论

沟通协作 分类下的更多 MCP 服务器