DNSFilter MCP server for AI agents

Live

API KEY

DNS SECURITY

Monitoring

DNSFilter gives your agent access to your DNSFilter organizations: review networks, policies, and roaming clients, look up domain categories, query DNS logs and top-domain reports, and update policy allow and block lists.

  • 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.
DNSFilter
agent · Acme Q3
Run
Which categories does DNSFilter assign to example.com?
S
dnsfilter_domain_lookup
187ms
DNS security agent
Returned the content categories DNSFilter assigns to example.com.
Sources: DNSFilter domain lookup
dnsfilter
1 domain
18:29
Message Claude...

Tools your dns security agent reaches for on DNSFilter, scoped per user.

CALL ANY TOOL
59 tools for DNS security in DNSFilter: review networks, policies, and roaming clients, query DNS logs and traffic reports, and update policy allow and block lists.
dnsfilter_agent_local_user_get
Get agent local user
Get one local device user seen by DNSFilter roaming clients. Returns the user with name, login, policy and the devices they use. Use this for a user's details.
Parameters
Name
Type
Required
Description
id
integer
Required
Agent local user ID. Example: 12345.
dnsfilter_agent_local_users_list
List agent local users
dnsfilter_applications_list
List applications
dnsfilter_block_page_create
Create block page
dnsfilter_block_page_delete
Delete block page
dnsfilter_block_page_update
Update block page
dnsfilter_categories_list
List categories
dnsfilter_current_user_get
Get current user
dnsfilter_domain_lookup
Domain lookup
dnsfilter_ip_address_delete
Delete ip address
dnsfilter_network_create
Create network
dnsfilter_network_lookup
Network lookup
dnsfilter_networks_list
List networks
dnsfilter_organization_get
Get organization
dnsfilter_organization_update
Update organization
dnsfilter_organization_user_add
Add organization user
dnsfilter_organization_user_remove
Remove organization user
dnsfilter_organizations_list
List organizations
dnsfilter_policy_allow_domain_add
Add policy allow domain
dnsfilter_policy_allow_domain_remove
Remove policy allow domain
dnsfilter_policy_block_category_add
Add policy block category
dnsfilter_policy_block_category_remove
Remove policy block category
dnsfilter_policy_delete
Delete policy
dnsfilter_policy_permissive_mode_get
Get policy permissive mode
dnsfilter_policy_update
Update policy
dnsfilter_query_logs_list
List query logs
dnsfilter_scheduled_policies_list
List scheduled policies
dnsfilter_top_categories_get
Get top categories
dnsfilter_top_networks_get
Get top networks
dnsfilter_total_requests_get
Get total requests

For more tools, view docs.

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);

// DNSFilter tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["dnsfilter"], toolNames: [
    "dnsfilter_domain_lookup",
    "dnsfilter_policy_block_domain_add",
    "dnsfilter_top_domains_get"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Check the category of badsite.example, block it on the Office policy, and show the top requested domains this week" }] });
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: ["dnsfilter"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Check the category of badsite.example, block it on the Office policy, and show the top requested domains this week" }],
  tools,
});

// Execute the tool call with the user's vaulted DNSFilter 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: ["dnsfilter"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Check the category of badsite.example, block it on the Office policy, and show the top requested domains this week" }],
  tools,
});

// Tool call runs with the user's vaulted DNSFilter 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: ["dnsfilter"] }, pageSize: 100,
});

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

await agent.run("Check the category of badsite.example, block it on the Office policy, and show the top requested domains this week");
Try these prompts
Copy any prompt into your agent. Each maps directly to a DNSFilter tool. Click to copy, paste into your agent, done.
Policies
Copy the prompt
Copied
List my filtering policies.
Copy the prompt
Copied
Block the domain badsite.example on the Office policy.
Copy the prompt
Copied
Block the Gambling category in the Guest policy.
Traffic and threats
Copy the prompt
Copied
Show the top 10 requested domains this week.
Copy the prompt
Copied
Show the security threats blocked over the last 30 days.
Copy the prompt
Copied
Show DNS query logs for blocked requests today.
Requests and clients
Copy the prompt
Copied
List the pending unblock requests.
Copy the prompt
Copied
Allow the unblock request for docs.example.com.
Copy the prompt
Copied
Show the roaming clients with the most requests today.
SEE HOW AUTH WORKS
Each user connects their own DNSFilter API key once, and Scalekit sends it with every call. API keys stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
DNSFilter
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
DNSFilter
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
DNSFilter
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
DNSFilter
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 monitoring 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 monitoring 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 DNSFilter API key looks fine in a demo. In production every policy change 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.
DNSFilter 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 DNSFilter as the user or through a shared key?
As the user. Each user connects their own DNSFilter API key once, and Scalekit sends it with every call. Audit logs attribute every policy change to that user, not a shared service account.
Where is the DNSFilter 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 DNSFilter?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list, get, and report tools without dnsfilter_network_delete, which deletes a network so its traffic is no longer filtered, and dnsfilter_policy_delete. 6 of the 59 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes DNSFilter 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.
Can the agent act on unblock requests?
Yes. dnsfilter_unblock_requests_list lists pending requests, dnsfilter_unblock_request_get returns what is needed to decide, and dnsfilter_unblock_request_decide allows, denies, or resolves one.
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"": {
""dnsfilter"": {
""url"": ""https://mcp.scalekit.com/dnsfilter"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.dnsfilter]
url = ""https://mcp.scalekit.com/dnsfilter""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""dnsfilter"": {
""url"": ""https://mcp.scalekit.com/dnsfilter"",
""type"": ""http""
}
}
}