Ndcli

•

Provides a command-line interface and MCP server for comprehensive management of OPNsense firewall fleets, enabling both human operators and AI agents to orchestrate network security.

NDCLI is a powerful command-line interface (CLI) and Model Context Protocol (MCP) server designed for managing fleets of OPNsense firewalls with NetDefense. It allows operators to list devices, push configurations, run health checks, roll out firmware updates, manage backups, and orchestrate entire organizational units from a single command, making it fully scriptable. Crucially, NDCLI integrates an MCP server that exposes 129 tools, enabling MCP-compatible AI agents to inspect and operate your entire fleet. This integration is designed with robust security guardrails, ensuring that destructive actions require explicit confirmation, non-expiring credentials cannot be minted by agents, and sensitive secrets never enter the AI-facing toolset, providing a safe environment for AI-driven network management.

主な機能

010 GitHub stars
02Integrated security guardrails preventing unauthorized destructive actions by AI agents.
03MCP server with 129 exposed tools for AI agent-driven fleet operations.
04Secure communication with Ed25519-signed commands and agent-side outbound-only TLS connections.
05Comprehensive fleet management for OPNsense firewalls via CLI.
06End-to-end scriptability for all fleet management tasks without a web app.

ユースケース

01Orchestrating OPNsense firewall fleets from a centralized command-line interface.
02Automating tasks like configuration deployment, firmware rollouts, health monitoring, and backups across multiple firewalls.
03Safely enabling AI agents to manage, inspect, and operate entire organizational units or firewall fleets.