ADD OPNSense MCP Server#2086
Closed
vespo92 wants to merge 3 commits intomodelcontextprotocol:mainfrom
Closed
Conversation
### What it does: - Provides programmatic control over OPNsense firewalls - Enables Infrastructure as Code for network management - Integrates with Claude Desktop for AI-assisted network configuration ### Key Features: - VLAN and interface management - Firewall rule configuration - DNS blocklist management - State tracking and rollback - Configuration backup/restore
olaservo
approved these changes
Jun 17, 2025
Member
|
Thanks for your contribution to the servers list. This has been merged in this combined PR: #2143 This is a new process we're trying out, so if you see any issues feel free to re-open the PR and tag me. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add OPNsense MCP Server
Description
Adds OPNsense MCP server to enable firewall and network management through LLM interfaces with Infrastructure as Code capabilities.
Server Details
Server: https://github.com/vespo92/OPNSenseMCP
Motivation and Context
This MCP server enables LLMs to interact with OPNsense firewalls, allowing users to manage their network infrastructure through natural language. Users can:
The server provides a secure, API-based integration that makes network administration more accessible while maintaining security best practices. It's designed as part of a larger vision for AI-assisted home infrastructure automation.
How Has This Been Tested?
✅ Tested with Claude Desktop on Windows 10/11, macOS, and Linux
✅ Verified with OPNsense 24.x versions
✅ Tested all core functions: VLAN management, firewall rules, DNS blocking, device discovery
✅ Infrastructure as Code deployment tested with complex network scenarios
✅ Connection test scripts included (
npm run test:api)✅ Error handling tested with invalid credentials, network failures, and resource conflicts
✅ Performance tested with Redis and PostgreSQL caching layers
✅ Production use in home network environment for 3+ months
Types of changes
Checklist
Additional Information
Key Features
Security Considerations
Future Roadmap
This server is the foundation for a larger ecosystem of home infrastructure MCP servers, with planned integrations for:
Example Usage