Skip to main content

Client Integration Guides

Connect the Mailofly MCP server to your AI editor with a single click or a quick configuration snippet. Mailofly MCP supports two transports:

One-Click & Quick Add


Hosted URL (SSE) — Zero Install

For clients that accept an MCP server URL instead of a command, use the Mailofly hosted endpoint:
Pass your API key as a query parameter:
The hosted server auto-suspends when idle and wakes instantly on connection. It runs across Singapore and London via Fly.io for low-latency access worldwide.

Claude.ai

  1. Open claude.ai and go to Settings → Integrations.
  2. Click Add Integration → Add custom integration.
  3. Set the MCP Server URL to:
  4. Click Add. Mailofly tools appear automatically in your Claude.ai chats.

Smithery

Search for Mailofly on smithery.ai or configure directly with:

Any SSE-Compatible Client

Any client that supports the MCP SSE transport can connect using the URL above. If your client requires separate SSE and POST endpoints: Include the Authorization: Bearer YOUR_API_KEY header on POST /messages requests.

Stdio (npx) — Local Editors

Select your environment below to view tailored installation options and configuration snippets:
Click the button below to trigger Cursor’s automated MCP installation dialog:
Install in Cursor

Create or edit .cursor/mcp.json in your repository root:

Method C: Global GUI Setup

  1. Open Cursor Settings (Cmd + , on macOS or Ctrl + , on Windows).
  2. Navigate to Features > MCP.
  3. Click + Add New MCP Server.
  4. Fill in:
    • Name: mailofly
    • Type: command
    • Command: npx -y @mailofly/mcp
  5. Add environment variable MAILOFLY_API_KEY.
  6. Click Save.

Verifying Your Connection

Once configured in any client, start a new chat with your AI assistant and enter:
Your assistant will immediately invoke mailofly_get_usage and mailofly_list_domains, returning live status data from your account!