mcp-mail

Cursor

~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": ["-y", "@annseraf/mcp-mail", "stdio"],
      "env": { "STDIO_PRESET": "read-draft" }
    }
  }
}

Remote server instead:

mcp-mail clients add cursor --for cursor     # token printed once
{
  "mcpServers": {
    "email": {
      "url": "https://mail.example.com/mcp",
      "headers": { "Authorization": "Bearer <token>" }
    }
  }
}