Skip to main content
Glama
minutemailco

MinuteMail MCP

Official
by minutemailco

mcp-server

MCP (Model Context Protocol) server exposing the MinuteMail public API as tools. It lets AI agents and MCP clients operate MinuteMail mailboxes, emails, attachments, domains, teams, and mock OAuth identities through the mm-api-gateway.

  • Endpoint: https://mcp.minutemail.co/mcp (Streamable HTTP, protocol revision 2025-06-18)

  • Auth: the MCP client's Authorization: Bearer mmak_... header is forwarded verbatim to the api-gateway — this server holds no credentials. Scopes and quotas are enforced by the gateway exactly as for any API client.

  • Stateless: no sessions, no server-push SSE (GET /mcp and DELETE /mcp return 405). Health: GET /health.

Tool surface (39 tools)

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

Mailboxes (mailboxes scope)

Tool

Gateway route

mm_list_mailboxes

GET /v1/mailboxes

mm_create_mailbox

POST /v1/mailboxes (owner forced to key owner, domain defaults to tenant default)

mm_get_mailbox / mm_delete_mailbox

GET / DELETE /v1/mailboxes/{id}

mm_bulk_delete_mailboxes

DELETE /v1/mailboxes

mm_list_mails / mm_inject_test_mail

GET / POST /v1/mailboxes/{id}/mails (multipart)

mm_get_mail / mm_delete_mail / mm_bulk_delete_mails

…/mails/{mailId}

mm_list_attachments / mm_add_attachment / mm_get_attachment / mm_delete_attachment / mm_bulk_delete_attachments

…/attachments

Archived mailboxes (mailboxes scope)

mm_list_archived_mailboxes, mm_get_archived_mailbox, mm_delete_archived_mailbox, mm_reactivate_archived_mailbox.

Domains (domains scope)

mm_list_domains, mm_register_domain, mm_verify_domain, mm_delete_domain.

Team (team scope)

mm_list_members, mm_add_member, mm_get_member, mm_delete_member, mm_create_invitation, mm_list_invitations, mm_delete_invitation.

Mock identities (identities scope)

mm_list_identities, mm_create_identity, mm_get_identity, mm_delete_identity, mm_list_oauth_clients, mm_create_oauth_client, mm_get_oauth_client, mm_delete_oauth_client, mm_rotate_client_secret.

Not exposed

  • /v1/api-keys CRUD — API-key management is not exposed via MCP; manage keys from the web app instead.

  • /internal/* — internal-only. /metrics serves Prometheus metrics (runtime go_*/process_* counters) for scraping; see METRICS.md.

Related MCP server: SandMail — Disposable Email API for AI Agents

Example

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":"mm_create_mailbox","arguments":{"expiresIn":30}}}'

Tool results are returned as MCP text content carrying the gateway's JSON response. Non-2xx gateway 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).

Configuration

Env var

Default

Purpose

PORT

8080

Listen port

API_BASE

http://mm-api-gateway:80

api-gateway base URL (in-cluster)

LOG_LEVEL

warn

debug/info/warn/error

LOG_FORMAT

json

json/text

PROFILE

dev

Deployment profile label

Development

Go 1.23. Stdlib plus prometheus/client_golang for /metrics. Follows the MinuteMail service standards (see mm-mailbox-service).

go test ./...     # unit tests
go vet ./...
go run .          # local server on :8080
A
license - permissive license
Not graded
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Disposable email MCP server for autonomous AI agents. Create labeled temporary inboxes, wait for verification emails, extract OTP codes and confirmation links — zero human intervention required.
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Create disposable email inboxes, extract OTP codes in 15 languages, and receive webhooks — all from your AI agent. One call: create inbox → wait for email → get the verification code. Supports 7 domains, email forwarding, and HMAC-signed webhooks with OTP included in payload. Free tier available.
    8
    10
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Programmatic email deliverability testing for AI agents. Create inbox placement tests across Gmail, Outlook, Yahoo, Mail.ru, Yandex — get per-provider placement (Inbox/Spam/Promotions), SPF/DKIM/DMARC auth, Rspamd & SpamAssassin verdicts, DNS health (MX, PTR, DNSBL), and live SSE results.
    5
    50
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Real email and SMS for AI agents. Run a local mail server with disposable inboxes — agents send and receive real email, fetch verification codes, and drive a real inbox without going through any third-party email API.
    100
    192
    MIT

View all related MCP servers

Related MCP Connectors

  • A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.

  • Email for AI agents — send, receive as a webhook, manage domains, templates, routing.

  • AI email inbox and sending tools with attachments, search, live events, and webhooks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/minutemailco/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server