controld-mcp
Control D MCP
会話によって Control D を安全に管理するためのローカル Model Context Protocol サーバーです。
プロファイルとエンドポイントの確認、最近ブロックされた DNS クエリの診断、プロファイルの一時停止、ブロック/バイパス/リダイレクトルールの作成、ルールの削除ができます。ライブのポリシー変更にはすべて confirm: true が必要で、変更後には読み戻しチェックが行われます。
セットアップ
Node.js 20 以降と、Control D 専用の 書き込み トークンが必要です。可能であれば、Control D でトークンを信頼できる送信元 IP に制限してください。
npm install
npm run testトークンを ~/.config/controld-mcp.env に置き(このリポジトリには絶対に置かないでください)、ファイルモードを 0600 に設定します:
CONTROL_D_API_TOKEN=your-dedicated-write-tokenCodex 設定の例:
[mcp_servers.controld]
command = "/absolute/path/to/node"
args = ["/absolute/path/to/controld-mcp/dist/index.js"]サーバーを追加したら MCP ホストを再起動します。 MCP プロセスはトークンなしでも起動できますが、トークンが存在してホストが再起動されるまで、ツールはセットアップエラーを返します。
Related MCP server: technitium-mcp-secure
一般的な流れ
「Control D のプロファイルを表示して。」
「example.com にアクセスしようとしたんだけど、直近5分で何がブロックされた?」
クエリのタイムスタンプと、各ブロックのトリガーとなったルール/フィルタを確認します。
「Global で
cdn.example.netの一時的なバイパスを30分間作成して。」アシスタントは正確な提案ミューテーションを表示し、確認付き書き込みツールを呼び出す前に承認を求めます。
ルーティングの場合: まずプロキシロケーションを一覧表示し、次に正確なドメインルールまたは正確なロケーション ID を持つ名前付きサービスをリダイレクトします。YouTube などのサービスは多くの変化するドメインを含む可能性があるため、set_service_policy を使用する方が、ホスト名を手動で管理するよりも通常は安全です。
セキュリティ設計
汎用の HTTP/API パススルーツールはありません。
API および分析ホストは Control D に制限されています。
トークンは実行時に読み込まれ、返されたりログに記録されたりすることはありません。
アクティビティログのリクエストは 200 行に制限され、キャッシュされることはありません。
書き込みには正確なプロファイル解決と
confirm: trueが必要です。ワイルドカードよりも正確なドメインを優先します。何かをブロック解除する前に結果を検査してください。
API の安定性
Control D は API がバージョン管理されていないと警告しています。アクティビティログといくつかの管理操作は、公開 API リファレンスにすべてが含まれているわけではないため、現在のファーストパーティダッシュボード契約を使用しています。docs/api-contracts.md を参照してください。
謝辞
エンドポイントの動作は、Control D の公式ダッシュボードとコミュニティの Control D Manager Home Assistant integration に対して相互検証されました。このプロジェクトは独立した実装です。
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for managing AdGuard Home instances and AdGuardHome Sync with 33 tools across read, safe-write, and destructive operations, featuring three-tier write gating.152MIT
- AlicenseAqualityDmaintenanceA security-hardened MCP server for managing Technitium DNS Server via its HTTP API, offering tools for DNS zones, records, blocking, cache, settings, and diagnostics.39MIT
- AlicenseDqualityDmaintenanceMCP server for Porkbun domains and DNS, enabling read-only and mutating operations with safety features like dry-run and write mode toggle.40443MIT
- AlicenseNot gradedqualityAmaintenanceMCP server for AI agents to safely manage Cloudflare DNS, DMARC, SPF, BIMI, and Email Routing with dry-run-first and approval-based writes.7MIT
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SwaggyMike/controld-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server