agentmail-mcp by agentmail-to/agentmail-skills
npx skills add https://github.com/agentmail-to/agentmail-skills --skill agentmail-mcp将 AgentMail 连接到任何兼容 MCP 的 AI 客户端。提供三种设置选项。
从 console.agentmail.to 获取您的 API 密钥。
无需安装。直接连接到托管的 MCP 服务器。
URL: https://mcp.agentmail.to
添加到您的 MCP 客户端配置中:
{
"mcpServers": {
"AgentMail": {
"url": "https://mcp.agentmail.to",
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
通过 npx 在本地运行 MCP 服务器。
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
使用 --tools 参数仅加载特定工具:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": [
"-y",
"agentmail-mcp",
"--tools",
"send_message,reply_to_message,list_inboxes"
],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
安装并运行 Python MCP 服务器。
pip install agentmail-mcp
配置文件位置:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "AgentMail": { "command": "/path/to/your/.venv/bin/agentmail-mcp", "env": { "AGENTMAIL_API_KEY": "YOUR_API_KEY" } } } }
查找您的路径:
# 激活您的虚拟环境,然后:
which agentmail-mcp
export AGENTMAIL_API_KEY=your-api-key
agentmail-mcp
| 工具 | 描述 |
|---|---|
create_inbox | 创建新的电子邮件收件箱 |
list_inboxes | 列出所有收件箱 |
get_inbox | 通过 ID 获取收件箱详情 |
delete_inbox | 删除收件箱 |
send_message | 从收件箱发送电子邮件 |
reply_to_message | 回复现有消息 |
list_threads | 列出收件箱中的电子邮件线程 |
get_thread | 获取线程详情和消息 |
get_attachment | 下载附件 |
update_message | 更新消息标签 |
在您的客户端配置文件中添加相同的 MCP 服务器条目:
Cursor: .cursor/mcp.json
VS Code: .vscode/mcp.json
Windsurf: MCP 配置文件
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
AgentMail MCP 服务器适用于任何兼容 MCP 的客户端:
配置完成后,您可以要求您的 AI 助手:
确保 npm/npx 在您的 PATH 中,或使用完整路径:
"command": "/usr/local/bin/npx"
验证您的 API 密钥是否正确且具有必要的权限。
在您的虚拟环境中使用 agentmail-mcp 可执行文件的完整路径:
# 查找路径
source /path/to/venv/bin/activate
which agentmail-mcp
每周安装量
29
代码仓库
GitHub 星标数
2
首次出现
2026 年 1 月 30 日
安全审计
已安装于
codex24
gemini-cli23
opencode23
openclaw20
claude-code20
github-copilot20
Connect AgentMail to any MCP-compatible AI client. Three setup options available.
Get your API key from console.agentmail.to.
No installation required. Connect directly to the hosted MCP server.
URL: https://mcp.agentmail.to
Add to your MCP client configuration:
{
"mcpServers": {
"AgentMail": {
"url": "https://mcp.agentmail.to",
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
Run the MCP server locally via npx.
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
Load only specific tools with the --tools argument:
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": [
"-y",
"agentmail-mcp",
"--tools",
"send_message,reply_to_message,list_inboxes"
],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
Install and run the Python MCP server.
pip install agentmail-mcp
Config location:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{ "mcpServers": { "AgentMail": { "command": "/path/to/your/.venv/bin/agentmail-mcp", "env": { "AGENTMAIL_API_KEY": "YOUR_API_KEY" } } } }
Find your path:
# Activate your virtual environment, then:
which agentmail-mcp
export AGENTMAIL_API_KEY=your-api-key
agentmail-mcp
| Tool | Description |
|---|---|
create_inbox | Create a new email inbox |
list_inboxes | List all inboxes |
get_inbox | Get inbox details by ID |
delete_inbox | Delete an inbox |
send_message | Send an email from an inbox |
reply_to_message | Reply to an existing message |
Add the same MCP server entry in your client config file:
Cursor: .cursor/mcp.json
VS Code: .vscode/mcp.json
Windsurf: MCP config file
{
"mcpServers": {
"AgentMail": {
"command": "npx",
"args": ["-y", "agentmail-mcp"],
"env": {
"AGENTMAIL_API_KEY": "YOUR_API_KEY"
}
}
}
}
The AgentMail MCP server works with any MCP-compatible client:
Once configured, you can ask your AI assistant:
Ensure npm/npx is in your PATH, or use the full path:
"command": "/usr/local/bin/npx"
Verify your API key is correct and has the necessary permissions.
Use the full path to the agentmail-mcp executable in your virtual environment:
# Find the path
source /path/to/venv/bin/activate
which agentmail-mcp
Weekly Installs
29
Repository
GitHub Stars
2
First Seen
Jan 30, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykFail
Installed on
codex24
gemini-cli23
opencode23
openclaw20
claude-code20
github-copilot20
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
67,500 周安装
list_threads | List email threads in an inbox |
get_thread | Get thread details and messages |
get_attachment | Download an attachment |
update_message | Update message labels |