mcpField
M
MinuteMail

MinuteMail

Remote
github.com/minutemailcoDeveloper Tools0Updated 2w ago
Repository

About MinuteMail

MinuteMail MCP Server gives AI agents and MCP clients tools for testing email and authentication flows with ephemeral mailboxes and mock OAuth identities. Its 39 API-backed tools cover mail, attachments, domains, teams, and identities.

Key features

  1. 01Create and manage temporary mailboxes
  2. 02List, inject, and manage emails
  3. 03Manage email attachments
  4. 04Register and verify custom domains
  5. 05Manage team members and invitations
  6. 06Create and manage mock OAuth identities

Use cases

  1. 01Retrieve verification links from test emails
  2. 02Simulate inbound mail with attachments
  3. 03Test authentication flows with mock identities
  4. 04Manage test mailboxes and domains through an agent

MCP support

Provides 39 tools through a Streamable HTTP MCP endpoint. It forwards the supplied MinuteMail API key to the API, where scopes and quotas are enforced; the server itself keeps no credentials or session data.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.minutemail.co/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://mcp.minutemail.co/mcpAuth required

Tools

40
ParameterTypeRequiredDescription
addressstringNoExact mailbox address to look up (e.g. [email protected]). Optional.

Details

From the project README

MinuteMail MCP Server

MinuteMail as MCP (Model Context Protocol) tools: let AI agents and MCP clients operate ephemeral mailboxes, emails, attachments, custom domains, teams, and mock OAuth identities for testing email and auth flows.

License: MIT Docker smithery badge

  • Endpoint: https://mcp.minutemail.co/mcp (Streamable HTTP, protocol revision 2025-06-18)
  • Auth: your MinuteMail API key (Bearer mmak_...). The server is a stateless proxy — it holds no credentials, sessions, or local storage of its own; your key is forwarded verbatim to the MinuteMail API, where scopes and quotas are enforced. All state (mailboxes, mails, identities) lives in the MinuteMail platform behind it.
  • Also listed in the official MCP Registry as io.github.minutemailco/mcp-server and on Smithery.

Get an API key

  1. Sign up at minutemail.co (free during early access)

  2. Create an API key in the dashboard

  3. Configure your MCP client to send it as the Authorization header:

    Authorization: Bearer mmak_XXXXXXXX

Connect your MCP client

Claude Code / Claude Desktop / Cursor / any Streamable HTTP client:

  • URL: https://mcp.minutemail.co/mcp
  • Header: Authorization: Bearer mmak_...

Claude Code CLI:

claude mcp add --transport http minutemail https://mcp.minutemail.co/mcp \
  --header "Authorization: Bearer mmak_XXXXXXXX"

Claude Desktop / clients with an mcpServers JSON config (e.g. claude_desktop_config.json / ~/.cursor/mcp.json):

{
  "mcpServers": {
    "minutemail": {
      "type": "http",
      "url": "https://mcp.minutemail.co/mcp",
      "headers": {
        "Authorization": "Bearer mmak_XXXXXXXX"
      }
    }
  }
}

Some clients (older Claude Desktop builds) only support local stdio servers in their JSON config. If yours rejects type: "http", use the built-in remote/connectors UI with the URL and header above, or run mcp-remote as a stdio bridge:

{
  "mcpServers": {
    "minutemail": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.minutemail.co/mcp",
        "--header",
        "Authorization: Bearer mmak_XXXXXXXX"
      ]
    }
  }
}

For a guided walkthrough, see the docs: docs.minutemail.co/mcp/getting-started.

Raw JSON-RPC (what the clients do under the hood):

curl -s https://mcp.minutemail.co/mcp \
  -H 'Authorization: Bearer mmak_XXXXXXXX' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"mailboxes.create","arguments":{"expiresIn":30}}}'

Tools (39)

Every tool maps 1:1 to a route of the MinuteMail API. All calls require the Bearer API key; write operations require the matching scope (mailboxes, domains, team, identities).

Mailboxes (mailboxes scope)
ToolPurpose
mailboxes.listList active mailboxes (optional exact-address lookup)
mailboxes.createCreate a mailbox (optional TTL, domain, recovery tag)
mailboxes.get / mailboxes.deleteFetch / delete one mailbox
mailboxes.delete_bulkDelete several mailboxes by ID
mails.list / mails.injectList mails / simulate an inbound email (multipart, with attachments)
mails.get / mails.delete / mails.delete_bulkRead / delete mails
attachments.list / attachments.add / attachments.get / attachments.delete / attachments.delete_bulkAttachment CRUD
Archived mailboxes (mailboxes scope)

archived.list, archived.get, archived.delete, archived.reactivate.

Custom domains (domains scope)

domains.list, domains.register, domains.verify, domains.delete.

Team (team scope)

team.members.list, team.members.add, team.members.get, team.members.delete, team.invitations.create, team.invitations.list, team.invitations.delete.

Mock identities & OAuth clients (identities scope)

identities.list, identities.create, identities.update, identities.get, identities.delete, oauth.clients.list, oauth.clients.create, oauth.clients.get, oauth.clients.delete, oauth.clients.rotate_secret. identities.update patches profile fields, isActive (activate/deactivate), emailVerified (drives the email_verified claim), and custom claims merged into issued ID tokens and userinfo responses.

Tool results are returned as MCP text content carrying the API's JSON response. Non-2xx responses become isError: true results with the HTTP status and body (401 invalid key, 403 scope/domain, 429 quota with remaining count, 502 upstream down).

Typical agent workflow

mailboxes.create (expiresIn 30)
        ↓
your app under test sends a verification email to the mailbox address
        ↓
mails.list → mails.get (extract the code / link)
        ↓
assert the flow completed — the mailbox expires on its own

Self-hosting

The server is a single static Go binary in a scratch image (~7 MB):

docker run -p 8080:8080 \
  -e API_BASE=https://api.minutemail.co \
  ghcr.io/minutemailco/mcp-server:latest
# or from Docker Hub:
docker run -p 8080:8080 \
  -e API_BASE=https://api.minutemail.co \
  chrptvn/minutemail-mcp:latest

Self-hosting still requires MinuteMail API keys — the server is a stateless proxy over the hosted API, not a standalone implementation. It keeps no sessions or local data; every mailbox, mail, and identity is stored by the MinuteMail API it forwards to.

Env varDefaultPurpose
PORT8080Listen port
API_BASEhttp://api-gateway:80MinuteMail API base URL (use https://api.minutemail.co outside the cluster)
LOG_LEVELwarndebug/info/warn/error
LOG_FORMATjsonjson/text
PROFILEdevDeployment profile label

GET /health for liveness; GET /metrics for Prometheus counters. API-key management is not exposed via MCP — manage keys from the web app.

Development

Go 1.23, stdlib plus prometheus/client_golang.

go test ./...     # unit tests
go vet ./...
go run .          # local server on :8080

License

MIT — © MinuteMail.co

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.