Skip to main content
Glama

UCT Demo

uncorreotemporal-mcp

MCP Badge

用于 UnCorreoTemporal 的 MCP 服务器,专注于自主注册和电子邮件验证工作流。

Glama

架构演示

AI Agent
   |
   | MCP
   v
Temporary Email MCP Server
   |
   v
UnCorreoTemporal API

远程连接(无需安装)

直接连接到公共端点——无需本地安装:

{
  "mcpServers": {
    "uncorreotemporal-mcp": {
      "url": "https://uncorreotemporal.com/mcp"
    }
  }
}

公共端点可免费用于测试。对于生产工作负载,请通过本地安装设置您自己的 UCT_API_KEY

安装

Claude Code

claude mcp add uncorreotemporal -e UCT_API_KEY=uct_your_key_here -- uvx uncorreotemporal-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "uncorreotemporal": {
      "command": "uvx",
      "args": ["uncorreotemporal-mcp"],
      "env": {
        "UCT_API_KEY": "uct_your_key_here"
      }
    }
  }
}

uncorreotemporal.com 获取您的 API 密钥。

快速入门(30 秒)

uvx uncorreotemporal-mcp

或者运行本地项目版本:

UCT_API_KEY=uct_your_key_here \
uv run uncorreotemporal-mcp

最小工作流示例

inbox = await create_signup_inbox("github")
email = await wait_for_verification_email(inbox["inbox_id"])
link = await extract_verification_link(
    inbox_id=inbox["inbox_id"],
    message_id=email["message_id"],
)

公共工具

  • create_signup_inbox

  • wait_for_verification_email

  • get_latest_email

  • extract_otp_code

  • extract_verification_link

  • complete_signup_flow

新增 v1 工具:complete_signup_flow

执行:

  1. 创建收件箱

  2. 等待验证邮件

  3. 提取验证链接 + OTP

输入:

{
  "service_name": "github",
  "timeout_seconds": 90,
  "poll_interval_seconds": 3,
  "subject_contains": "verify",
  "from_contains": "noreply",
  "preferred_domains": ["github.com"],
  "ttl_minutes": 30
}

输出:

{
  "status": "success",
  "inbox_id": "agent42@uncorreotemporal.com",
  "email": "agent42@uncorreotemporal.com",
  "verification_message": {
    "message_id": "msg-1",
    "subject": "Verify your email",
    "from_address": "noreply@example.com",
    "received_at": "2026-03-08T11:30:00Z"
  },
  "verification_link": "https://example.com/confirm?t=abc",
  "otp_code": "483920",
  "link_candidates": ["https://example.com/confirm?t=abc"],
  "otp_candidates": ["483920"]
}

status 可以是 successpartial_successtimeout

工具 I/O 摘要

create_signup_inbox(service_name, ttl_minutes?)

返回:

{
  "inbox_id": "agent42@uncorreotemporal.com",
  "email": "agent42@uncorreotemporal.com",
  "expires_at": "2026-03-08T12:00:00Z",
  "service_name": "github"
}

wait_for_verification_email(inbox_id, timeout_seconds?, poll_interval_seconds?, subject_contains?, from_contains?)

返回:

{
  "status": "received",
  "message_id": "msg-1",
  "received_at": "2026-03-08T11:30:00Z",
  "subject": "Verify your account",
  "from_address": "noreply@example.com",
  "timeout_seconds": 90
}

get_latest_email(inbox_id, mark_as_read?)

返回完整的消息正文和元数据。

extract_otp_code(message_text? | inbox_id+message_id, otp_length_min?, otp_length_max?)

返回:

{
  "otp_code": "483920",
  "candidates": ["483920"]
}

返回:

{
  "verification_link": "https://example.com/confirm?t=abc",
  "candidates": ["https://example.com/confirm?t=abc"]
}

配置

环境变量:

  • UCT_API_KEY (必需)

  • UCT_API_BASE (可选,默认:https://uncorreotemporal.com)

  • UCT_HTTP_TIMEOUT_SECONDS (可选,默认:20)

  • UCT_MCP_TRANSPORT (可选,默认为 stdio;也支持 streamable-httpsse)

  • UCT_MCP_HOST (可选,默认:0.0.0.0)

  • UCT_MCP_PORT (可选,默认:8000)

  • UCT_MCP_PATH (可选,默认:/mcp)

重要提示:inbox_id == 电子邮件地址

示例

查看 /examples

  • simple_workflow.py

  • openai_agent_signup.py

  • langchain_agent_signup.py

  • agent_creates_account.py

运行空运行(dry-run):

uv run python examples/simple_workflow.py --dry-run

Docker

构建:

docker build -t uncorreotemporal-mcp .

运行 stdio 模式:

docker run --rm -i \
  -e UCT_API_KEY=uct_your_key_here \
  uncorreotemporal-mcp

运行 streamable-http 模式:

docker run --rm -p 8000:8000 \
  -e UCT_API_KEY=uct_your_key_here \
  -e UCT_MCP_TRANSPORT=streamable-http \
  -e UCT_MCP_PATH=/mcp \
  uncorreotemporal-mcp

重大变更

移除了旧版底层工具:

  • create_mailbox

  • list_mailboxes

  • get_messages

  • read_message

  • delete_mailbox

迁移映射:

  • create_mailbox -> create_signup_inbox

  • get_messages + read_message -> wait_for_verification_email + get_latest_email

  • 多步注册编排 -> complete_signup_flow

目录列表资产

准备好的列表载荷位于 /directory-listings,适用于:

  • modelcontextprotocol/servers

  • mcp.so

  • awesome-mcp

公共端点部署

https://uncorreotemporal.com/mcp 的部署模板位于 /deploy

开发

uv run pytest
uv run uncorreotemporal-mcp
Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
1hResponse time
Release cycle
1Releases (12mo)

Appeared in Searches

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/francofuji/uncorreotemporal-mcp-server'

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