mcp
v0.9.30Real email and SMS for AI agents — send mail, receive verification codes, drive a real inbox.
Values you need
| Variable | What it is | |
|---|---|---|
AGENTICMAIL_API_KEY | optional secret | Per-agent API key issued when you create the agent. Scopes every tool call to that agent's mailbox and outbound. Either AGENTICMAIL_API_KEY or AGENTICMAIL_MASTER_KEY must be set. |
AGENTICMAIL_MASTER_KEY | optional secret | Master key for admin operations (creating agents, listing all accounts, deleting agents). Set this when the MCP client needs admin tools; otherwise prefer the per-agent AGENTICMAIL_API_KEY. |
AGENTICMAIL_API_URL | optional | Base URL of the AgenticMail HTTP API. Defaults to http://127.0.0.1:3100 (the port the local CLI binds). Override when the API runs on a different host or port. Default: http://127.0.0.1:3100 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp -- npx -y --package=@agenticmail/mcp@0.9.30 agenticmail-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@agenticmail/mcp@0.9.30",
"agenticmail-mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"-y",
"--package=@agenticmail/mcp@0.9.30",
"agenticmail-mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"args": [
"-y",
"--package=@agenticmail/mcp@0.9.30",
"agenticmail-mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@agenticmail/mcp@0.9.30", "agenticmail-mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: send_email, broadcast_email, list_inbox, read_email, delete_email, search_emails, import_relay_email, reply_email, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json