Loading...
Loading...
AgentMail MCP server for email tools in AI assistants. Use when setting up AgentMail with Claude Desktop, Cursor, VS Code, Windsurf, or other MCP-compatible clients. Provides tools for inbox management, sending/receiving emails, and thread handling.
npx skill4agent add agentmail-to/agentmail-skills agentmail-mcphttps://mcp.agentmail.to{
"mcpServers": {
"AgentMail": {
"url": "https://mcp.agentmail.to",
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}--tools{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": [
"-y",
"agentmail-mcp",
"--tools",
"send_message,reply_to_message,list_inboxes"
],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}pip install agentmail-mcp~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json{
"mcpServers": {
"AgentMail": {
"command": "/path/to/your/.venv/bin/agentmail-mcp",
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}# Activate your virtual environment, then:
which agentmail-mcpexport AGENTMAIL_API_KEY=your-api-key
agentmail-mcp| Tool | Description |
|---|---|
| Create a new email inbox |
| List all inboxes |
| Get inbox details by ID |
| Delete an inbox |
| Send an email from an inbox |
| Reply to an existing message |
| List email threads in an inbox |
| Get thread details and messages |
| Download an attachment |
| Update message labels |
.cursor/mcp.json.vscode/mcp.json{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}"command": "/usr/local/bin/npx"# Find the path
source /path/to/venv/bin/activate
which agentmail-mcp