Skip to main content
SentFromAI ships an open Model Context Protocol (MCP) serversentfromai-mcp on npm — so an AI agent can use email as first-class tools: create inboxes, send and reply, search, manage threads, webhooks and allow/block rules — without writing a single API call. The agent simply calls a tool.

Why MCP

With the REST API your code orchestrates email. With MCP, the agent itself decides when to check its inbox, draft a reply, or escalate — SentFromAI’s operations appear directly in the model’s tool list.

Connect

All you need is an API key (sf_live_…) from the dashboard — the same keys as the REST API (Authentication).
The server is a thin stdio wrapper over the REST API — no state of its own, and it runs wherever your agent runs (Node 20+).

Available tools

Because the tools map onto the same endpoints documented in the API reference, everything you read here applies — threading, idempotency, suppression, and attachments all behave identically.

Configuration

Tools inherit the key’s tenant scope: an agent can only see and act on its own tenant’s inboxes, threads, and rules. Suppression and allow/block rules are enforced server-side, so a misbehaving agent can’t mail past them.