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 HTTPTools
| Tool | Scope | Does |
|---|---|---|
list_mailboxes | mail.read | Mailboxes this token can use, with ids and addresses. |
list_folders | mail.read | Folders with message and unread counts. |
search_messages | mail.read | List or search a folder, newest first (query, folder, page, page_size). Same operators as the search box. |
get_message | mail.read | Headers, plain-text body wrapped as untrusted content, and each attachment with its index. |
get_attachment | mail.read | One attachment by index: text files as (untrusted) text, images as images, anything else as base64, up to 8 MB. |
create_draft | mail.draft | Saves a draft for you to review and send. attachments (base64 files) works here, on send_email and on reply_to_message. |
reply_to_message | mail.draft / mail.send | Replies in the thread. draft_only: true saves a draft; reply_all for everyone; send_at sends it later. Optional html for simple formatting. |
send_email | mail.send | Sends 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_scheduled | mail.read | Messages waiting for their send time, soonest first. |
cancel_scheduled | mail.send | Stops a scheduled message and saves it in Drafts. |
list_templates | mail.read | Your saved templates: name, subject and plain-text body. |
create_template | mail.draft | Saves a new template from a plain-text body. |
mark_read | mail.organize | Marks messages read or unread. |
set_star | mail.organize | Stars or unstars messages. |
move_messages | mail.organize | Moves to inbox, archive, junk or trash. |
get_usage | mail.read | How 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_messagescarriesdestructiveHint. Send and reply carryopenWorldHint, 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.