AgentMail MCP hooks your AI assistant directly into email. You get 17 tools for creating inboxes, sending messages, managing threads, and handling drafts. Three setup paths: a hosted OAuth server at mcp.agentmail.to (zero install), npx for Node, or pip for Python. The Node version is the full toolkit, the Python package ships with fewer tools and lags behind. Works across Claude Desktop, Cursor, VS Code, Windsurf, and anything else that speaks MCP. Grab an API key from console.agentmail.to and drop the config into your MCP settings. The OAuth route is cleanest if your client supports it, otherwise pass keys through env or CLI flags.
npx -y skills add agentmail-to/agentmail-skills --skill agentmail-mcp --agent claude-codeInstalls into .claude/skills of the current project.
Prefer the hosted Streamable HTTP server:
https://mcp.agentmail.to/mcp
It avoids a local Node.js process and the slower release cadence of the published local MCP package.
Use OAuth. Do not put an empty API key in the configuration.
{
"mcpServers": {
"agentmail": {
"type": "http",
"url": "https://mcp.agentmail.to/mcp"
}
}
}
Claude Code can also install it directly:
claude mcp add --transport http agentmail https://mcp.agentmail.to/mcp
Complete the browser sign-in on first connection. Multi-organization OAuth sessions can use the server's organization-selection tools.
Add the same type: http server entry to the client's MCP config file:
.cursor/mcp.json.vscode/mcp.json~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%/Claude/claude_desktop_config.json (Windows)x-api-key header — recommended for clients without OAuth support (see below).Authorization: Bearer <am_...> header — an alternative header form some clients require.apiKey query param — supported but not recommended; prefer a header so the key doesn't end up in logs or history.For a Streamable HTTP client that cannot complete OAuth, export AGENTMAIL_API_KEY and send it as a header:
{
"mcpServers": {
"agentmail": {
"type": "http",
"url": "https://mcp.agentmail.to/mcp",
"headers": {
"x-api-key": "${env:AGENTMAIL_API_KEY}"
}
}
}
}
Avoid query-string credentials when header authentication is available.
MCP clients get the tool catalog and schemas live from the hosted runtime; do not rely on a copied tool count. The same generated contract is published at https://github.com/agentmail-to/agentmail-mcp/blob/main/mcp-manifest.json — treat the hosted runtime plus that manifest as the authoritative catalog. OAuth sessions can surface extra organization-selection tools beyond the base set.
For a stdio-only client, use the supported npm or PyPI agentmail-mcp package. Both are thin stdio bridges to the same hosted runtime: they discover tools dynamically and carry no separate AgentMail tool logic of their own.
list_inboxes as a read-only smoke test./mcp.AGENTMAIL_API_KEY was not available to the client process.apiKey query param and let the client complete the browser-based OAuth flow instead.am_ key value and prefer the narrowest suitable organization, pod, or inbox scope.sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot