MxToolbox MCP server for AI agents

Live

API KEY

DNS DIAGNOSTICS

Developer Tools

MxToolbox gives your agent DNS and email deliverability checks in your MxToolbox account: look up MX, SPF, DKIM, and DMARC records, check blacklists, run any SuperTool lookup, and read monitors and API usage.

  • Per-user credentials: each call uses the actual user's API key, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
MxToolbox
agent · Acme Q3
Run
Check the DMARC policy for example.com.
S
mxtoolbox_lookup_dmarc
640ms
Email deliverability agent
example.com has a DMARC record published. I returned the policy and the lookup result with any warnings.
Sources: MxToolbox DMARC lookup, 1 domain
mxtoolbox
1 lookup
18:29
Message Claude...

Tools your dns diagnostics agent reaches for on MxToolbox, scoped per user.

CALL ANY TOOL
11 tools for DNS diagnostics in MxToolbox: look up MX, SPF, DKIM, DMARC, and DNS records, check blacklists, and read monitors, monitor tags, and API usage.
mxtoolbox_lookup
Lookup
Run any MxToolbox SuperTool lookup (DNS records, email authentication, blacklists or network tests) on a domain or IP address. Returns the lookup result: Command, CommandArgument, TimeRecorded, ReportingNameServer, TimeToComplete and the Failed, Warnings, Passed and Timeouts check lists (each item has ID, Name, Info and Url). Use this for commands without a dedicated tool (a, aaaa, ptr, soa, txt, bimi, mta-sts, tlsrpt, asn, arin, http, https, ping, smtp, tcp, trace). DNS commands use the DNS quota; blacklist, http, https, ping, smtp, tcp and trace use the network quota, which is 0 on free plans.
Parameters
Name
Type
Required
Description
argument
string
Required
Domain name or IP address to look up. For dkim use domain:selector, for example example.com:default; for ptr use an IP address. Example: example.com.
command
string
Required
Lookup type to run. DNS: a, aaaa, asn, bimi, dkim, dmarc, dns, mta-sts, mx, ptr, soa, spf, tlsrpt, txt. Network (paid quota): blacklist, http, https, ping, smtp, tcp, trace. arin looks up IP ownership. Example: txt. One of: `a`, `aaaa`, `arin`, `asn`, `bimi`, `blacklist`, `dkim`, `dmarc`, `dns`, `http`, `https`, `mta-sts`, `mx`, `ping`, `ptr`, `smtp`, `soa`, `spf`, `tcp`, `tlsrpt`, `trace`, `txt`.
port
string
Optional
Port for the lookup, required by tcp (for example 443) and optional for http, https and smtp. Example: 443.
mxtoolbox_lookup_blacklist
Lookup blacklist
mxtoolbox_lookup_dkim
Lookup dkim
mxtoolbox_lookup_dmarc
Lookup dmarc
mxtoolbox_lookup_dns
Lookup dns
mxtoolbox_lookup_mx
Lookup mx
mxtoolbox_lookup_spf
Lookup spf
mxtoolbox_monitor_get
Get monitor
mxtoolbox_monitor_tags_list
List monitor tags
mxtoolbox_monitors_list
List monitors
mxtoolbox_usage_get
Get usage
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// MxToolbox tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mxtoolbox"], toolNames: [
    "mxtoolbox_lookup_dmarc",
    "mxtoolbox_lookup_spf",
    "mxtoolbox_lookup_blacklist"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Check the DMARC and SPF records for example.com and tell me if its mail server is on a blacklist" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mxtoolbox"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Check the DMARC and SPF records for example.com and tell me if its mail server is on a blacklist" }],
  tools,
});

// Execute the tool call with the user's vaulted MxToolbox API key
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mxtoolbox"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Check the DMARC and SPF records for example.com and tell me if its mail server is on a blacklist" }],
  tools,
});

// Tool call runs with the user's vaulted MxToolbox API key
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["mxtoolbox"] }, pageSize: 100,
});

const agent = new Agent({
  name: "email_deliverability_agent",
  model: "gemini-2.5-pro",
  instruction: "MxToolbox tools scoped to this user",
  tools,
});

await agent.run("Check the DMARC and SPF records for example.com and tell me if its mail server is on a blacklist");
Try these prompts
Copy any prompt into your agent. Each maps directly to a MxToolbox tool. Click to copy, paste into your agent, done.
Email authentication
Copy the prompt
Copied
Check the SPF record for example.com.
Copy the prompt
Copied
Look up the DKIM record for example.com with selector google.
Copy the prompt
Copied
Check the DMARC policy for example.com.
Blacklists and DNS
Copy the prompt
Copied
Is 203.0.113.10 on any email blacklists?
Copy the prompt
Copied
Look up the MX servers for example.com.
Copy the prompt
Copied
Run a DNS health check on example.com.
Monitors and usage
Copy the prompt
Copied
List my monitors and show which ones are failing.
Copy the prompt
Copied
Show the tags on my monitor for example.com.
Copy the prompt
Copied
How much of my daily API quota have I used?
SEE HOW AUTH WORKS
Each user connects their own MxToolbox API key once, and Scalekit sends it with every call. Keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
MxToolbox
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
MxToolbox
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
MxToolbox
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
MxToolbox
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other developer tools connectors.
Engineering Teams
DevOps assistant agent
Polls GitHub for failing checks and stale PRs, opens Linear issues for the ones that need work, and posts a daily digest to Slack. It acts as the engineer, not a shared service account.
Test other agents
See the same per-user auth pattern across other developer tools connectors.
ENGINEERING
DevOps assistant agent
Poll GitHub for failing checks and stale pull requests, open Linear issues for the ones that need work, and digest to Slack.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared MxToolbox API key looks fine in a demo. In production every lookup looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared key
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
MxToolbox today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access MxToolbox as the user or through a shared key?
As the user. Each user connects their own MxToolbox API key once, and Scalekit sends it with every call. Audit logs attribute every lookup to that user, not a shared service account.
Where is the MxToolbox API key stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new API key. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in MxToolbox?
Yes. All 11 tools are read-only, so the agent can run lookups and read monitors but cannot change anything in your MxToolbox account. Filter by tool name in listScopedTools to expose only what you want, for example the record lookups without mxtoolbox_monitors_list. Scalekit also enforces scope checks before every API call.
What happens when a user revokes MxToolbox access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Which checks can the agent run on a domain?
mxtoolbox_lookup_mx, mxtoolbox_lookup_spf, mxtoolbox_lookup_dkim, mxtoolbox_lookup_dmarc, and mxtoolbox_lookup_dns return the record checks, and mxtoolbox_lookup_blacklist checks a domain or IP address against major email blacklists. mxtoolbox_lookup runs any other SuperTool lookup, and mxtoolbox_usage_get shows your API usage against your plan limits.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""mxtoolbox"": {
""url"": ""https://mcp.scalekit.com/mxtoolbox"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.mxtoolbox]
url = ""https://mcp.scalekit.com/mxtoolbox""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""mxtoolbox"": {
""url"": ""https://mcp.scalekit.com/mxtoolbox"",
""type"": ""http""
}
}
}