We respect your privacy

    MailGuard uses cookies and local storage to keep you signed in and remember your preferences. With your permission, we'd also like to use functional cookies (affiliate referrals) and analytics (anonymized error replays, and on the free domain check your time zone, screen size and a random visit identifier) to improve the product. Learn more

    Skip to main content
    Developers
    Hosted MCP server

    Let your AI assistant run MailGuard

    Point Claude, Cursor or any MCP-compatible client at MailGuard with your API key and it gets 40 native tools — 17 basic and 23 AI-grade smart tools. Ask “are my domains OK?” in plain language and the assistant answers from your real data.

    What is MCP?

    MCP (Model Context Protocol) is the open standard that lets an AI assistant use external tools. When you connect MailGuard as an MCP server, your assistant can call MailGuard directly — no copy-pasting, no leaving the chat. You ask a question in plain language; it picks the right tool, runs it against your organization's data, and answers.

    Plain-language

    “Am I ready for Gmail and Yahoo?” routes to the right tool automatically.

    Your data only

    The org is fixed by your API key — the assistant can never reach another tenant.

    Any language

    Ask in English, Spanish, Portuguese… the assistant replies in kind.

    Connect a client

    First, mint an API key with the mcp:basic scope (add mcp:smart on Pro and up for the smart tools). Then point your client at the server URL below.

    MCP server URL
    https://mcp.themailguard.ai

    Add MailGuard to your claude_desktop_config.json (Settings → Developer → Edit config), replace the placeholder secret, and restart Claude Desktop.

    claude_desktop_config.json
    {
      "mcpServers": {
        "mailguard": {
          "type": "http",
          "url": "https://mcp.themailguard.ai",
          "headers": {
            "Authorization": "Bearer mg_live_REPLACE_ME"
          }
        }
      }
    }

    Plans & scopes

    Basic tools

    Solo+

    17 read + acknowledge tools. Require the mcp:basic scope plus the underlying resource scope (e.g. domains:read).

    Smart tools

    Pro+

    23 AI-grade analysis tools — the same ones the in-app Olivio assistant uses. Require the mcp:smart scope and a Pro plan or higher, and count against your shared AI-chat budget.

    See the rate-limit table for per-plan MCP ceilings. The Free plan has no MCP access.

    Tool catalog

    Every tool hard-scopes to your organization and never invents data. The quoted lines under each tool are examples of how a person would ask for it — the assistant maps the question to the tool.

    Basic tools
    17 · Solo+

    list_domains
    domains:read

    Lists your domains with health score, mode and onboarding status (up to 100, most recent first).

    • “Show me all my domains”
    • “¿Qué dominios tengo?”
    get_domain
    domains:read

    Full state of one domain by name or id — score, mode, onboarding status.

    • “What's the status of acme.com?”
    • “Dame el detalle de acme.com”
    list_alerts
    alerts:read

    Lists alerts, filterable by severity, state, type or domain. Cursor-paginated — pass next_cursor back to walk a deep backlog.

    • “What needs my attention?”
    • “¿Hay algo crítico pendiente?”
    list_sending_sources
    domains:read

    Shows who sends mail as a domain — ESPs, IPs, volumes and pass rates.

    • “Who's sending email as acme.com?”
    • “¿Qué proveedores envían como mi dominio?”
    get_dmarc_summary
    reports:read

    Daily DMARC (the rule that tells mail servers to reject email pretending to be you) pass/fail trend for a domain over the last N days.

    • “How is my DMARC doing?”
    • “¿Cuál es la tasa de pass DMARC?”
    get_dns_records
    domains:read

    Expected vs actual DNS records (each one is a setting published for your domain that the rest of the internet reads) for a domain — highlights drift.

    • “Show the DNS records for acme.com”
    • “¿Hay drift en mi DNS?”
    run_check
    writes
    checks:run

    Runs a fresh on-demand health check and returns the result.

    • “Re-check acme.com now”
    • “Vuelve a comprobar acme.com”
    acknowledge_alert
    writes
    alerts:write

    Acknowledges or resolves an alert you've already handled. Alerts only a person can close — DNS changes, DKIM rotation reminders (DKIM: a digital signature that proves an email really came from you), sending-source alerts — are closed in MailGuard, never by the assistant.

    • “Acknowledge the blacklist alert”
    • “Marca como visto ese alert”
    answer_dns_change_alert
    you confirm in MailGuard
    alerts:write

    "Did you make these DNS changes?" is something only a person can answer. Your assistant gets a link (one per domain, up to 25 changes each — or every open change of a domain at once); the person who created the API key opens it in MailGuard and answers there. Nothing is recorded until they do.

    • “That DNS change was us”
    • “Sí, ese cambio lo hicimos nosotros”
    lookup_domains
    checks:run

    Looks up 1–10 domains you do NOT own (a supplier, a customer, a prospect): DMARC, SPF (the list of servers allowed to send email for your domain), DKIM, mail provider, blocklists (public spam lists that mail providers check before accepting email) and who sends for the domain. Nothing is saved. One credit per domain from your credit balance; a domain that could not be measured at all is not charged.

    • “Is acme-supplier.com protected against spoofing?”
    • “¿Quién envía correo por proveedor-ejemplo.com?”
    verify_message
    messages:verify

    Checks whether an email really comes from the domain it claims, from the technical data the local extractor prints — the message never leaves your machine. Verdict with evidence; credits only when the verdict is determinate.

    • “Is this email really from my bank?”
    • “¿Este correo es de verdad de mi proveedor?”
    decode_bounce
    messages:verify

    Explains why an email bounced from its error codes and reply line (addresses removed): cause, who it depends on, steps, and whether MailGuard can fix it. Unrecognized replies are never guessed; credits only when the cause is recognized.

    • “Why did my email bounce with 550 5.7.26?”
    • “¿Por qué me devuelven los correos?”
    lookup_sending_ips
    checks:run

    Identifies who sends from 1 to 20 IP addresses: reverse DNS name, the provider in MailGuard's catalogue and how sure (forward-confirmed, inside the provider's SPF ranges, or name only). Unknown IPs are never guessed. One credit per IP.

    • “Who sends from 209.85.220.41?”
    • “¿De quién es esta IP que aparece en mi informe DMARC?”
    analyze_dmarc_report
    checks:run

    Reads one DMARC aggregate report you have (the daily reports mail providers send about who sent email as your domain) (XML or the .zip/.gz attachment): totals with the DMARC verdict and the sources by IP with their provider. Read in memory, never saved. One credit per report.

    • “What does this DMARC report say?”
    • “¿Qué dice este informe DMARC que me ha llegado?”
    check_bimi_logo
    checks:run

    Checks a BIMI logo (BIMI: your logo shown next to your emails in inboxes that support it) (the SVG, or a domain's published one) against the format BIMI requires, and its mark certificate's validity. Nothing is saved. One credit per check.

    • “Is my BIMI logo valid?”
    • “¿Mi logo BIMI cumple el formato?”
    create_audit_report
    checks:run

    Creates a branded audit report (PDF) on domains you do not own: how well each is protected against impersonation, in plain language, from public DNS only, plus the table of each one's main finding. Credits per domain.

    • “Make an audit report for prospect.com”
    • “Hazme un informe de auditoría de estos dominios para un cliente”
    check_sender
    checks:run

    Before paying an invoice: is the sender one of your own or watched domains, a look-alike of one (and how), or unknown — and when was its domain registered? A warning sign, not proof of fraud. One credit per check.

    • “Is billing@acme-invoices.com really my supplier Acme?”
    • “¿Este correo de factura viene de verdad de mi proveedor?”

    Smart tools
    23 · Pro+

    list_domains_by_issue
    domains:read

    Finds every domain with a specific problem (blacklisted, SPF over 10 lookups, DKIM missing, DMARC at p=none (watch only: fake email is still delivered), no RUA yet…), worst-first.

    • “Which of my domains have SPF problems?”
    • “¿Qué dominios están en una blacklist?”
    list_domains_by_tag
    domains:read

    Lists the domains carrying a given tag (client/group), worst-first.

    • “Show me all Acme domains”
    • “¿Qué dominios están etiquetados como Acme?”
    get_org_health_overview
    domains:read

    Whole-org rollup — healthy vs needs-attention, issue breakdown, open alerts, top concerns. The right place to start for fuzzy questions.

    • “Are my domains OK?”
    • “¿Está todo bien en mi organización?”
    simulate_dmarc_progression
    domains:read

    Dry-runs a stricter DMARC policy from real RUA history and reports how much legitimate mail would be blocked, with the riskiest sources.

    • “Is it safe to move acme.com to quarantine?”
    • “¿Puedo avanzar a p=reject sin romper nada?”
    diagnose_deliverability_issue
    domains:read

    Cross-references every stored signal (DMARC, blacklist, DKIM, SPF, MX, DNSSEC, forwarding/ARC) into a ranked, confidence-scored diagnosis of why mail isn't landing.

    • “My emails aren't arriving — what's going on?”
    • “¿Por qué mis correos caen en spam?”
    list_recent_dns_changes
    domains:read

    Recent DNS changes across your domains, each graded on its effect (a weakening is critical, a change MailGuard applied itself is info) and classified.

    • “What DNS changed this week?”
    • “¿Alguien tocó mis registros?”
    list_scheduled_dns_changes
    domains:read

    Your pending DNS-change queue (the /app/changes surface), leading with failed applies that need attention.

    • “What DNS changes do I have scheduled?”
    • “¿Hay cambios DNS pendientes?”
    list_top_failing_senders
    domains:read

    The source IPs / services with the worst DMARC pass-rate across your whole portfolio.

    • “Who's hurting my deliverability?”
    • “¿Qué servicios están fallando autenticación?”
    get_inbox_placement_summary
    domains:read

    Per-receiver auth pass-rate for a domain (Gmail, Outlook, Yahoo, Apple, Other) from RUA data.

    • “Are my emails landing at Gmail?”
    • “¿Llego bien a Outlook?”
    list_dkim_keys_due_for_rotation
    domains:read

    Active DKIM keys overdue or coming up for rotation, worst-first.

    • “Which DKIM keys should I rotate?”
    • “¿Qué claves DKIM están vencidas?”
    list_typosquat_matches
    domains:read

    Lookalike / typosquat domains targeting your brand, with confirmed-phishing flags.

    • “Any phishing domains targeting me?”
    • “¿Hay dominios suplantando los míos?”
    list_subdomain_takeover_risks
    domains:read

    Dangling subdomains pointing to abandoned providers an attacker could reclaim, critical-first.

    • “Any subdomain takeover risks?”
    • “¿Hay riesgos de toma de subdominios?”
    list_active_webhook_integrations
    domains:read

    Your outbound Slack/Teams/Discord/webhook integrations and their firing health (secrets never exposed).

    • “What webhooks do I have wired up?”
    • “¿Qué integraciones de alerta tengo?”
    list_stale_domains
    domains:read

    Domains the monitoring cron hasn't checked recently, or that never had a first check.

    • “Which domains haven't been checked recently?”
    • “¿Qué dominios no se han revisado?”
    list_protocol_coverage
    domains:read

    Deployment status of a second-layer protocol (MTA-STS: makes sure email sent to you travels encrypted; TLS-RPT: reports that tell you when email to you could not travel encrypted; or BIMI) across your domains.

    • “Which domains are missing MTA-STS?”
    • “¿Tengo el logo de marca (BIMI) configurado?”
    recommend_protocols
    domains:read

    Ranks which protocols are worth setting up on ONE domain by how much that domain actually needs each — and reassures about the ones it doesn't.

    • “What should I set up for acme.com?”
    • “¿Qué me falta configurar en este dominio?”
    list_recent_remediation_reports
    domains:read

    Recent AI remediation reports Olivio generated for your domains.

    • “What did Olivio recommend last week?”
    • “¿Qué recomendaciones de IA tengo?”
    list_recent_checks
    domains:read

    Check history for one domain with the score per scan and its trend.

    • “Show the last few checks for acme.com”
    • “¿Cómo ha evolucionado el score?”
    list_org_team_members
    domains:read

    Your teammates in the org with role and activity — who can triage what.

    • “Who's on my team?”
    • “¿Quién hay en mi equipo?”
    list_client_contacts
    domains:read

    Your client-contact directory — the recipients of informational (never alert) emails.

    • “Who are my client contacts?”
    • “¿Qué contactos tengo configurados?”
    list_compliance_status
    domains:read

    Whether each domain meets the Google & Yahoo 2024 bulk-sender rules, leading with the single most-common gap.

    • “Are my domains ready for Gmail and Yahoo?”
    • “¿Qué dominios no cumplen?”
    check_spf_lookup_budget
    domains:read

    How many DNS lookups each domain's SPF costs a receiving server and whether it breaks the limit of 10 — over it, SPF silently fails. Read-only: the fix is applied in MailGuard.

    • “Is my SPF over the lookup limit?”
    • “¿Me he pasado del límite de consultas SPF?”
    check_managed_compatibility
    domains:read

    Whether MailGuard can manage (host) one domain's email-security records, and what to do first when it can't — for example deleting a duplicate DMARC record. Read-only: switching happens in MailGuard, by an owner or admin.

    • “Can MailGuard manage example.com?”
    • “¿Puede MailGuard gestionar mi dominio?”

    Security

    • Org isolation. The organization is taken from your API key, never from tool arguments. Any org_id / api_key_id the model tries to pass is stripped before the tool runs.
    • Least privilege. A tool only runs if your key carries both mcp:basic/mcp:smart and the underlying resource scope. Grant read-only keys to read-only assistants.
    • Revocable & audited. Revoke a key from Settings and it stops working immediately. Every call is logged with your org, the tool name and latency.