Overview
The MCP endpoint is available at https://app.dmarcify.dev/mcp using Streamable HTTP and JSON-RPC. It uses the same organisation-scoped bearer tokens as the REST API.
curl https://app.dmarcify.dev/mcpConnect
Create an API token in Settings → API tokens. Use a read token for reporting-only agents, or a read/write token when the agent should create child tenants, add domains, connect providers or publish provider-backed DMARC records.
{
"mcpServers": {
"dmarcify": {
"url": "https://app.dmarcify.dev/mcp",
"headers": {
"Authorization": "Bearer dm_live_..."
}
}
}
}Organization tools
list_organizationsscope: readList the token organisation and direct child organisations with branding state.
get_organizationscope: readFetch the token organisation or one direct child organisation.
create_organizationscope: writeCreate a child tenant under the token organisation. Requires Agency tier.
update_organizationscope: writeRename an organisation or update Agency branding where branding is not locked.
Domain tools
list_domainsscope: readList domains with policy, status, rua mailbox and tags.
get_domainscope: readFetch one domain and refresh its cached DMARC DNS lookup.
add_domainscope: writeAdd a domain to the token organisation. Idempotent on fqdn.
delete_domainscope: writeRemove a domain from the token organisation.
recheck_domainscope: writeForce a fresh DMARC DNS lookup, sharing the REST/dashboard one-per-hour limit.
Report tools
get_summaryscope: readRead aggregate volume, pass/fail and alignment stats for a range.
get_sourcesscope: readInspect top sending IPs with PTR, ASN, country and sender classification.
get_reportsscope: readList recent DMARC aggregate report metadata.
Provider tools
list_providersscope: readList connected DNS providers and management scope.
get_providerscope: readFetch one connected DNS provider.
discover_provider_zonesscope: writeValidate unsaved credentials and list provider zones.
create_providerscope: writeConnect a provider, optionally discover zones and onboard domains.
update_provider_managementscope: writeChange provider domain scope and automatic-management settings.
rename_providerscope: writeRename a connected DNS provider.
refresh_provider_zonesscope: writeRefresh cached zones from the upstream provider.
test_providerscope: writeRun a provider connection test.
configure_provider_dmarcscope: writePublish a DMARC TXT record through an enabled provider.
delete_providerscope: writeDelete a connected provider and encrypted secret.
Security
MCP calls are org-scoped by the bearer token. Secrets passed to provider tools are encrypted by the integrations worker and are never returned by read tools. Keep provider-creation tools behind write-scoped tokens and rotate tokens from the dashboard when an agent environment changes.
