Control-D MCP Server — DNS filtering, privacy profiles, and device management
Project description
controld-blade-mcp
MCP server for Control-D DNS filtering and privacy management. 22 tools covering profiles, filters, services, custom rules, devices, and analytics.
Install
uv sync
Configure
| Env var | Required | Description |
|---|---|---|
CONTROLD_API_KEY |
Yes | API token from controld.com/dashboard/api |
CONTROLD_WRITE_ENABLED |
No | Set true to enable write operations (default: false) |
CONTROLD_MCP_TRANSPORT |
No | stdio (default) or http |
CONTROLD_MCP_HOST |
No | HTTP bind address (default: 127.0.0.1) |
CONTROLD_MCP_PORT |
No | HTTP port (default: 8767) |
CONTROLD_MCP_API_TOKEN |
No | Bearer token for HTTP transport auth |
Usage
Claude Code
{
"mcpServers": {
"controld": {
"command": "uv",
"args": ["run", "--directory", "/path/to/controld-blade-mcp", "controld-blade-mcp"],
"env": {
"CONTROLD_API_KEY": "your-api-key"
}
}
}
}
Sidereal
Automatically configured via pack system. See sidereal-plugin.yaml.
Tools (22)
Read (12)
| Tool | Description |
|---|---|
cd_info |
Account info + caller IP (health check) |
cd_network |
Service availability across PoPs |
cd_profiles |
List all profiles |
cd_profile |
Single profile detail with options |
cd_filters |
Native + external filters (merged) |
cd_services |
Active service rules |
cd_service_catalog |
Full service catalog (cached 1hr) |
cd_rules |
Custom DNS rules by folder |
cd_default_rule |
Catch-all rule status |
cd_devices |
All DNS endpoints |
cd_access |
IPs querying a device |
cd_analytics_config |
Log levels + storage regions |
Write (10, gated)
| Tool | Gate | Description |
|---|---|---|
cd_profile_create |
write | Create profile |
cd_profile_update |
write | Update profile settings |
cd_filters_update |
write | Toggle filters (single or batch) |
cd_service_update |
write | Set service rule |
cd_rule_create |
write | Create custom rule(s) |
cd_rule_update |
write | Update custom rule(s) |
cd_rule_delete |
write+confirm | Delete custom rule |
cd_default_rule_set |
write | Set default rule |
cd_device_create |
write | Create DNS endpoint |
cd_device_update |
write | Update device settings |
cd_access_update |
write+confirm | Authorize/deauthorize IPs |
Development
make install-dev # Install with dev dependencies
make test # Run unit tests
make check # Lint + format check + type check
make test-cov # Tests with coverage
Token Efficiency
Responses use compact pipe-delimited format. Typical costs:
| Operation | ~Tokens |
|---|---|
cd_info |
~40 |
cd_profiles (5 profiles) |
~150 |
cd_rules (20 rules) |
~500 |
cd_devices (10 devices) |
~200 |
Licence
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file controld_blade_mcp-0.2.1.tar.gz.
File metadata
- Download URL: controld_blade_mcp-0.2.1.tar.gz
- Upload date:
- Size: 99.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d7b3a1e88a1349952a663b692b13b043f9e0601b6c9934a36ef4d4c3ce39b5c
|
|
| MD5 |
753e83bb19a74652fa86515c975643a1
|
|
| BLAKE2b-256 |
f0a4a84d87f06ac138ae16e9ceef7edc9bbcc4d70d7de5b4c8f46829976e677b
|
Provenance
The following attestation bundles were made for controld_blade_mcp-0.2.1.tar.gz:
Publisher:
publish.yml on Groupthink-dev/controld-blade-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
controld_blade_mcp-0.2.1.tar.gz -
Subject digest:
1d7b3a1e88a1349952a663b692b13b043f9e0601b6c9934a36ef4d4c3ce39b5c - Sigstore transparency entry: 1396172138
- Sigstore integration time:
-
Permalink:
Groupthink-dev/controld-blade-mcp@ec7fedfda6c4c0367cf329f8e3c56aab51799d92 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Groupthink-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec7fedfda6c4c0367cf329f8e3c56aab51799d92 -
Trigger Event:
push
-
Statement type:
File details
Details for the file controld_blade_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: controld_blade_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6348e08ce94a110a5faf11fbe417995802f444e34e68ecca6859c4c2cfa7bd42
|
|
| MD5 |
80842d4ba8aa8fa3205a7726ee26cefb
|
|
| BLAKE2b-256 |
0b952e4e3d095eab7f3e2087fc18c6e377ce192505b136a3d4967b48b1dea508
|
Provenance
The following attestation bundles were made for controld_blade_mcp-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on Groupthink-dev/controld-blade-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
controld_blade_mcp-0.2.1-py3-none-any.whl -
Subject digest:
6348e08ce94a110a5faf11fbe417995802f444e34e68ecca6859c4c2cfa7bd42 - Sigstore transparency entry: 1396172147
- Sigstore integration time:
-
Permalink:
Groupthink-dev/controld-blade-mcp@ec7fedfda6c4c0367cf329f8e3c56aab51799d92 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/Groupthink-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ec7fedfda6c4c0367cf329f8e3c56aab51799d92 -
Trigger Event:
push
-
Statement type: