OPNsense icon

OPNsense

Manages OPNsense firewalls by enabling natural language interaction through MCP-compatible AI clients via the OPNsense API.

Acerca de

This project offers a Python server application that implements Anthropic's Model Context Protocol (MCP), allowing AI models like Claude Desktop to securely connect to and utilize OPNsense's comprehensive API. This locally running server listens for requests from MCP clients, translates them into the appropriate OPNsense API calls, and returns the results. It empowers users to manage their firewall infrastructure using natural language, moving beyond traditional web interfaces or direct API interactions. By acting as a secure bridge, it gives AI models the capability to take action on real-world systems, enhancing automation and operational efficiency for OPNsense firewalls.

Características Principales

  • Firewall rule and alias management
  • Full access to OPNsense API functionality
  • Network interface and system health monitoring
  • DHCP lease and service management
  • Basic firewall security audit
  • 7 GitHub stars

Casos de Uso

  • Configure and manage OPNsense firewall settings using natural language through an AI client.
  • Monitor OPNsense system status, network interfaces, and active VPN connections.
  • Automate the addition, modification, or deletion of firewall rules and network aliases.