The opnsense MCP server provides AI agents with tools to manage OPNsense firewall configurations. It exposes 88 tools that cover 2000+ methods for firewall rule management, interface configuration, and system monitoring. The server connects directly to OPNsense's API, allowing agents to automate firewall tasks. Developers use it to build AI-driven network security solutions, automate firewall rule updates, and monitor network traffic in real-time.
The opnsense MCP server provides AI agents with tools to manage OPNsense firewall configurations. It exposes 88 tools that cover 2000+ methods for firewall rule management, interface configuration, and system monitoring. The server connects directly to OPNsense's API, allowing agents to automate firewall tasks. Developers use it to build AI-driven network security solutions, automate firewall rule updates, and monitor network traffic in real-time.
npx -y @richard-stovall/opnsense-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"pixelworlds-opnsense-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y @richard-stovall/opnsense-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from opnsense?"
API Key Required
This server requires an API key from opnsense. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| OPNSENSE_API_KEY | Yes | Your opnsense API key |
"What resources are available in opnsense?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in opnsense"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in opnsense with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.