The Drin MCP server (Documentation Index
Fetch the complete documentation index at: https://drin.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
@drin/mcp)
exposes the whole API as 54 tools over the Model Context
Protocol. Any MCP client — Claude Desktop,
Claude Code, Cursor, or your own agent — can send and receive email, manage
domains and inboxes, and read metrics with a single API key.
Run it
The server speaks MCP over stdio. It needs one environment variable,DRIN_API_KEY:
| Variable | Required | Purpose |
|---|---|---|
DRIN_API_KEY | Yes | Your API key (Bearer credential). |
DRIN_SENDER | Account-wide keys | Default project external id (the X-Drin-Product value). |
DRIN_BASE_URL | No | Override the API origin. Defaults to https://api.drin.run. |
Already using the CLI? It bundles the same server —
npx @drin/cli mcp is
equivalent to running @drin/mcp directly.Add it to a client
send_email,
list_threads, and reply_email.
What the agent can do
The 54 tools cover every surface of the API:| Group | Tools | Examples |
|---|---|---|
| Sending | 3 | send_email, send_batch, reply_email |
| Reading messages | 4 | list_emails, get_email, get_email_body, list_email_attachments |
| Domains | 7 | add_domain, verify_domain, set_domain_receiving, delete_domain |
| Inboxes & threads | 7 | create_inbox, list_threads, get_thread, simulate_inbound |
| Contacts | 7 | create_contact, unsubscribe_contact, resubscribe_contact |
| Templates | 8 | create_template, render_template, list_template_gallery |
| Suppressions | 3 | list_suppressions, add_suppression, remove_suppression |
| Webhooks | 5 | create_webhook, update_webhook, delete_webhook |
| API keys | 3 | list_api_keys, create_api_key, revoke_api_key |
| Metrics & account | 2 | get_metrics, list_account_messages |
| Integrations | 5 | install_integration, list_integrations, uninstall_integration |
Prefer a CLI?
Every tool is also a command —
npx @drin/cli send … --json.