// agents · cursor

Email tools, in your editor.

Drin connects to Cursor over MCP, so the agent in your editor can scaffold a send, fire a test, verify a domain and inspect inbound mail — all of the 54 tools, right next to the code you're writing.

cursor · mcp config & prompt
// .cursor/mcp.json — illustration; exact setup in the docs
{
  "mcpServers": {
    "drin": {
      "command": "npx",
      "args": ["@drin00/mcp"],
      "env": { "DRIN_API_KEY": "drin_live_…" }
    }
  }
}

# In Cursor's chat, with the project open:
> Wire the signup flow to send a welcome email via Drin,
> then send me a test to confirm it works.
// how to connect[01/02]

Add Drin to Cursor's MCP config.

  1. 1

    Create an API key

    Mint a scoped key in the dashboard. Keep it in your environment, not in source — the config reads it from DRIN_API_KEY.

  2. 2

    Register the server

    Add Drin to your .cursor/mcp.json (or Cursor's MCP settings). The 54 tools appear once Cursor reloads.

  3. 3

    Build with it

    Ask Cursor to add a send to a route, then send a test to confirm — it calls Drin directly instead of guessing at an SDK.

Exact Cursor setup in the docs →

good first prompts
scaffold"Add a Drin send to my password-reset route."
test"Send a test email to me through Drin."
verify"Show the DNS records for acme.com."
debug"Read the latest inbound thread."
// from the editor[02/02]

Build email features without context-switching.

01

Scaffold the send

Ask Cursor to add a Drin send call to a route or job, generate the typed client code, and wire your key from env.

02

Send a test from chat

Fire a real test message through the MCP tools to confirm the integration works — without switching to a terminal.

03

Verify a domain inline

Pull the SPF, DKIM and DMARC records into the editor, drop them in your DNS notes, and confirm verification.

04

Read inbound while you build

List threads and inspect a message right in chat, so you can build and debug inbound handling against real mail.

// connect cursor

Send your first email from Cursor.

Grab a key, add Drin to your MCP config, and let the editor send and test for you. Test in the sandbox; production starts at $3 a month.