machine-inbox
Task-scoped email inboxes for AI agents: read mail, extract verification codes, and reply.
我该使用它吗
质量与安全性
发现(2)
- LOW在 create_inbox 中
- LOW在 set_webhook 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"machine-inbox": {
"url": "https://machineinbox.com/mcp"
}
}
}远程端点
https://machineinbox.com/mcpstreamable-http它能做什么
工具清单
工具(11)
🟢get_service_info
Read the Machine Inbox service instructions: pricing, payment rails, endpoints, and limits.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟡create_inbox(idempotency_key)
Request a new paid inbox. Buying requires an out-of-band payment (Stripe MPP or x402 USDC on Base); this tool returns the live HTTP 402 payment challenge plus exact instructions to complete the purchase. Standard inbox: $2.00.
输入模式
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 16,
"maxLength": 200,
"description": "High-entropy key to bind the eventual paid retry to this request."
}
},
"additionalProperties": false
}🟢get_inbox(token, inbox_id)
Read an inbox: address, status, expiry, limits, and usage.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}🟢list_messages(token, inbox_id, limit, after, before)
List messages in an inbox, newest first. Pass after=<newest createdAt seen> to poll for only new mail.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"after": {
"type": "string",
"description": "ISO date-time; only messages created after this instant."
},
"before": {
"type": "string",
"description": "ISO date-time cursor for older mail."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}🟢get_message(token, inbox_id, message_id)
Fetch one message with parsed text, HTML, and attachment download URLs.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
},
"message_id": {
"type": "string"
}
},
"required": [
"inbox_id",
"message_id"
],
"additionalProperties": false
}🟢get_verification_code(token, inbox_id, sender)
Extract the newest one-time verification code or confirmation link from inbound mail. Ideal for signup and login flows.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
},
"sender": {
"type": "string",
"description": "Only consider senders whose address contains this substring."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}🟡reply_to_message(token, inbox_id, message_id, text, idempotency_key)
Send an included plain-text reply to the authenticated sender of an inbound message.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
},
"message_id": {
"type": "string"
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 20000
},
"idempotency_key": {
"type": "string",
"minLength": 16,
"maxLength": 200,
"description": "New unique key for this reply; reuse only to retry the identical reply."
}
},
"required": [
"inbox_id",
"message_id",
"text",
"idempotency_key"
],
"additionalProperties": false
}🟡set_webhook(token, inbox_id, url)
Register or replace the inbox webhook: an HMAC-signed POST fires on every inbound message with metadata, extracted verification codes, and injection risk (never the body). Returns the signing secret.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
},
"url": {
"type": "string",
"description": "Public https URL that receives the signed POST."
}
},
"required": [
"inbox_id",
"url"
],
"additionalProperties": false
}🟡get_webhook(token, inbox_id)
Read the inbox webhook state: URL, delivery counters, and whether it is disabled. The secret is only returned by set_webhook.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}🔴delete_webhook(token, inbox_id)
Remove the inbox webhook.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}🔴delete_inbox(token, inbox_id)
Delete an inbox: revokes the token and erases stored mail.
输入模式
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Mailbox bearer token (mi_live_...) returned when the inbox was purchased. Optional when the MCP request itself carries Authorization: Bearer."
},
"inbox_id": {
"type": "string",
"description": "Inbox UUID."
}
},
"required": [
"inbox_id"
],
"additionalProperties": false
}社区
证据