AgentMail MCP Server

用於與 AgentMail API 進行電子郵件通訊互動的伺服器,需要 API 金鑰。

文件

AgentMail MCP Server

The AgentMail MCP Server provides tools for the AgentMail API.

Setup

Credentials

Get your API key from AgentMail

Configuration

{
    "mcpServers": {
        "AgentMail": {
            "command": "npx",
            "args": ["-y", "agentmail-mcp"],
            "env": {
                "AGENTMAIL_API_KEY": "YOUR_API_KEY"
            }
        }
    }
}

Tool Selection

By default, all available tools are loaded. You can selectively enable specific tools using the --tools argument with a comma-separated list of tool names.

Example

{
    "mcpServers": {
        "AgentMail": {
            "command": "npx",
            "args": ["-y", "agentmail-mcp", "--tools", "get_message,send_message,reply_to_message"],
            "env": {
                "AGENTMAIL_API_KEY": "YOUR_API_KEY"
            }
        }
    }
}