New advertisers: 50% off your first month with code FIRSTMONTHSee slots
sparedotemail avatar

Spare Email MCP

sparedotemail/spare-email-mcp

Read-only access to spare.email mailboxes: list mail, read messages, and extract OTP codes.

tools
4
auth
Secret needed
transport
STDIO
env vars
3
last updated
Nov 16, 2026
View on GitHub

What it does

  • Reads data with mailbox_info, list_mails, and read_mail, covering the mailbox address, recent messages, and full message bodies
  • Waits for new mail with wait_for_otp, which polls for codes and filters by subject_contains, with a 10-600 second timeout
  • Requires an Address JWT copied from the spare.email web UI and runs locally over stdio; the server cannot send, delete, or create mailboxes
  • Designed for agents that sign up for services and need verification codes without manual copy-paste

Tools

4 tools

Public tool metadata for what this MCP can expose to an agent.

mailbox_infoReturns the mailbox address the server is authenticated as. Use first to verify the JWT works.

Returns the mailbox address the server is authenticated as. Use first to verify the JWT works.

No parameter schema in public metadata yet.

list_mailsList recent mails, newest first (`limit` 1-100, `offset`).

List recent mails, newest first (`limit` 1-100, `offset`).

No parameter schema in public metadata yet.

read_mailRead one mail in full by id: from/to/subject/date, plain-text body, attachment metadata.

Read one mail in full by id: from/to/subject/date, plain-text body, attachment metadata.

No parameter schema in public metadata yet.

wait_for_otpPoll until a **new** mail arrives after the call starts, then extract the most likely verification code. Supports `timeout_seconds` (10-600), `poll_seconds` (3-30), and `subject_contains` filtering.

Poll until a **new** mail arrives after the call starts, then extract the most likely verification code. Supports `timeout_seconds` (10-600), `poll_seconds` (3-30), and `subject_contains` filtering.

No parameter schema in public metadata yet.

Configuration

SPARE_EMAIL_JWT*secret

Address JWT of the spare.email (or self-hosted cloudflare_temp_email) mailbox to access

SPARE_EMAIL_BASE_URL

Base URL of the deployment (default: https://spare.email; set for self-hosted instances)

SPARE_EMAIL_SITE_PASSWORDsecret

Global x-custom-auth access password, if the deployment enforces one

Readme

spare-email-mcp

A read-only Model Context Protocol server for spare.email mailboxes (works with any cloudflare_temp_email deployment).

It lets MCP-aware agents (Claude, Cursor, Codex, ...) look inside a mailbox you already created: list the inbox, read a parsed mail, and wait for a verification code. It is deliberately read-only: it cannot create mailboxes, delete mail, or send anything, and it holds no credentials of its own — it uses the same Address JWT you can copy from the web UI.

Tools

ToolPurpose
mailbox_infoReturns the mailbox address the server is authenticated as. Use first to verify the JWT works.
list_mailsList recent mails, newest first (limit 1-100, offset).
read_mailRead one mail in full by id: from/to/subject/date, plain-text body, attachment metadata.
wait_for_otpPoll until a new mail arrives after the call starts, then extract the most likely verification code. Supports timeout_seconds (10-600), poll_seconds (3-30), and subject_contains filtering.

View the full README on GitHub

Details

Repository
github.com/sparedotemail/spare-email-mcp
Category
Email & Messaging
Package
spare-email-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to Spare Email MCP

More Email & Messaging