Skip to main content

MailFlat MCP server — disposable inbox tools (create, wait_for_otp, send, ...) for Claude Desktop, Cursor, and any MCP client.

Project description

MailFlat — MCP server

Native Model Context Protocol server for MailFlat. Gives Claude Desktop, Cursor, or any MCP client disposable inbox tooling — create inboxes, wait for OTP codes, send DKIM-signed mail, and clean up. Built on the mailflat Python SDK.

Run

# zero-install, isolated (recommended)
MAILFLAT_API_KEY=mf_live_… uvx mailflat-mcp

# or install it
pipx install mailflat-mcp
MAILFLAT_API_KEY=mf_live_… mailflat-mcp

Claude Desktop / Cursor config

Add to claude_desktop_config.json (or your client's MCP config):

{
  "mcpServers": {
    "mailflat": {
      "command": "uvx",
      "args": ["mailflat-mcp"],
      "env": { "MAILFLAT_API_KEY": "mf_live_..." }
    }
  }
}

Get your API key from the MailFlat dashboard → Agents.

Tools (7)

Tool What it does
create_inbox(prefix?, label?, retention_hours?) Open a disposable inbox; retention_hours capped by your plan
list_inboxes() All inboxes this key can see
read_messages(address) Read every message in an inbox
wait_for_otp(address, timeout=30) Poll until an OTP arrives, then return it
send_email(address, to, subject?, body?, html?) Send a DKIM-signed mail from the inbox
delete_inbox(address) Delete the inbox and its messages
delete_message(address, message_id) Delete one message; the inbox itself stays

Configuration

  • MAILFLAT_API_KEY — your account API key (required).
  • MAILFLAT_API_URL — override the API base (default https://mailflat.net; for self-hosted / BYOD).

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mailflat_mcp-0.2.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mailflat_mcp-0.2.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file mailflat_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: mailflat_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for mailflat_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d0c69b724d850bb34dff7273d27f32929f0c5e8d8fd66128fa8a1ca7814f5afc
MD5 7df5bf6639790eba6c62c36dce8b55ae
BLAKE2b-256 f9f023898635f1d9aff5b39a6e2950e318a2e1bb9cc96bb8a18f93f28f5399f6

See more details on using hashes here.

File details

Details for the file mailflat_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: mailflat_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for mailflat_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 772df6041e750a320255034f952f1ce7ab68b702bf3b08578fd9be38073f34b4
MD5 7d417c8ad9abd3f8868e69c58a0eec41
BLAKE2b-256 7c4f3ef4359a77e730c294e683e712cf52fb01474c5ac7c9cf8eaa0da49dc7c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page