MCP Server Documentation

LotsMail MCP Server

Connect AI agents like Claude and Cursor to LotsMail using the Model Context Protocol

Quick Information
MCP Endpoint
https://api.lotsmail.to/mcp
Available Tools
36 tools
Authentication
OAuth 2.1 with PKCE
Setup Instructions
Configure your MCP client to connect to LotsMail

Add this configuration to your Cursor settings:

{
  "mcpServers": {
    "lotsmail": {
      "url": "https://api.lotsmail.to/mcp"
    }
  }
}

Steps:

  1. Open Cursor Settings (Cmd/Ctrl + ,)
  2. Search for "MCP Servers"
  3. Click "Edit in settings.json"
  4. Add the configuration above
  5. Restart Cursor
  6. Cursor will automatically discover OAuth endpoints and handle authentication
Authentication
This server implements OAuth 2.1 with PKCE for secure authentication
OAuth 2.1 with PKCE (S256)

Most modern MCP clients will automatically discover and handle the OAuth flow. The server uses OAuth 2.1 with PKCE (S256) for secure authentication.

OAuth Discovery
https://api.lotsmail.to/.well-known/oauth-authorization-server
Authorization Endpoint
https://api.lotsmail.to/api/oauth/authorize
Token Endpoint
https://api.lotsmail.to/api/oauth/token

How it works:

  1. Clients automatically discover OAuth endpoints
  2. Users are redirected to authenticate via browser
  3. Authorization code is exchanged for access token
  4. Bearer token is used for all MCP requests
Available Tools
36 MCP tools available for LotsMail. Use these tool names when calling the MCP server.

billing

contacts

drafts

groups

mail

mailboxes

send

setup

support

team