OPNsense icon

OPNsense

Provides OPNsense API functionality through a Model Context Protocol (MCP) interface, enabling interactive network and system management.

About

The OPNsense server acts as a bridge, exposing the powerful OPNsense firewall and router API capabilities to MCP-compatible clients, such as AI-powered IDEs, via JSON-RPC over stdio. Instead of traditional HTTP REST endpoints, it offers a secure and efficient way to query and manage OPNsense data, including network information like ARP and DHCP tables, system status, firewall rules, and LLDP neighbors. This allows developers and network administrators to interact with their OPNsense instances using natural language queries within supported environments, streamlining diagnostics and operational tasks.

Key Features

  • Integrates with Cursor IDE and other MCP-compatible IDEs
  • Accesses OPNsense network data (ARP, DHCP, LLDP)
  • Exposes OPNsense API via MCP (JSON-RPC over stdio) interface
  • Retrieves OPNsense system status and firewall rules
  • Utilizes JWT-based authentication for secure operations
  • 3 GitHub stars

Use Cases

  • Integrate OPNsense network data into development environments for real-time insights
  • Perform interactive network diagnostics and queries through AI chat interfaces
  • Automate retrieval of OPNsense system status, DHCP leases, and firewall rules for reporting
OPNsense MCP Server: Interactive Network & System API