agmail

Email inboxes for agents by the hour: wait for a mail, get the code or link. Pay per call.

我該用這個嗎

品質與安全性

A
說明品質
98%
結構描述完整度
99%
命名品質
96%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,604Token(工具定義)
~1.3 KB典型回應大小
中等的注意力影響(128k 上下文的 1.25%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "agmail": {
      "url": "https://agmail.shveik.dev/mcp"
    }
  }
}

遠端端點

https://agmail.shveik.dev/mcpstreamable-http

它能做什麼

工具清單

工具(9)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢check_name(name)

Check whether a name is free to use as the local part of an address, before buying an inbox. Free.

輸入結構描述

{
  "type": "object",
  "properties": {
    "name": {
      "description": "the local part, 3 to 32 characters: letters, digits, dots, dashes, underscores",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
🟡create_inbox(duration, name)

Buy an email address for an hour, four hours or a day: [email protected] with the name you choose (or a random one). Paid in stablecoins with x402: call it without a payment to get the quote, then again with the signed payment in _meta. The result has the inbox id and the secret (shown once, keep it); the inbox takes mail once the payment has settled.

輸入結構描述

{
  "type": "object",
  "properties": {
    "duration": {
      "description": "how long the inbox lasts: 1h, 4h or 24h",
      "enum": [
        "1h",
        "4h",
        "24h"
      ],
      "type": "string"
    },
    "name": {
      "description": "the local part of the address; omit it for a random name",
      "type": "string"
    }
  },
  "required": [
    "duration"
  ],
  "additionalProperties": false
}
🟡extend_inbox(duration, inbox_id, secret)

Extend an inbox you own by one, four or twenty-four hours, keeping its address and its mail. Paid in stablecoins with x402 like create_inbox. Needs the inbox id and its secret. An inbox cannot be paid for more than 72 hours ahead.

輸入結構描述

{
  "type": "object",
  "properties": {
    "duration": {
      "description": "how long the inbox lasts: 1h, 4h or 24h",
      "enum": [
        "1h",
        "4h",
        "24h"
      ],
      "type": "string"
    },
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    }
  },
  "required": [
    "inbox_id",
    "secret",
    "duration"
  ],
  "additionalProperties": false
}
🟢wait_for_message(after, from, inbox_id, secret, subject_contains, ...)

Wait until a message arrives in an inbox (up to 55 seconds) and return it with its text, codes and links. Returns at once if a matching message is already there. Free; needs the inbox id and secret.

輸入結構描述

{
  "type": "object",
  "properties": {
    "after": {
      "description": "only a message with a sequence number above this (the seq of the last one you saw)",
      "type": "integer"
    },
    "from": {
      "description": "only a message whose sender contains this text",
      "type": "string"
    },
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    },
    "subject_contains": {
      "description": "only a message whose subject contains this text",
      "type": "string"
    },
    "timeout": {
      "default": 30,
      "description": "seconds to wait for a message",
      "maximum": 55,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "inbox_id",
    "secret"
  ],
  "additionalProperties": false
}
🟢get_otp(after, from, inbox_id, secret, subject_contains, ...)

Wait for a message that carries a verification code or link and return only the code and the link. Free; needs the inbox id and secret.

輸入結構描述

{
  "type": "object",
  "properties": {
    "after": {
      "description": "only a message with a sequence number above this (the seq of the last one you saw)",
      "type": "integer"
    },
    "from": {
      "description": "only a message whose sender contains this text",
      "type": "string"
    },
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    },
    "subject_contains": {
      "description": "only a message whose subject contains this text",
      "type": "string"
    },
    "timeout": {
      "default": 30,
      "description": "seconds to wait for a message",
      "maximum": 55,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "inbox_id",
    "secret"
  ],
  "additionalProperties": false
}
🟢list_messages(after, inbox_id, limit, secret)

List the messages of an inbox (sender, subject, size) after a sequence number. Free; needs the inbox id and secret.

輸入結構描述

{
  "type": "object",
  "properties": {
    "after": {
      "description": "only messages with a sequence number above this",
      "type": "integer"
    },
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "limit": {
      "default": 50,
      "maximum": 100,
      "minimum": 1,
      "type": "integer"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    }
  },
  "required": [
    "inbox_id",
    "secret"
  ],
  "additionalProperties": false
}
🟢read_message(inbox_id, message_id, secret)

Read one message of an inbox: its text, codes, links and attachment names. Free; needs the inbox id and secret.

輸入結構描述

{
  "type": "object",
  "properties": {
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "message_id": {
      "description": "the message id from list_messages",
      "type": "string"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    }
  },
  "required": [
    "inbox_id",
    "secret",
    "message_id"
  ],
  "additionalProperties": false
}
🔴delete_inbox(inbox_id, secret)

Delete an inbox and all its mail now. There is no refund. Free; needs the inbox id and secret.

輸入結構描述

{
  "type": "object",
  "properties": {
    "inbox_id": {
      "description": "the inbox id returned by create_inbox",
      "type": "string"
    },
    "secret": {
      "description": "the inbox secret returned by create_inbox",
      "type": "string"
    }
  },
  "required": [
    "inbox_id",
    "secret"
  ],
  "additionalProperties": false
}
⚪feedback(contact, kind, message, route)

Free. Tell the people who run this service what worked, what failed or what you miss: a bug, an idea or a thanks. A person reads it. No payment, no account; limited to a few messages an hour.

輸入結構描述

{
  "type": "object",
  "properties": {
    "contact": {
      "description": "optional: how we can reach you or your operator",
      "maxLength": 200,
      "type": "string"
    },
    "kind": {
      "default": "other",
      "enum": [
        "bug",
        "idea",
        "praise",
        "other"
      ],
      "type": "string"
    },
    "message": {
      "description": "what worked, what did not, what you miss; no secrets or private data",
      "maxLength": 2000,
      "type": "string"
    },
    "route": {
      "description": "the route the feedback is about, if any",
      "enum": [
        "inbox-1h",
        "inbox-1h-renew",
        "inbox-4h",
        "inbox-4h-renew",
        "inbox-24h",
        "inbox-24h-renew"
      ],
      "type": "string"
    }
  },
  "required": [
    "message"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本9 個工具