MailAlign
Email header analyzer: SPF/DKIM/DMARC/ARC verdicts, domain alignment, hop delays. No lookups.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mailalign": {
"url": "https://mailalign.mike-tusa.workers.dev/mcp"
}
}
}远程端点
https://mailalign.mike-tusa.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢analyze_headers(headers, include_raw)
Analyze pasted raw email headers. Reports From / Return-Path / Reply-To / DKIM d= alignment (relaxed and strict), SPF / DKIM / DMARC / ARC verdicts as recorded by the receiving servers (Authentication-Results, ARC-*), the Received hop chain oldest first with per-hop delays and public IPs, and plain-English findings with severity and what each means or how to fix it. Makes no network or DNS calls and does not verify signatures. Header text is not stored. Read-only. Same engine as the MailAlign JSON API (POST /api/analyze).
输入模式
{
"type": "object",
"properties": {
"headers": {
"type": "string",
"minLength": 1,
"maxLength": 60000,
"description": "The full raw header block of one email, e.g. \"Received: from ...\nAuthentication-Results: ...\nFrom: ...\". A body after the first blank line is ignored."
},
"include_raw": {
"type": "boolean",
"default": false,
"description": "Also return the full /api/analyze JSON (all findings and hops) in structuredContent.raw."
}
},
"required": [
"headers"
],
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"verdict": {
"type": "string",
"enum": [
"pass",
"review",
"fail",
"unknown"
]
},
"fromDomain": {
"type": "string"
},
"spf": {
"type": "string"
},
"dkim": {
"type": "string"
},
"dmarc": {
"type": "string"
},
"arc": {
"type": "string"
},
"dkimAligned": {
"type": "object",
"properties": {
"strict": {
"type": "boolean"
},
"relaxed": {
"type": "boolean"
}
},
"required": [
"strict",
"relaxed"
]
},
"spfAligned": {
"type": "object",
"properties": {
"strict": {
"type": "boolean"
},
"relaxed": {
"type": "boolean"
}
},
"required": [
"strict",
"relaxed"
]
},
"hops": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hop": {
"type": "number"
},
"from": {
"type": "string"
},
"by": {
"type": "string"
},
"ip": {
"type": "string"
},
"ipScope": {
"type": "string"
},
"timestamp": {
"type": "string"
},
"delaySeconds": {
"type": "number"
}
},
"required": [
"hop"
]
}
},
"hopsOmitted": {
"type": "number"
},
"totalDelaySeconds": {
"type": "number"
},
"publicIps": {
"type": "array",
"items": {
"type": "string"
}
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"severity": {
"type": "string",
"enum": [
"critical",
"warning",
"info",
"ok"
]
},
"code": {
"type": "string"
},
"title": {
"type": "string"
},
"detail": {
"type": "string"
}
},
"required": [
"severity",
"code",
"title",
"detail"
]
}
},
"findingsOmitted": {
"type": "number"
},
"version": {
"type": "string"
},
"raw": {
"type": "object",
"description": "Full /api/analyze response (only when include_raw is true)"
}
},
"required": [
"verdict",
"findings",
"hops",
"version"
]
}社区
证据