loading…
Search for a command to run...
loading…
MCP server for managing Defined Networking infrastructure through API tools. It enables network administration including host management, firewall rules, tags,
MCP server for managing Defined Networking infrastructure through API tools. It enables network administration including host management, firewall rules, tags, and network configuration with Claude Code integration for interactive network design and auditing.
MCP server for the Defined Networking API.
uv tool install git+https://github.com/quickvm/defined-mcp.git
To install a specific version or branch:
uv tool install git+https://github.com/quickvm/defined-mcp.git@main
For local development:
git clone [email protected]:quickvm/defined-mcp.git
cd defined-mcp
uv tool install --editable .
Set the DEFINED_API_KEY environment variable to your Defined Networking API key.
Get one from your admin panel.
export DEFINED_API_KEY=dnkey-...
claude mcp add defined_mcp -- defined-mcp serve
Then restart Claude Code.
defined-mcp check
defined-mcp serve
list_hosts — List hosts with filters (role, blocked, lighthouse, relay)get_host — Get host detailscreate_host — Create a host/lighthouse/relayupdate_host — Update a host (full replacement)delete_host — Delete a hostblock_host / unblock_host — Block/unblock a hostadd_host_tag / remove_host_tag — Add/remove a tag on a hostcreate_enrollment_code — Generate enrollment codecreate_host_and_enrollment_code — Create host + enrollment codelist_roles / get_role — List/get roles with firewall rulescreate_role / update_role — Create/update roles (full replacement)delete_role — Delete a roleadd_firewall_rule — Add a firewall rule to a role (flat params, no JSON)remove_firewall_rule — Remove a firewall rule by indexlist_tags / get_tag — List/get tagscreate_tag / update_tag — Create/update tags with config overridesdelete_tag — Delete a tagadd_tag_config_override — Add/replace a config override on a tagremove_tag_config_override — Remove a config override by keylist_networks / get_network — List/get networkscreate_network / update_network — Create/update networkslist_routes / get_route — List/get routes with firewall rulescreate_route / update_route — Create/update routes (full replacement)delete_route — Delete a routeadd_route_firewall_rule — Add a firewall rule to a routeremove_route_firewall_rule — Remove a route firewall rule by indexlist_audit_logs — Audit log with filterslist_downloads — Software download links (unauthenticated)This repo includes a Claude Code skill for interactive network management.
When you run Claude Code from this repo, the /network-architect command is
available automatically.
To use the skill from any project, copy it to your Claude Code profile:
cp -r .claude/skills/network-architect ~/.claude/skills/
/network-architect auditPerforms a security and configuration audit of your Defined Networking account. Fetches all networks, roles, tags, and hosts, then reports:
/network-architect designInteractive firewall policy design session. Asks about your services, access requirements, and segmentation needs, then proposes:
ssh:allow, identity tags like user-type:admin)/network-architect applyImplements a network design using atomic tools (add_firewall_rule,
add_host_tag, etc.). Reads current state first, shows a diff, asks for
confirmation, then verifies after applying.
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"defined-mcp": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.