vespo92/OPNSenseMCP
If you are the rightful owner of OPNSenseMCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The OPNSense MCP Server is a Model Context Protocol server designed to manage OPNsense firewalls with Infrastructure as Code capabilities, providing a comprehensive solution for network infrastructure management.
The OPNSense MCP Server is a powerful tool for managing OPNsense firewalls through a Model Context Protocol (MCP) server. It integrates seamlessly with OPNsense's API to allow users to manage VLANs, firewall rules, services, and more. By leveraging Infrastructure as Code (IaC) principles, it enables users to deploy and manage network infrastructure declaratively, ensuring consistency and repeatability. The server also includes state management features, allowing users to track resource states and perform rollbacks if necessary. With caching support through Redis and PostgreSQL, the server enhances performance and reliability. Additionally, it offers DNS blocking capabilities and configuration backup management, making it a comprehensive solution for network administrators. The server is designed to be easy to install and configure, with support for Node.js 18+ and optional integration with Redis and PostgreSQL for caching.
Features
- Complete OPNsense API Integration - Manage VLANs, firewall rules, services, and more
- Infrastructure as Code - Deploy and manage network infrastructure declaratively
- State Management - Track resource state with rollback capabilities
- Caching Support - Redis and PostgreSQL integration for performance
- DNS Blocking - Built-in DNS blocklist management
Usages
usage with Claude Desktop
{ "mcpServers": { "opnsense": { "command": "node", "args": ["dist/index.js"], "cwd": "/path/to/opnsense-mcp" } } }