defined-mcp
defined-mcp
Defined Networking API用のMCPサーバーです。
インストール
uv tool install git+https://github.com/quickvm/defined-mcp.git特定のバージョンやブランチをインストールする場合:
uv tool install git+https://github.com/quickvm/defined-mcp.git@mainローカル開発用:
git clone git@github.com:quickvm/defined-mcp.git
cd defined-mcp
uv tool install --editable .Related MCP server: UniFi MCP Server
設定
DEFINED_API_KEY環境変数にDefined NetworkingのAPIキーを設定してください。
管理パネルから取得できます。
export DEFINED_API_KEY=dnkey-...使用方法
Claude Codeへの追加
claude mcp add defined_mcp -- defined-mcp serveその後、Claude Codeを再起動してください。
接続の確認
defined-mcp checkスタンドアロンでの実行
defined-mcp serve利用可能なツール
ホスト
list_hosts— フィルター(ロール、ブロック、ライトハウス、リレー)を使用してホストを一覧表示get_host— ホストの詳細を取得create_host— ホスト/ライトハウス/リレーを作成update_host— ホストを更新(完全置換)delete_host— ホストを削除block_host/unblock_host— ホストをブロック/ブロック解除add_host_tag/remove_host_tag— ホストにタグを追加/削除create_enrollment_code— 登録コードを生成create_host_and_enrollment_code— ホストと登録コードを作成
ロールとファイアウォールルール
list_roles/get_role— ファイアウォールルールを含むロールを一覧表示/取得create_role/update_role— ロールを作成/更新(完全置換)delete_role— ロールを削除add_firewall_rule— ロールにファイアウォールルールを追加(フラットなパラメータ、JSONなし)remove_firewall_rule— インデックスでファイアウォールルールを削除
タグ
list_tags/get_tag— タグを一覧表示/取得create_tag/update_tag— 設定オーバーライドを使用してタグを作成/更新delete_tag— タグを削除add_tag_config_override— タグに設定オーバーライドを追加/置換remove_tag_config_override— キーで設定オーバーライドを削除
ネットワーク
list_networks/get_network— ネットワークを一覧表示/取得create_network/update_network— ネットワークを作成/更新
ルート
list_routes/get_route— ファイアウォールルールを含むルートを一覧表示/取得create_route/update_route— ルートを作成/更新(完全置換)delete_route— ルートを削除add_route_firewall_rule— ルートにファイアウォールルールを追加remove_route_firewall_rule— インデックスでルートファイアウォールルールを削除
その他
list_audit_logs— フィルター付きの監査ログlist_downloads— ソフトウェアダウンロードリンク(認証不要)
Claude Codeスキル
このリポジトリには、インタラクティブなネットワーク管理のためのClaude Codeスキルが含まれています。
このリポジトリからClaude Codeを実行すると、/network-architectコマンドが自動的に利用可能になります。
任意のプロジェクトからこのスキルを使用するには、Claude Codeプロファイルにコピーしてください:
cp -r .claude/skills/network-architect ~/.claude/skills//network-architect audit
Defined Networkingアカウントのセキュリティおよび構成監査を実行します。 すべてのネットワーク、ロール、タグ、ホストを取得し、以下を報告します:
不足している、または過度に寛容なファイアウォールルールを持つロール
デッドタグ(割り当てられたホストがゼロ)
タグがない、dnclientのバージョンが古い、または最終確認時刻が古いホスト
ポート/プロトコル/タグの詳細を含む、ロールごとのファイアウォールカバレッジの概要
/network-architect design
インタラクティブなファイアウォールポリシー設計セッション。サービス、アクセス要件、セグメンテーションのニーズについて質問し、以下を提案します:
ロール構造(各ホストタイプが何であるか)
タグ分類(
ssh:allowのようなアクセスタグ、user-type:adminのようなIDタグ)ANDロジック(ロール + タグ)を使用したテーブル形式のロールごとのファイアウォールルール
/network-architect apply
アトミックツール(add_firewall_rule、add_host_tagなど)を使用してネットワーク設計を実装します。最初に現在の状態を読み取り、差分を表示し、確認を求め、適用後に検証を行います。
ライセンス
This server cannot be installed
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
- AlicenseBqualityDmaintenanceAn MCP server that enables Claude to manage infrastructure across Kubernetes, Docker, Prometheus, and Terraform through natural language. It provides over 42 specialized tools with a safety-first design, including risk-based command classification and audit logging.43MIT
- AlicenseNot gradedqualityCmaintenanceMCP server providing Claude Code with full UniFi network management capabilities -- devices, clients, ports, bandwidth auditing, firewall policies, and traffic rules -- all through natural language.521MIT
- AlicenseAqualityCmaintenanceMCP server that turns Claude into a UniFi network specialist. Manage devices, optimize WiFi, audit security, and troubleshoot your network through natural language.31362MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for network operations that lets AI assistants interact with Cisco/Juniper network devices through safe, well-defined tools like compliance audits and configuration backups.MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
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/quickvm/defined-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server