DomainCanary MCP
This official MCP server allows AI assistants like ChatGPT and Claude to perform live DNS checks for SPF, DKIM, and DMARC records. It enables agents to build SPF records, explain email bounces, and analyze DMARC reports without requiring user authentication, leveraging DomainCanary's infrastructure to provide accurate email authentication diagnostics.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://domaincanary.com/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to domaincanary.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
About DomainCanary MCP
The DomainCanary MCP server provides tools for AI assistants to perform live DNS checks on email authentication records. It supports analyzing DMARC aggregate reports, building SPF records for specific providers, checking SPF, DKIM, and DMARC status for domains, and explaining email bounce codes.
No sign-in is required to connect to the server or list its tools. The connector uses Streamable HTTP to access the tool definitions without requiring a DomainCanary account for the initial handshake. This allows agents to discover the available functions directly.
Individual tools may still need a vendor account, credentials, or permissions to execute successfully. Users should verify the documented prerequisites for each task before relying on the results. Workspace policies may also restrict access to custom connectors.
What you can do with it
- Check SPF, DKIM, and DMARC records for a domain
- Build SPF records for specific email providers
- Explain email bounce codes and errors
- Read and analyze DMARC aggregate reports
Source and maintenance
Protocol and capabilities
- Server
- domaincanary 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 4 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
check_domain — Check a domain's email authentication
Use this when someone asks whether a domain's email authentication is set up correctly, why mail from a domain fails DMARC, SPF or DKIM, or which DNS records to publish for it. Reads the domain's live DMARC, SPF and DKIM records and returns what is wrong with each, plus the records to add or change. Pass a DKIM selector when you know it. Without one, common selectors are tried. Takes a domain name only, not a mailbox address or an IP address.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain"
],
"properties": {
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "The domain to check, such as example.com. A URL is cut down to its host."
},
"selector": {
"type": "string",
"maxLength": 63,
"description": "The DKIM selector, the s= value in a DKIM-Signature header. Leave it out to try common ones."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"verdict",
"dmarc",
"spf",
"dkim",
"records_to_publish",
"external_data",
"url"
],
"properties": {
"spf": {
"type": "object",
"required": [
"found",
"lookups",
"findings",
"findings_omitted"
],
"properties": {
"found": {
"type": "boolean"
},
"lookups": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"level",
"message"
],
"properties": {
"level": {
"enum": [
"ok",
"warn",
"error"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"findings_omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"url": {
"type": "string"
},
"dkim": {
"type": "object",
"required": [
"selector",
"found",
"findings",
"findings_omitted"
],
"properties": {
"found": {
"type": "boolean"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"level",
"message"
],
"properties": {
"level": {
"enum": [
"ok",
"warn",
"error"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"selector": {
"type": [
"string",
"null"
]
},
"findings_omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"dmarc": {
"type": "object",
"required": [
"found",
"policy",
"findings",
"findings_omitted"
],
"properties": {
"found": {
"type": "boolean"
},
"policy": {
"anyOf": [
{
"enum": [
"none",
"quarantine",
"reject"
],
"type": "string"
},
{
"type": "null"
}
]
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"level",
"message"
],
"properties": {
"level": {
"enum": [
"ok",
"warn",
"error"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"findings_omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"domain": {
"type": "string"
},
"verdict": {
"enum": [
"clean",
"warn",
"flagged",
"idle"
],
"type": "string"
},
"external_data": {
"type": "object",
"required": [
"notice",
"fields",
"omitted"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"label",
"name",
"value",
"shortened"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"source": {
"enum": [
"dns",
"report",
"request"
],
"type": "string"
},
"shortened": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"notice": {
"type": "string"
},
"omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"records_to_publish": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type",
"value",
"why"
],
"properties": {
"why": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"const": "TXT"
},
"value": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}build_spf — Build an SPF record
Use this when someone lists the services that send their email and wants the SPF record to publish, or wants a sender added to the SPF record they already have. Takes provider names such as Google Workspace or Mailchimp, include terms such as include:spf.example.com, or IP addresses, and returns one merged record with its count of DNS lookups against the limit of ten. Pass the domain when you know it, so the result includes the senders already in its published record.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"senders"
],
"properties": {
"all": {
"enum": [
"~all",
"-all"
],
"type": "string",
"description": "How the record ends. A new record ends in ~all unless you pass -all. A record the domain already publishes keeps its own ending unless you pass one."
},
"ip4": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 10,
"description": "IPv4 addresses or ranges that send this domain's mail directly, such as 192.0.2.10 or 192.0.2.0/24."
},
"ip6": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 10,
"description": "IPv6 addresses or ranges that send this domain's mail directly, such as 2001:db8::1 or 2001:db8::/32."
},
"domain": {
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "The domain the record is for. When given, the SPF record it publishes today is read and the senders are added to it, so nothing already in it is lost."
},
"senders": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "The platforms that send this domain's mail: provider names such as Google Workspace or Mailchimp, or include terms such as include:spf.example.com."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"domain",
"outcome",
"published",
"after",
"added",
"skipped",
"unrecognised",
"no_include",
"lookups",
"over_limit",
"findings",
"findings_omitted",
"external_data",
"url"
],
"properties": {
"url": {
"type": "string"
},
"added": {
"type": "array",
"items": {
"type": "string"
}
},
"after": {
"type": [
"string",
"null"
]
},
"domain": {
"type": [
"string",
"null"
]
},
"lookups": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"outcome": {
"enum": [
"built",
"created",
"merged",
"already-present",
"not-spf",
"invalid",
"nothing-to-add"
],
"type": "string"
},
"skipped": {
"type": "array",
"items": {
"type": "string"
}
},
"findings": {
"type": "array",
"items": {
"type": "object",
"required": [
"level",
"message"
],
"properties": {
"level": {
"enum": [
"ok",
"warn",
"error"
],
"type": "string"
},
"message": {
"type": "string"
}
},
"additionalProperties": false
}
},
"published": {
"type": "boolean"
},
"no_include": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"over_limit": {
"type": "boolean"
},
"unrecognised": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"external_data": {
"type": "object",
"required": [
"notice",
"fields",
"omitted"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"label",
"name",
"value",
"shortened"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"source": {
"enum": [
"dns",
"report",
"request"
],
"type": "string"
},
"shortened": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"notice": {
"type": "string"
},
"omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"findings_omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}explain_bounce — Explain a bounce or SMTP error
Use this when someone pastes a bounce message, an SMTP reply such as 550 5.7.26, or an Authentication-Results header and asks what it means or how to fix it. Returns what the receiving server refused, what to change, when it clears, and the page that explains it. Works from the pasted text alone and reads no DNS records.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "The bounce message, the SMTP reply or the Authentication-Results line, as pasted. When the bounce runs past 4,000 characters, pass the lines with the error code and the reason."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"matched",
"code",
"page",
"meaning",
"change",
"clears",
"faq",
"related"
],
"properties": {
"faq": {
"type": "array",
"items": {
"type": "object",
"required": [
"q",
"a"
],
"properties": {
"a": {
"type": "string"
},
"q": {
"type": "string"
}
},
"additionalProperties": false
}
},
"code": {
"type": [
"string",
"null"
]
},
"page": {
"type": "object",
"required": [
"title",
"url"
],
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
},
"change": {
"type": [
"string",
"null"
]
},
"clears": {
"type": [
"string",
"null"
]
},
"matched": {
"type": "boolean"
},
"meaning": {
"type": "string"
},
"related": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"url"
],
"properties": {
"url": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}analyze_report — Read a DMARC aggregate report
Use this when someone has a DMARC aggregate report and wants to know which senders passed and which failed. The report is the XML, .gz or .zip file that receivers such as Google and Yahoo email to the address in a domain's rua tag. In ChatGPT, pass the uploaded file. Elsewhere, pass the report XML as text. Returns totals per report and each sending IP address with its SPF, DKIM and DMARC results. The result gives a next step for the report's domain and a link to a live check of that domain's DNS records. Nothing from the report is stored.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"file": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string",
"maxLength": 512
},
"file_name": {
"type": "string",
"maxLength": 1024
},
"mime_type": {
"type": "string",
"maxLength": 255
},
"download_url": {
"type": "string",
"maxLength": 4096
}
},
"description": "The report file the user uploaded in ChatGPT: the .xml, .xml.gz or .zip a mailbox provider emailed them."
},
"report_xml": {
"type": "string",
"maxLength": 1000000,
"description": "The report XML as text, from <feedback> to </feedback>. Use this when there is no uploaded file, or when the user pasted the XML."
}
}
}{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reports",
"reports_omitted",
"skipped_payloads",
"record_limit_reached",
"external_data",
"next_steps",
"analyzer_url"
],
"properties": {
"reports": {
"type": "array",
"items": {
"type": "object",
"required": [
"org",
"domain",
"date_begin",
"date_end",
"policy",
"messages",
"passed",
"failed",
"sources",
"failing_sources",
"verdict",
"worst_source",
"records_with_extra_dkim",
"truncated_fields",
"rows",
"rows_omitted"
],
"properties": {
"org": {
"type": [
"string",
"null"
]
},
"rows": {
"type": "array",
"items": {
"type": "object",
"required": [
"ip",
"messages",
"passed",
"disposition",
"spf_result",
"spf_domain",
"dkim_result",
"dkim_domain",
"dkim_signatures",
"override_reasons"
],
"properties": {
"ip": {
"type": "string"
},
"passed": {
"type": "boolean"
},
"messages": {
"type": "number"
},
"spf_domain": {
"type": [
"string",
"null"
]
},
"spf_result": {
"anyOf": [
{
"enum": [
"none",
"neutral",
"pass",
"fail",
"softfail",
"temperror",
"permerror",
"unrecognised"
],
"type": "string"
},
{
"type": "null"
}
]
},
"disposition": {
"anyOf": [
{
"enum": [
"none",
"quarantine",
"reject"
],
"type": "string"
},
{
"type": "null"
}
]
},
"dkim_domain": {
"type": [
"string",
"null"
]
},
"dkim_result": {
"anyOf": [
{
"enum": [
"none",
"pass",
"fail",
"policy",
"neutral",
"temperror",
"permerror",
"unrecognised"
],
"type": "string"
},
{
"type": "null"
}
]
},
"dkim_signatures": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"override_reasons": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"comment_in_external_data"
],
"properties": {
"type": {
"anyOf": [
{
"enum": [
"forwarded",
"sampled_out",
"trusted_forwarder",
"mailing_list",
"local_policy",
"other",
"unrecognised"
],
"type": "string"
},
{
"type": "null"
}
]
},
"comment_in_external_data": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"domain": {
"type": [
"string",
"null"
]
},
"failed": {
"type": "number"
},
"passed": {
"type": "number"
},
"policy": {
"enum": [
"none",
"quarantine",
"reject",
"unrecognised"
],
"type": "string"
},
"sources": {
"type": "number"
},
"verdict": {
"enum": [
"clean",
"warn",
"flagged"
],
"type": "string"
},
"date_end": {
"type": "string"
},
"messages": {
"type": "number"
},
"date_begin": {
"type": "string"
},
"rows_omitted": {
"type": "number"
},
"worst_source": {
"anyOf": [
{
"type": "object",
"required": [
"ip",
"messages",
"disposition"
],
"properties": {
"ip": {
"type": "string"
},
"messages": {
"type": "number"
},
"disposition": {
"anyOf": [
{
"enum": [
"none",
"quarantine",
"reject"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"failing_sources": {
"type": "number"
},
"truncated_fields": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"records_with_extra_dkim": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
}
},
"next_steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"domain",
"kind",
"text",
"link_text",
"url"
],
"properties": {
"url": {
"type": "string"
},
"kind": {
"enum": [
"quarantine",
"reject",
"raise_pct",
"remove_testing",
"keep",
"fix_senders",
"check"
],
"type": "string"
},
"text": {
"type": "string"
},
"domain": {
"type": [
"string",
"null"
]
},
"link_text": {
"type": "string"
}
},
"additionalProperties": false
}
},
"analyzer_url": {
"type": [
"string",
"null"
]
},
"external_data": {
"type": "object",
"required": [
"notice",
"fields",
"omitted"
],
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"source",
"label",
"name",
"value",
"shortened"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"label": {
"type": "string"
},
"value": {
"type": "string"
},
"source": {
"enum": [
"dns",
"report",
"request"
],
"type": "string"
},
"shortened": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"notice": {
"type": "string"
},
"omitted": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"reports_omitted": {
"type": "number"
},
"skipped_payloads": {
"type": "number"
},
"record_limit_reached": {
"type": "boolean"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 654 ms
- 95th percentile latency
- 672 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 675 ms · 4 tool(s)
- · probe · passed · 643 ms · 4 tool(s)
- · probe · passed · 644 ms · metadata changed · 4 tool(s)
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http domaincanary-mcp https://domaincanary.com/mcpCodex
codex mcp add domaincanary-mcp --url https://domaincanary.com/mcpCursor
{
"mcpServers": {
"domaincanary-mcp": {
"url": "https://domaincanary.com/mcp"
}
}
}Cline
{
"mcpServers": {
"domaincanary-mcp": {
"type": "streamableHttp",
"url": "https://domaincanary.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"domaincanary-mcp": {
"type": "http",
"url": "https://domaincanary.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http domaincanary-mcp https://domaincanary.com/mcpClaude Desktop
https://domaincanary.com/mcpWindsurf
{
"mcpServers": {
"domaincanary-mcp": {
"serverUrl": "https://domaincanary.com/mcp"
}
}
}Let your agent find its tools
Find servers like DomainCanary MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other developer tools servers
Frequently asked questions
- Can I use this server to build SPF records?
- Yes. The `build_spf` tool allows agents to construct SPF records tailored for specific email providers. This function is part of the server's capability to assist with email authentication setup.
- Do I need a DomainCanary account to use the tools?
- No sign-in is required to connect and list tools. However, individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites for specific tasks.
- What tasks does this server support?
- The server supports four tasks: `analyze_report` for DMARC aggregate reports, `build_spf` for creating SPF records, `check_domain` for verifying SPF, DKIM, and DMARC records, and `explain_bounce` for interpreting email bounce codes and errors.
- Why might a tool fail even if the connection succeeds?
- The live check verifies connection and tool discovery only. It does not establish whether every tool works without an account, credentials, payment, or permissions. Individual tools may require specific vendor accounts or workspace permissions to execute successfully.
Do you run DomainCanary MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.