Dropline · Docs

MCP server

Give Claude, Cursor or VS Code access to your mailbox, with only the permissions you choose.

The MCP server is at https://dropline.cleforyx.com/mcp (Streamable HTTP, stateless). It uses the same personal access tokens, scopes, mailboxes, send approval and rate limits as the REST API.

Connect Claude in one click

In the Claude desktop app or claude.ai, open Settings → Connectors → Add custom connector, paste https://dropline.cleforyx.com/mcp and press Connect. You sign in to Dropline, pick the mailboxes and permissions, and you’re done. No token to copy.

The connection shows under Settings → Connect AI agents as a connected app; disconnect it there any time. Under the hood this is OAuth 2.1 with PKCE and dynamic client registration, so any MCP client that supports OAuth connects the same way. These connections work on the MCP server only, not the REST API.

Connect with a token

For clients that take a header instead (Claude Code, Cursor, VS Code, your own code), create a token under Settings → Connect AI agents. The app shows these snippets with your token filled in.

Claude Code

claude mcp add --transport http dropline https://dropline.cleforyx.com/mcp \
  --header "Authorization: Bearer dl_pat_…"

Cursor

// ~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
  "mcpServers": {
    "dropline": {
      "url": "https://dropline.cleforyx.com/mcp",
      "headers": { "Authorization": "Bearer dl_pat_…" }
    }
  }
}

VS Code

// .vscode/mcp.json
{
  "servers": {
    "dropline": {
      "type": "http",
      "url": "https://dropline.cleforyx.com/mcp",
      "headers": { "Authorization": "Bearer dl_pat_…" }
    }
  }
}

Other

URL:       https://dropline.cleforyx.com/mcp
Header:    Authorization: Bearer dl_pat_…
Transport: Streamable HTTP

Tools

ToolScopeDoes
list_mailboxesmail.readMailboxes this token can use, with ids and addresses.
list_foldersmail.readFolders with message and unread counts.
search_messagesmail.readList or search a folder, newest first (query, folder, page, page_size). Same operators as the search box.
get_messagemail.readHeaders, plain-text body wrapped as untrusted content, and each attachment with its index.
get_attachmentmail.readOne attachment by index: text files as (untrusted) text, images as images, anything else as base64, up to 8 MB.
create_draftmail.draftSaves a draft for you to review and send. attachments (base64 files) works here, on send_email and on reply_to_message.
reply_to_messagemail.draft / mail.sendReplies in the thread. draft_only: true saves a draft; reply_all for everyone; send_at sends it later. Optional html for simple formatting.
send_emailmail.sendSends a new email, or returns pending_approval. send_at (ISO time, 1 minute to 60 days ahead) schedules it. Optional html for simple formatting; deceptive links are refused.
list_scheduledmail.readMessages waiting for their send time, soonest first.
cancel_scheduledmail.sendStops a scheduled message and saves it in Drafts.
list_templatesmail.readYour saved templates: name, subject and plain-text body.
create_templatemail.draftSaves a new template from a plain-text body.
mark_readmail.organizeMarks messages read or unread.
set_starmail.organizeStars or unstars messages.
move_messagesmail.organizeMoves to inbox, archive, junk or trash.
get_usagemail.readHow many emails the mailbox can still send today and this hour.

Prompts: triage_inbox (go through unread mail and sort what needs you) and draft_reply (takes a sender).

Safety

  • Read tools carry readOnlyHint. move_messages carries destructiveHint. Send and reply carry openWorldHint, so clients can ask you first.
  • Nothing deletes permanently. The most destructive action is moving to Trash.
  • Message bodies are wrapped in <untrusted_email_content> so the agent treats them as data, not instructions.
  • With send approval on (the default), sends wait for you to press Send in the inbox, for up to 24 hours.

View this page as Markdown