# MinuteMail [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/minutemailco/mcp-server  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/minutemail

## Description
Ephemeral mailboxes and a mock OAuth IdP for testing email and auth flows — 39 API-driven tools

## Tools
Capabilities this server exposes over MCP:

- **mailboxes.list** — List the tenant's active mailboxes (owner is derived from the API key). Optionally look up a single mailbox by exact address.
- **mailboxes.create** — Create a new temporary mailbox. The domain defaults to the tenant's default domain; the owner is always the API key's owner.
- **mailboxes.get** — Fetch a single mailbox by ID.
- **mailboxes.delete** — Delete a mailbox and its contents by ID.
- **mailboxes.delete_bulk** — Delete several mailboxes at once by ID.
- **mails.list** — List the emails in a mailbox, newest first.
- **mails.inject** — Inject a simulated inbound email into a mailbox (multipart upload). No external mail is sent; use this to simulate inbound mail for flow testing.
- **mails.get** — Fetch a single email by ID, including body and attachment metadata.
- **mails.delete** — Delete a single email.
- **mails.delete_bulk** — Delete several emails of one mailbox at once.
- **attachments.list** — List the attachments of an email (metadata only).
- **attachments.add** — Attach a file to a test-injected email (base64 payload).
- **attachments.get** — Download an attachment. The file contents are returned base64-encoded in the JSON "data" field.
- **attachments.delete** — Delete a single attachment.
- **attachments.delete_bulk** — Delete several attachments of one email at once.
- **archived.list** — List the tenant's archived (expired but recoverable) mailboxes.
- **archived.get** — Fetch a single archived mailbox by ID.
- **archived.delete** — Permanently delete an archived mailbox.
- **archived.reactivate** — Reactivate an archived mailbox back to active state.
- **domains.list** — List the tenant's custom domains with their DNS verification status.
- **domains.register** — Register a new custom domain. DNS records (TXT token + MX) must then be added before verification can succeed.
- **domains.verify** — Trigger DNS verification (TXT + MX) of a registered domain.
- **domains.delete** — Delete a registered custom domain.
- **team.members.list** — List the tenant's team members.
- **team.members.add** — Add a team member directly (no invitation flow).
- **team.members.get** — Fetch a single team member by ID.
- **team.members.delete** — Remove a team member.
- **team.invitations.create** — Create a team invitation for an email address (SMTP invite is sent by the team service).
- **team.invitations.list** — List the tenant's team invitations.
- **team.invitations.delete** — Revoke a team invitation.
- **identities.list** — List the tenant's mock identities, optionally filtered by OAuth client or mailbox address.
- **identities.create** — Create a mock identity bound to a mailbox for OAuth flow testing.
- **identities.get** — Fetch a single mock identity by ID.
- **identities.update** — Update a mock identity: profile fields, isActive (activate/deactivate), emailVerified, and custom claims merged into the ID token and userinfo.
- **identities.delete** — Delete a mock identity.
- **oauth.clients.list** — List the tenant's OAuth clients for mock identity testing.
- **oauth.clients.create** — Register an OAuth client for mock identity flows. The plaintext clientSecret is returned once at creation.
- **oauth.clients.get** — Fetch a single OAuth client by its public client ID.
- **oauth.clients.delete** — Delete an OAuth client by its public client ID.
- **oauth.clients.rotate_secret** — Rotate an OAuth client's secret. The new plaintext secret is returned once.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "minutemail": {
    "url": "https://mcp.minutemail.co/mcp"
  }
}
```

## Documentation

## What the MinuteMail MCP server does

The MinuteMail MCP server gives an MCP client access to disposable mailbox and email operations backed by the MinuteMail platform. It is intended for automated testing where an application needs to send mail to a temporary address and an agent or test harness needs to inspect the result.

The API surface covers more than inbox handling. Agents can manage active and archived mailboxes, create or remove custom domains, administer team members and invitations, and work with mock identities and OAuth client records. The repository describes 39 tools, with each tool corresponding to a MinuteMail API route.

A common workflow is to create a mailbox with a time-to-live, direct the application under test to send a verification message there, then list and read the message to obtain a code or link. Mailboxes can expire after the configured period, which helps keep test data temporary.

## How it works

The hosted endpoint is `https://mcp.minutemail.co/mcp` and uses Streamable HTTP. Each request must include a MinuteMail API key as a Bearer token. The MCP server acts as a stateless proxy: credentials are forwarded to the MinuteMail API, while mailbox, message, attachment, and identity state remains in the MinuteMail service.

Tool output is returned as MCP text content containing the API's JSON response. HTTP failures are represented as MCP errors and include the upstream status and response body. The documented statuses include invalid credentials, missing scopes or domain permissions, quota exhaustion, and an unavailable upstream service.

## Setup and configuration

To use the MinuteMail MCP server, create an account at MinuteMail, generate an API key in its dashboard, and configure the MCP client with the hosted URL and an `Authorization: Bearer mmak_...` header. The README gives connection examples for Claude Code, Claude Desktop, Cursor, and raw JSON-RPC clients.

The server can also run as a Docker container. Self-hosting still requires MinuteMail API credentials because the binary remains a proxy rather than an independent mail system. Its configuration includes `PORT`, `API_BASE`, `LOG_LEVEL`, `LOG_FORMAT`, and `PROFILE`; defaults are provided for each. The `/health` endpoint supports liveness checks, while `/metrics` exposes Prometheus counters.

## Tools and capabilities

- List, create, fetch, and delete active mailboxes, including bulk deletion.
- List, reactivate, inspect, and remove archived mailboxes.
- List, inject, read, and delete email messages, including bulk deletion.
- List, add, fetch, and delete attachments, including bulk deletion.
- Register, verify, list, and remove custom domains.
- Manage team members and invitations.
- Create and manage mock identities and OAuth clients, including client-secret rotation.

Mailbox creation supports optional expiration, domain, and recovery-tag values. Message injection supports multipart content and attachments, which is useful when a test needs to reproduce inbound email with files.

## Limitations and notes

The MinuteMail MCP server does not manage API keys through MCP; keys are administered in the MinuteMail web application. Permissions depend on the scopes attached to the key. Mailbox, domain, team, and identity write operations require their corresponding scopes, so a client may receive authorization errors even when its key is valid.

Self-hosting does not remove the dependency on the MinuteMail API or provide local persistence. The proxy stores no sessions or local mailbox data, and service quotas and authorization are enforced by the upstream platform. The documented default `API_BASE` is intended for the project’s internal environment; deployments outside that environment should point it at the hosted API URL.

_Full upstream README: https://allmcps.com/mcp/minutemail/readme_

