MCP server for domain monitoring: check DNS with an AI assistant
DomainGuard runs a read-only MCP (Model Context Protocol) server that lets an AI assistant check SPF, DMARC, MX and DKIM and read your monitored domains, alerts and history. It offers nine tools, works with OAuth sign-in or an API token, is limited to your own account, and is available on paid plans.
What MCP is and why use it here
The Model Context Protocol is an open standard that lets AI assistants call tools exposed by a server. Instead of copying DNS records into a chat, you connect the assistant to a server that can look them up itself, and ask questions in plain language, such as which of your domains need attention.
DomainGuard's server exposes the same engine as its checker and your own saved data. The assistant does the explaining; the facts come from live DNS lookups and your stored scans, not from the model's memory.
The nine tools
All nine tools are read-only. Five run a live DNS lookup and four read data stored in your account.
- check_domain_health: live score, per-check status, issues and recommendations
- check_spf, check_dmarc, check_mx: live single-record checks
- check_dkim: live check of one selector you supply
- list_monitored_domains: your domains with status, score and issue count
- get_domain_history: past scores and detected changes for one of your domains
- get_domain_alerts: your alerts, filterable by status, severity or domain
- generate_domain_report: structured report from the latest stored scan
Connecting: OAuth or API token
Clients that support remote MCP servers by URL can connect with your DomainGuard login using OAuth: you add the endpoint URL, sign in and approve read-only access to your account. The authorisation uses PKCE and standard discovery metadata. For headless or command-line use you can instead create an API token in the app and send it as a bearer token. Tokens are shown once, stored hashed, can be revoked and expire, and OAuth access can be revoked from the Connected apps list.
The MCP page in your account shows the endpoint and copyable setup snippets for the MCP Inspector, Claude Code, generic JSON configuration and the mcp-remote bridge.
npx @modelcontextprotocol/inspector --cli <ENDPOINT_URL> --transport http --header "Authorization: Bearer <YOUR_TOKEN>" --method tools/listWhat has and has not been tested
Being honest about compatibility matters. API-token access has been tested with the official MCP Inspector, and the OAuth flow is covered by automated tests. We have not yet verified it with specific assistants such as Claude, ChatGPT or Cursor. Clients that follow the MCP authorization specification should work, and we ask you to report any that do not.
Safety and limits
The server cannot change DNS records or account settings and cannot see another customer's data. Each plan has a daily limit on tool calls. A plan that does not include MCP cannot connect. Because answers are generated by an assistant on top of tool results, check important findings in the DomainGuard dashboard or the report itself before acting on them.
Frequently asked questions
Which plans include the MCP server?
The paid plans. The Free plan does not include MCP. Each plan has a daily limit on tool calls.
Can the assistant change my DNS?
No. All nine tools are read-only. They look up public DNS and read data from your own account.
Which AI assistants work with it?
We have tested API-token access with the MCP Inspector and the OAuth flow with automated tests. We have not verified specific assistants yet; clients that follow the MCP authorization spec should work.
OAuth or API token?
Use OAuth when your client supports remote MCP servers by URL. Use an API token for scripts, command-line tools or clients that only accept a header.