Mailflat Sdks logo

Mailflat Sdks

by MailFlat

Manage persistent agent inboxes, OTP retrieval, email delivery, and calendar workflows through MCP.

Install Mailflat Sdks

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mailflat-mailflat-sdks": {
      "command": "uvx",
      "args": [
        "mailflat-mcp"
      ],
      "env": {
        "MAILFLAT_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env MAILFLAT_API_KEY=YOUR_VALUE_HERE --transport stdio mailflat-mailflat-sdks -- uvx mailflat-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx mailflat-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

MailFlat/mailflat-sdks MCP server connects MCP clients to MailFlat inboxes for receiving messages, extracting OTPs, sending email, and managing calendar events. It runs as a Python MCP process through `uvx` or `pipx`, using a MailFlat API key and optional API URL override. Inboxes remain available until deleted while their messages follow the selected retention period. Reach for it when an agent needs reusable email identities, verification-code polling, outbound replies, delivery status, or calendar coordination.

Use cases

  • Create reusable inboxes for signup and verification flows
  • Retrieve OTP codes from incoming email
  • Send threaded replies and check delivery outcomes
  • Coordinate meetings and process calendar invitations
  • Reset test inbox contents without changing their addresses

Key features

  • Persistent MailFlat inbox addresses
  • Direct OTP polling with structured results
  • Received, sent, and threaded email operations
  • Queued delivery status tracking
  • Calendar invitations, RSVPs, and event management
  • Read-only calendar feeds with rotation

Tools19

What Mailflat Sdks lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 88d

What it can do

From the 19 tools this server returned when we ran it.

Can delete or modify data · 4Handles credentials · 1Makes network requests · 1Read-only tools · 15
Network at startup2 connections
Files written at startup10

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · mailflat-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed19Callable tools this server registers over MCP.

How Mailflat Sdks works

What MailFlat/mailflat-sdks MCP server does

MailFlat/mailflat-sdks exposes MailFlat email and calendar operations as MCP tools. Agents can create inboxes on mailflat.net or on a verified custom domain, inspect available inboxes, read received or sent mail, and wait for incoming messages. OTP polling returns the code and related email directly, avoiding the need to parse a message body with a regular expression.

An inbox address persists until it is deleted. Message retention is selected when an inbox is created, subject to the account plan. This makes an address suitable for repeated test runs or ongoing agent workflows. burn_inbox removes all messages while preserving the address, while delete_inbox removes the address and its messages permanently.

Calendar tools cover both invitations received by an inbox and meetings organized from it. Agents can list events, respond to invitations, create or update meetings, cancel meetings, and provide a read-only subscription link for human calendar applications.

How it works

The server communicates with MailFlat through its Python SDK and exposes the resulting operations over MCP. Run it as a local stdio process with uvx mailflat-mcp or an installed mailflat-mcp executable, then register that command in an MCP client configuration.

Received mail is the default view for message reads and polling. This prevents an agent from treating its own outgoing message as the reply it is waiting for. send_email reports when MailFlat accepts a message for queued delivery, not when delivery completes; wait_until_sent can check the later result using the returned message ID. A timeout while delivery remains queued is not a reason to resend.

Calendar invitations are sent by email. Responses and event changes update the corresponding calendars, and RSVP operations should be called once per answer or meeting action.

Setup and configuration

Provide a MailFlat account API key through MAILFLAT_API_KEY:

bash
MAILFLAT_API_KEY=mf_live_… uvx mailflat-mcp

The package can also be installed with pipx and launched as mailflat-mcp. Configure the MCP client to run uvx with mailflat-mcp as its argument and pass the API key in the process environment. MAILFLAT_API_URL optionally overrides the default https://mailflat.net endpoint, including for self-hosted or bring-your-own-domain deployments.

Tools and capabilities

  • Create, list, read, mark, burn, and delete inboxes or individual messages.
  • Wait for OTP codes or newly received messages.
  • Send DKIM-signed email, reply within an existing thread, and inspect queued delivery outcomes.
  • List calendar invitations and track attendee responses.
  • Accept, decline, or tentatively respond to invitations.
  • Create, edit, and cancel meetings from an inbox.
  • Generate a reusable calendar subscription link or rotate it if exposed.
  • Choose a MailFlat subdomain, verified custom domain, label, and retention period when supported by the account plan.

Limitations and notes

Labels, custom subdomains, and retention choices are subject to the account plan. A custom domain must already be verified on the MailFlat account. Email attachments are not available through send_email; they must be sent through the SDK instead. Calendar feed subscribers may see updates with delay because Google refreshes subscribed calendars every 8 to 24 hours; list_calendar_events provides the live state. Rotating a feed immediately invalidates the previous link and requires subscribers to add the replacement.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mailflat Sdks

MailFlat/mailflat-sdks is an MCP server that connects AI clients to MailFlat email inboxes and calendars. Its main tools create and manage persistent inboxes, read messages, wait for OTPs, send or reply to email, check delivery, and create, update, cancel, or RSVP to calendar events.

Run it without a local installation with `MAILFLAT_API_KEY=mf_live_… uvx mailflat-mcp`. You can also install the package with `pipx install mailflat-mcp` and launch `mailflat-mcp` with the API key in the environment.

`MAILFLAT_API_KEY` is required. It authenticates the server against the MailFlat account. `MAILFLAT_API_URL` is optional and changes the API base from `https://mailflat.net`, including for self-hosted or bring-your-own-domain setups.

Yes, MailFlat/mailflat-sdks works with Cursor through its MCP configuration. Register a server command that runs `uvx` with `mailflat-mcp` as the argument, then provide `MAILFLAT_API_KEY` in the configured environment.

Yes, use `wait_for_otp` with an inbox address and timeout. It polls for an incoming message and returns the OTP code together with the email, so the agent does not need to extract the code from raw message text.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMailflat Sdks AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mailflat-mailflat-sdks?style=directory)](https://allmcps.com/mcp/mailflat-mailflat-sdks)
HTML Embed
<a href="https://allmcps.com/mcp/mailflat-mailflat-sdks"><img src="https://allmcps.com/api/badge/mailflat-mailflat-sdks?style=directory" alt="Mailflat Sdks on AllMCPs" /></a>