Skip to main content
MCP server CX Codex

mcp · agenticmail — Claude Code MCP server: real email and SMS for agents

The AgenticMail MCP server gives an AI agent a real inbox: send mail and texts, read replies, grab verification codes, manage contacts and hand tasks to other agents.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env AGENTICMAIL_API_KEY=<AGENTICMAIL_API_KEY> --env AGENTICMAIL_MASTER_KEY=<AGENTICMAIL_MASTER_KEY> --env AGENTICMAIL_API_URL=<AGENTICMAIL_API_URL> --transport stdio mcp -- npx -y @agenticmail/mcp
Open on GitHub

What mcp does

It runs as a subprocess the client talks to over standard input and output, so no network ports are opened. Each tool call becomes a request to the AgenticMail API, and the answer comes back as text the model can read. The package advertises 100 tools covering email, SMS and agent management: send, reply, forward, templates, drafts, contacts, scheduled sends.

Multi-agent work has its own tier. call_agent takes an outputSchema and validates submit_result against it, so a worker retries with the right shape instead of returning prose. check_activity shows which agents the dispatcher woke, what they are running and how long, with a stale flag from heartbeat age. tail_worker returns the last lines of a worker log. The wake parameter on send tools decides who gets a turn, and [FINAL], [DONE], [CLOSED] or [WRAP] in a subject seals the thread.

You need Node.js 22+ and a running AgenticMail API server, plus AGENTICMAIL_API_KEY and AGENTICMAIL_MASTER_KEY. In --http mode the server binds to 127.0.0.1 and requires Authorization: Bearer <token> on every /mcp request; the token is minted on first start into ~/.agenticmail/mcp-http-token. Without an API key nothing starts.

What it helps with

  • send an email or text from inside an agent
  • pull a verification code out of an incoming message
  • reply in the right thread
  • wake only the agents that need to act
  • check whether the agent you emailed actually started

Example prompts for the agent

  • Send an email to [email protected] with the subject "Weekly report"
  • Check the inbox and show me what arrived in the last hour
  • Reply to the latest message and add [DONE] to the subject

How to install mcp

Platform CLI

claude mcp add --env AGENTICMAIL_API_KEY=<AGENTICMAIL_API_KEY> --env AGENTICMAIL_MASTER_KEY=<AGENTICMAIL_MASTER_KEY> --env AGENTICMAIL_API_URL=<AGENTICMAIL_API_URL> --transport stdio mcp -- npx -y @agenticmail/mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp

How do I install mcp in Claude Code?

Run claude mcp add mcp -e AGENTICMAIL_API_KEY=<AGENTICMAIL_API_KEY> -e AGENTICMAIL_MASTER_KEY=<AGENTICMAIL_MASTER_KEY> -- npx -y @agenticmail/mcp. Or spell out the URL and transport: `claude mcp add --env AGENTICMAIL_API_KEY=<AGENTICMAIL_API_KEY> --env AGENTICMAIL_MASTER_KEY=<AGENTICMAIL_MASTER_KEY> --env AGENTICMAIL_API_URL=<AGENTICMAIL_API_URL> --transport stdio mcp -- npx -y @agenticmail/mcp`.

What does mcp do?

It is the AgenticMail MCP server: it hands your agent tools for email, SMS, contacts and agent-to-agent tasks. Tool calls are translated into AgenticMail API requests and the responses come back as text.

What does mcp need to run?

Node.js 22+, a running AgenticMail API server, and the AGENTICMAIL_API_KEY and AGENTICMAIL_MASTER_KEY values. In --http mode you also need the bearer token, which is created on first start.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

mcp by other authors comes first.

mcp kubeshark This MCP server gives AI agents access to Kubernetes network traffic. Use it to inspect API calls, investigate incidents, and trace failures across services. CX Codex +1 ★ 12,109repo stars mcp butterbase-ai The Butterbase MCP server gives your agent access to schemas, auth, functions, storage, RAG and deploys. Useful when your backend runs on Butterbase. CX Codex +1 ★ 3,031repo stars mcp medplum Connect an AI agent to healthcare data stored in Medplum and work with those records through MCP. Useful when you want an agent to access FHIR data. CX Codex +1 ★ 2,760repo stars mcp sceneview This MCP server gives an AI assistant access to SceneView API docs and samples, and helps generate and validate code. Use it when building a 3D or AR app with SceneView. CX Codex +1 ★ 1,348repo stars mcp Buoy-gg Lets an AI agent read and control a running React Native or Flutter app through Buoy devtools. Useful when you want requests, caches or state inspected inside the app itself. CX Codex +1 ★ 691repo stars REA morluto Analyzes binaries, Electron bundles, and JavaScript runtimes directly from your agent. It inspects compiled apps without source code to recreate specific features. CX Codex +1 ★ 386,989repo stars GitHub official github Wires your AI agent into GitHub: read code, open issues and pull requests, watch Actions runs. Saves a trip to the browser. CX Codex +1 ★ 33,918repo stars Netdata netdata Hands your AI agent live monitoring data: metrics, logs, alerts and anomaly detection. Useful when you need to know what a server is doing without opening the dashboard. CX Codex +1 ★ 81,115repo stars browser-use browser-use Give an agent browser tasks such as finding information, extracting page data, and filling forms. Connect it when those actions need to happen on the web. CX Codex +1 ★ 119,160repo stars Codebase Memory DeusData A local MCP server that maps your repo's code, docs and infrastructure into a graph. Gives the agent structural context without re-reading files. CX Codex +1 ★ 47,392repo stars mcp-server HeyPuter Connects your AI agent to Puter for files, websites and workers. Useful when the project already lives in Puter's cloud. CX Codex +1 ★ 43,872repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor