MailX Email Deliverability
Check SPF/DKIM/DMARC/BIMI, blacklists, SMTP/IMAP; DNS lookups; generate email DNS records.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"email-deliverability": {
"url": "https://themailx.com/mcp"
}
}
}遠端端點
https://themailx.com/mcpstreamable-http它能做什麼
工具清單
工具(16)
🟢spf_check(domain_name)
Check if a domain has a valid SPF (Sender Policy Framework) DNS record. SPF specifies which mail servers are authorized to send email on behalf of a domain.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to check SPF records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}🟢dkim_check(domain_name, dkim_selector)
Check if a domain has a valid DKIM (DomainKeys Identified Mail) DNS record for a given selector. DKIM allows the receiver to verify that an email was sent by the domain owner.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to check DKIM records for, e.g. example.com"
},
"dkim_selector": {
"type": "string",
"description": "The DKIM selector to look up, e.g. google, default, selector1"
}
},
"required": [
"domain_name",
"dkim_selector"
]
}🟢dmarc_check(domain_name)
Check if a domain has a valid DMARC (Domain-based Message Authentication, Reporting & Conformance) DNS record. DMARC tells receiving servers what to do with emails that fail SPF or DKIM checks.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to check DMARC records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}🟢bimi_check(domain_name)
Check if a domain has a valid BIMI (Brand Indicators for Message Identification) DNS record. BIMI allows brands to display their logo next to authenticated emails in supporting email clients.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to check BIMI records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}⚪dmarc_generate(domain_name, email, dmarc_policy)
Generate a DMARC DNS record for a domain. Returns the record name, value, and type ready to be added to DNS.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to generate a DMARC record for, e.g. example.com"
},
"email": {
"type": "string",
"description": "The email address to receive DMARC aggregate reports, e.g. [email protected]"
},
"dmarc_policy": {
"type": "string",
"description": "The DMARC policy: none (monitor only), quarantine (mark as spam), or reject (block entirely)",
"enum": [
"none",
"quarantine",
"reject"
]
}
},
"required": [
"domain_name",
"email",
"dmarc_policy"
]
}⚪spf_generate(domain_name, provider, hard_fail_boolean)
Generate an SPF DNS record for a domain based on the email provider being used. Returns the record name, value, and type ready to be added to DNS.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to generate an SPF record for, e.g. example.com"
},
"provider": {
"type": "string",
"description": "The mail provider identifier, e.g. google, mailgun, sendgrid, postmark, amazon-ses"
},
"hard_fail_boolean": {
"type": "boolean",
"description": "If true, uses strict -all policy (reject unauthorized senders). If false, uses soft ~all (mark but deliver)."
}
},
"required": [
"domain_name",
"provider",
"hard_fail_boolean"
]
}🟡smtp_check(host, port, username, password, encryption, ...)
Test an SMTP server connection by attempting to connect and authenticate. If from_email and to_email are provided, the tool may attempt to send a test email. Only provide these fields if you are authorized to send from the account and intentionally want to test full sending capability.
輸入結構描述
{
"type": "object",
"properties": {
"host": {
"type": "string",
"description": "The SMTP server hostname, e.g. smtp.gmail.com"
},
"port": {
"type": "integer",
"description": "The SMTP port number, e.g. 587 for TLS, 465 for SSL, 25 for unencrypted",
"minimum": 1,
"maximum": 65535
},
"username": {
"type": "string",
"description": "The SMTP username for authentication"
},
"password": {
"type": "string",
"description": "The SMTP password or app-specific password"
},
"encryption": {
"type": "string",
"description": "The encryption protocol: ssl, tls, or none",
"enum": [
"ssl",
"tls",
"none"
]
},
"from_email": {
"type": "string",
"description": "Optional sender email address for sending a test email"
},
"to_email": {
"type": "string",
"description": "Optional recipient email address for sending a test email"
}
},
"required": [
"host",
"port",
"username",
"password",
"encryption"
]
}🟢imap_check(imap_host, imap_port, username, password, imap_encryption)
Test an IMAP server connection by attempting to connect and authenticate. Use this to verify email receiving configuration.
輸入結構描述
{
"type": "object",
"properties": {
"imap_host": {
"type": "string",
"description": "The IMAP server hostname, e.g. imap.gmail.com"
},
"imap_port": {
"type": "integer",
"description": "The IMAP port number, e.g. 993 for SSL, 143 for unencrypted",
"minimum": 1,
"maximum": 65535
},
"username": {
"type": "string",
"description": "The IMAP username for authentication"
},
"password": {
"type": "string",
"description": "The IMAP password or app-specific password"
},
"imap_encryption": {
"type": "string",
"description": "The encryption protocol: ssl, tls, or none",
"enum": [
"ssl",
"tls",
"none"
]
}
},
"required": [
"imap_host",
"imap_port",
"username",
"password",
"imap_encryption"
]
}🟢smtp_finder(provider_name)
Look up SMTP server settings (host, port, encryption) for a given email provider. Use this to find the correct SMTP configuration for services like Gmail, Outlook, SendGrid, etc.
輸入結構描述
{
"type": "object",
"properties": {
"provider_name": {
"type": "string",
"description": "The email provider name to look up, e.g. gmail, sendgrid, mailgun, outlook"
}
},
"required": [
"provider_name"
]
}🟢imap_finder(imap_provider_name)
Look up IMAP server settings (host, port, encryption) for a given email provider. Use this to find the correct IMAP configuration for services like Gmail, Outlook, Yahoo, etc.
輸入結構描述
{
"type": "object",
"properties": {
"imap_provider_name": {
"type": "string",
"description": "The email provider name to look up, e.g. gmail, outlook, yahoo"
}
},
"required": [
"imap_provider_name"
]
}🟢blacklist_check(domain_name)
Check if a domain or IP address is listed in popular email blacklists (DNSBLs). Being blacklisted can severely impact email deliverability.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain name or IP address to check against blacklists, e.g. example.com or 1.2.3.4"
}
},
"required": [
"domain_name"
]
}🟢mx_lookup(domain_name)
Look up MX (Mail Exchanger) records for a domain. Returns the mail servers and their priorities.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to look up MX records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}🟢txt_lookup(domain_name)
Look up all TXT records for a domain. TXT records contain SPF policies, domain verification tokens, DKIM keys, and other metadata.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to look up TXT records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}🟢cname_lookup(domain_name)
Look up CNAME (Canonical Name) records for a domain. Shows where a hostname aliases to.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to look up CNAME records for, e.g. www.example.com"
}
},
"required": [
"domain_name"
]
}🟢ptr_lookup(ip_address)
Reverse DNS lookup. Find the hostname associated with an IP address. A valid PTR record is important for email sending reputation.
輸入結構描述
{
"type": "object",
"properties": {
"ip_address": {
"type": "string",
"description": "The IP address to look up, e.g. 8.8.8.8 or 142.250.80.46"
}
},
"required": [
"ip_address"
]
}🟢dns_lookup(domain_name)
Look up all DNS records for a domain in one query. Returns A, AAAA, CNAME, MX, NS, TXT, and SOA records.
輸入結構描述
{
"type": "object",
"properties": {
"domain_name": {
"type": "string",
"description": "The domain to look up all DNS records for, e.g. example.com"
}
},
"required": [
"domain_name"
]
}社群
證據