mcp-email-server
@ai-zerolab
关于 mcp-email-server
IMAP and SMTP via MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-email-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ai-zerolab/mcp-email-server",
"--client",
"claude"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
FAQ from mcp-email-server
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.
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.
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.
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.
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 服务器
Discord MCP Server
hanwegMCP server for discord bot
Mcp Telegram
dryeabMCP Server for Telegram

Slack
modelcontextprotocolModel Context Protocol Servers
Discord Mcp
SaseQA MCP server for the Discord integration. Enable your AI assistants to seamlessly interact with Discord. Enhance your Discord experience with powerful automation capabilities.
MCP Headless Gmail Server
baryhuangA MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.
评论