Skip to main content
Glama
minutemailco

MinuteMail MCP

Official
by minutemailco

mcp-server

MCP(Model Context Protocol)服务器,将 MinuteMail 公开 API 暴露为工具。它让 AI 代理和 MCP 客户端能够通过 mm-api-gateway 操作 MinuteMail 邮箱、邮件、附件、域名、团队和模拟 OAuth 身份。

  • 端点: https://mcp.minutemail.co/mcp(Streamable HTTP,协议修订版 2025-06-18

  • 认证: MCP 客户端的 Authorization: Bearer mmak_... 请求头会原样转发给 api-gateway——此服务器不持有任何凭据。作用域和配额由 api-gateway 强制实施,与任何 API 客户端完全相同。

  • 无状态: 无会话,无服务端推送 SSE(GET /mcpDELETE /mcp 返回 405)。健康检查:GET /health

工具集(39 个工具)

每个工具与 api-gateway 的 /v1 路由一一对应。所有调用都需要 Bearer API 密钥;写操作需要匹配的作用域(mailboxesdomainsteamidentities)。

邮箱(mailboxes 作用域)

工具

网关路由

mm_list_mailboxes

GET /v1/mailboxes

mm_create_mailbox

POST /v1/mailboxes(属主强制为密钥属主,域默认为租户默认域)

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

归档邮箱(mailboxes 作用域)

mm_list_archived_mailboxesmm_get_archived_mailboxmm_delete_archived_mailboxmm_reactivate_archived_mailbox

域名(domains 作用域)

mm_list_domainsmm_register_domainmm_verify_domainmm_delete_domain

团队(team 作用域)

mm_list_membersmm_add_membermm_get_membermm_delete_membermm_create_invitationmm_list_invitationsmm_delete_invitation

模拟身份(identities 作用域)

mm_list_identitiesmm_create_identitymm_get_identitymm_delete_identitymm_list_oauth_clientsmm_create_oauth_clientmm_get_oauth_clientmm_delete_oauth_clientmm_rotate_client_secret

未暴露

  • /v1/api-keys 增删改查——API 密钥管理不通过 MCP 暴露;请从 Web 应用管理密钥。

  • /internal/*——仅限内部使用。/metrics 提供 Prometheus 指标(运行时 go_*/process_* 计数器)供抓取;参见 METRICS.md。

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

示例

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}}}'

工具结果以 MCP 文本内容返回,其中携带网关的 JSON 响应。非 2xx 的网关响应会变成 isError: true 的结果,并附带 HTTP 状态码和响应体(401 无效密钥、403 作用域/域权限、429 配额不足并附剩余计数、502 上游不可用)。

配置

环境变量

默认值

用途

PORT

8080

监听端口

API_BASE

http://mm-api-gateway:80

api-gateway 基础 URL(集群内)

LOG_LEVEL

warn

日志级别:debug/info/warn/error

LOG_FORMAT

json

日志格式:json/text

PROFILE

dev

部署环境标签

开发

Go 1.23。使用标准库加 prometheus/client_golang 提供 /metrics。遵循 MinuteMail 服务标准(参见 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