Skip to content

Give Cursor an inbox to test with.

Add Drin's MCP server and Cursor's agent can sign up with a real address, wait for the verification email and read the code, in one chat.

Connect Cursor in two steps.

Give Cursor's agent an inbox to test sign-ups and read replies.

  1. Add the MCP server

    Put this in ~/.cursor/mcp.json (or .cursor/mcp.json in a project). Then open Customize in the sidebar and sign in to Drin there.

    mcp.json
    {
      "mcpServers": {
        "drin": {
          "url": "https://mcp.drin.run/mcp"
        }
      }
    }
  2. Sign in with Drin

    When the app opens Drin, sign in, choose which inbox it gets, and click Allow. No keys to paste.

These steps follow Anysphere's own docs for Cursor (cursor.com). If Cursor changes how it works, tell us and we'll fix this page.

It waits for the code.

Cursor reads mail when you ask. While it tests a sign-up flow, wait_for_events holds for up to 30 seconds and returns the email the moment it lands, clean text included.

MCP tools
# sign up on staging with signup-test@acme.dev, then:
drin_read({ operation: "wait_for_events", args: { types: ["inbound_received"], wait: 30 } })

# → [{ "type": "inbound_received", "data": {
#       "from": "no-reply@staging.acme.dev",
#       "subject": "Your code is 482913", "text": "Enter 482913 to…" } }]

What Cursor can and can't do.

What it can do

  • Test sign-ups end to end. Cursor signs up with a test address, waits for the verification email and finishes the flow with the code in it.
  • Send real test mail. See how your emails land, from your own domain, without a personal inbox in the loop. Mail to your own team goes straight out.
  • An inbox per test. Make a fresh address on a receiving domain for each run, so one test never reads another's mail.

What it can't do

  • Drin can't wake Cursor, and it doesn't watch the inbox. It reads mail in a chat, when you ask.
  • wait_for_events holds for up to 30 seconds a call. A slow email takes another call.
  • It can't see inboxes you didn't pick. To its key, they answer 404 on reads and 403 on writes.
  • It can't mail a new address by itself. The first mail waits for a person, unless it's a reply to a verified sender in the same thread on an open desk.

Before you connect it.

For one project or all of them?
Put the server in ~/.cursor/mcp.json for every project, or in .cursor/mcp.json inside one project.
Can it use a key instead of signing in?
Yes. Run the local server, npx -y @drin00/mcp, with DRIN_API_KEY in its env. Same tools.
Do inboxes or apps cost extra?
No. There is no fee per inbox or per connected app.

The same inbox works in other apps.

Each app gets its own key. Pause one, and the others keep working.

Give Cursor an address tonight.

Start free. Add your own domain whenever you like.