Pixelworlds/opnsense-mcp-server ? reverse-engineered prompt
Reverse engineered prompt
Build me a modular MCP server for managing an OPNsense firewall from AI assistants like Claude or Cursor.
I want it to connect to an OPNsense API using a URL, API key, and secret, then expose the firewall features as a smaller set of grouped tools instead of a huge messy list. It should cover the main OPNsense areas like core system status, firewall rules and aliases, interfaces, diagnostics, authentication, firmware, DNS, DHCP, and VPN, and it should optionally include plugin support too.
Please make it type safe and easy to run from the command line or as an MCP server, with simple environment based config and a way to turn SSL verification off for local testing. It would be great if the tools are organized by module so they are easier to discover and use from an AI chat. If you need to check anything, look up the current docs online.
Are you gonna build this?
make sure you review the code using coderabbit