Control D MCP server for AI agents

Live

BEARER TOKEN

DNS FILTERING

Developer Tools

Control D gives your agent DNS filtering control in your Control D account: manage profiles, filters, and custom rules, block or redirect services, create and update endpoints, set restrictions, and review network status.

  • Per-user credentials: each call uses the actual user's access token, 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.
Control D
agent · Acme Q3
Run
Block TikTok on the Kids profile.
S
controld_profile_service_set
290ms
DNS filtering agent
TikTok is now blocked on the Kids profile. Queries for that service on every endpoint using the profile will be denied.
Sources: Control D Kids profile, 1 service rule
controld
1 rule
18:29
Message Claude...

Tools your DNS filtering agent reaches for on Control D, scoped per user.

CALL ANY TOOL
46 tools for DNS filtering in Control D: list and edit profiles, filters, and custom rules, block or redirect services, manage endpoints and restrictions, and check network status.
controld_account_get
Get account
Get the Control D account the API token belongs to. Returns the user's ID, email, plan, status and settings. Run it first to confirm the connection.
Parameters
Name
Type
Required
Description
—
No parameters required
controld_analytics_levels_list
List analytics levels
controld_analytics_regions_list
List analytics regions
controld_device_create
Create device
controld_device_delete
Delete device
controld_device_ips_add
Add device ips
controld_device_ips_remove
Remove device ips
controld_device_types_list
List device types
controld_device_update
Update device
controld_devices_list
List devices
controld_internal_domain_create
Create internal domain
controld_internal_domain_delete
Delete internal domain
controld_internal_domain_update
Update internal domain
controld_ip_get
Get ip
controld_network_stats_get
Get network stats
controld_profile_default_rule_set
Set profile default rule
controld_profile_external_filters_list
List profile external filters
controld_profile_filter_set
Set profile filter
controld_profile_folder_create
Create profile folder
controld_profile_folder_delete
Delete profile folder
controld_profile_folders_list
List profile folders
controld_profile_option_set
Set profile option
controld_profile_options_list
List profile options
controld_profile_restriction_disable
Disable profile restriction
controld_profile_restriction_set
Set profile restriction
controld_profile_rules_list
List profile rules
controld_profile_rules_update
Update profile rules
controld_profiles_list
List profiles
controld_proxies_list
List proxies
controld_service_categories_list
List service categories

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

// Control D tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["controld"], toolNames: [
    "controld_profiles_list",
    "controld_profile_filter_set",
    "controld_profile_service_set"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "List my profiles, enable the malware filter on the Kids profile, and block tiktok on it" }] });
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: ["controld"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "List my profiles, enable the malware filter on the Kids profile, and block tiktok on it" }],
  tools,
});

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

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "List my profiles, enable the malware filter on the Kids profile, and block tiktok on it" }],
  tools,
});

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

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

await agent.run("List my profiles, enable the malware filter on the Kids profile, and block tiktok on it");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Control D tool. Click to copy, paste into your agent, done.
Profiles and filters
Copy the prompt
Copied
List my DNS filtering profiles.
Copy the prompt
Copied
Show the native filters enabled on the Kids profile.
Copy the prompt
Copied
Enable the malware filter on this profile.
Rules and services
Copy the prompt
Copied
Block tiktok on the Kids profile.
Copy the prompt
Copied
Create a custom rule that redirects this hostname.
Copy the prompt
Copied
List the custom rules in the root folder of this profile.
Endpoints
Copy the prompt
Copied
List my endpoints and the profiles they use.
Copy the prompt
Copied
Create an endpoint for the home router using the Kids profile.
Copy the prompt
Copied
Show Control D network location status.
SEE HOW AUTH WORKS
Each user connects their own Control D access token once; Scalekit sends it with every call. Tokens stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Control D
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
Control D
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
Control D
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
Control D
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 and 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.
Engineering Teams
Slack triage
Polls Slack for new messages, classifies bugs and support requests with a LangGraph router, files GitHub issues or Zendesk tickets, and confirms in the thread.
Test other agents
See the same per-user auth pattern across other developer tools and 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.
ENGINEERING
Slack triage agent
Classify new Slack messages as bugs or support requests, file the GitHub issue or Zendesk ticket, and reply in the thread.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Control D access token looks fine in a demo. In production every rule and profile 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 token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Control D 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 Control D as the user or through a shared key?
As the user. Each user connects their own Control D access token once, and Scalekit sends it with every call. Audit logs attribute every rule and profile change to that user, not a shared service account.
Where is the Control D access token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. To rotate it, the user reconnects with a new access token. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Control D?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the list tools without controld_profile_delete, controld_device_delete, and controld_profile_rule_delete. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Control D 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 block or redirect specific services and hostnames?
Yes, if you expose the write tools. controld_profile_service_set blocks, bypasses, spoofs, or redirects a service such as tiktok or netflix on a profile, and controld_profile_rules_create does the same for custom hostnames.
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"": {
""controld"": {
""url"": ""https://mcp.scalekit.com/controld"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.controld]
url = ""https://mcp.scalekit.com/controld""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""controld"": {
""url"": ""https://mcp.scalekit.com/controld"",
""type"": ""http""
}
}
}