// agents · mcp

Your whole email API, as agent tools.

The Drin MCP server exposes around 54 typed tools — everything the REST API can do, handed to an agent so it can send, receive, template and track mail through the Model Context Protocol.

mcp client · server config
// MCP client config — illustration; see the docs for exact setup
{
  "mcpServers": {
    "drin": {
      "command": "npx",
      "args": ["@drin00/mcp"],
      "env": {
        "DRIN_API_KEY": "drin_live_…"
      }
    }
  }
}
// how to connect[01/03]

Works with any MCP client.

  1. 1

    Get an API key

    Create a scoped key in the dashboard. The MCP server authenticates as that key, so the agent inherits exactly its permissions.

  2. 2

    Add the server to your client

    Register Drin in your client's mcpServers config — Claude, Cursor, Codex and other MCP hosts all read the same shape.

  3. 3

    Let the agent send

    Restart the client and the 54 tools appear. Ask the agent to send a test email or triage the inbox — it calls Drin directly.

Exact per-client setup in the docs →

at a glance
ProtocolModel Context Protocol (MCP) over stdio
Tools~54 typed tools across send, inbox, domains, keys, templates, webhooks, contacts & metrics
AuthBearer API key via DRIN_API_KEY
ClientsClaude · Claude Code · Cursor · Codex · any MCP-compatible host
Installnpx -y @drin00/mcp — or see the docs for client setup
// 54 tools, by category[02/03]

Not a send button — the whole API.

01

Send & batch

Compose and send a single message or up to 100 at once, with attachments, scheduling and idempotency keys.

send_email · send_batch
02

Domains & keys

Add a domain, fetch its DNS records, trigger verification, and mint or revoke scoped API keys — without leaving the agent.

domains · api_keys
03

Templates & webhooks

Create and version reusable templates, send by id, and register signed webhook endpoints for delivery events.

templates · webhooks
04

Inbox & reply

List threads, read a message and its history, and reply in-thread from the agent's own address. Receiving, not just sending.

list · get · reply
05

Contacts

Read and manage the per-sender address book, plus unsubscribe and suppression state, so the agent respects opt-outs.

contacts · suppression
06

Metrics

Pull volume, delivery, bounce and complaint rates and the raw event ledger — the agent can report on its own sending.

metrics · events
// pairs well with[03/03]
// connect it

Hand your agent 54 email tools.

Grab a key, add the MCP server to your client, and let an agent run your email. Test in the sandbox; production starts at $3 a month.