Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

agentmail-mcpagentmail MCP 搜索

Agent Skill

agentmail-mcp 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,982

周安装

242

GitHub Stars

9

下载量

1,878
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agentmail-mcp(agentmail MCP 搜索)
来源仓库:https://github.com/agentmail-to/agentmail-skills
仓库路径:skills/agentmail-mcp
安装命令:
npx skills add https://github.com/agentmail-to/agentmail-skills --skill agentmail-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/agentmail-to/agentmail-skills --skill agentmail-mcp

简介

agentmail-mcp 通过 MCP 协议连接 AgentMail 邮件服务,支持多种接入方式。

  • 适用于需要将 AgentMail 集成到兼容 MCP 的 AI 客户端中的场景。
  • 提供远程 MCP 服务器直连、本地部署等多种配置选项,灵活适配不同环境。
  • 使用 OAuth 2.0 进行身份验证,无需在环境变量中配置 API 密钥。
  • 使用前需获取控制台 API 密钥,并确认网络能访问 Smithery 认证服务器。

SKILL.md

AgentMail MCP Server

Connect AgentMail to any MCP-compatible AI client. Three setup options available.

Prerequisites

Get your API key from console.agentmail.to.


Option 1: Remote MCP (Simplest)

No installation required. Connect directly to the hosted MCP server.

URL: https://mcp.agentmail.to

Authentication: OAuth 2.0 via Smithery. The remote server does NOT accept an API key in env — it returns 401 Bearer error="invalid_token" and redirects your MCP client through the OAuth authorization server at https://auth.smithery.ai/agentmail. The MCP client handles the browser-based consent flow automatically on first connect.

Add to your MCP client configuration:

{
  "mcpServers": {
    "AgentMail": {
      "url": "https://mcp.agentmail.to"
    }
  }
}

On first use, your MCP client opens a browser window to complete the Smithery OAuth flow; after approval, tokens are cached by the client. If you need API-key auth (no OAuth flow), use Option 2 or Option 3 below instead.


Option 2: Local npm Package

Run the MCP server locally via npx.

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

Tool Selection

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"
      }
    }
  }
}

Option 3: Local Python Package

Install and run the Python MCP server.

pip install agentmail-mcp

Claude Desktop

Config location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

The server accepts the API key in two ways: via AGENTMAIL_API_KEY env var, or via the --api-key CLI flag. Use whichever works in your MCP client's launcher environment.

{
  "mcpServers": {
    "AgentMail": {
      "command": "/path/to/your/.venv/bin/agentmail-mcp",
      "env": {
        "AGENTMAIL_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

If env vars don't propagate through your MCP launcher, pass the key as an argument instead:

{
  "mcpServers": {
    "AgentMail": {
      "command": "/path/to/your/.venv/bin/agentmail-mcp",
      "args": ["--api-key", "YOUR_API_KEY"]
    }
  }
}

Find your path:

# Activate your virtual environment, then:
which agentmail-mcp

Run Standalone

# Option A: env var
export AGENTMAIL_API_KEY=your-api-key
agentmail-mcp

# Option B: CLI flag (useful if env vars aren't available)
agentmail-mcp --api-key="your-api-key"

Available Tools

The Node MCP server (npx agentmail-mcp, Option 1 and Option 2) exposes 17 tools:

ToolDescription
create_inboxCreate a new email inbox
list_inboxesList all inboxes
get_inboxGet inbox details by ID
delete_inboxDelete an inbox
send_messageSend an email from an inbox
reply_to_messageReply to an existing message
forward_messageForward an existing message
list_threadsList email threads in an inbox
get_threadGet thread details and messages
get_attachmentDownload an attachment
update_messageUpdate message labels
create_draftCreate a draft message
list_draftsList drafts in an inbox
get_draftGet a draft by ID
update_draftUpdate a draft
send_draftSend a previously-created draft
delete_draftDelete a draft without sending

The legacy Python MCP server (pip install agentmail-mcp, Option 3) is a separate codebase with a smaller tool set — it omits the six *_draft tools above. For new projects, prefer the Node server (Option 1 or Option 2) for full parity with the toolkit.


Client Configuration

Cursor, VS Code, Windsurf

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"
      }
    }
  }
}

Compatible Clients

The AgentMail MCP server works with any MCP-compatible client:

  • Claude Desktop
  • Cursor
  • VS Code
  • Windsurf
  • Cline
  • Goose
  • Raycast
  • ChatGPT
  • Amazon Q
  • Codex
  • Gemini CLI
  • LibreChat
  • Roo Code
  • And more...

Example Usage

Once configured, you can ask your AI assistant:

  • "Create a new inbox for support emails"
  • "Send an email to john@example.com with subject 'Hello'"
  • "Check my inbox for new messages"
  • "Reply to the latest email thanking them"
  • "List all my email threads"
  • "Download the attachment from the last message"

Troubleshooting

"Command not found"

Ensure npm/npx is in your PATH, or use the full path:

"command": "/usr/local/bin/npx"

"Invalid API key"

Verify your API key is correct and has the necessary permissions.

Python package not found

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.97%
按下载量换算676

Claude

30.53%
按下载量换算573

Cursor

20.52%
按下载量换算385

Gemini CLI

9.01%
按下载量换算169

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills