OPNsense MCP Server
OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@itunified.io/mcp-opnsenseclaude mcp add opnsense-mcp-server -e 'OPNSENSE_URL=<OPNSENSE_URL>' -e 'OPNSENSE_API_KEY=<OPNSENSE_API_KEY>' -e 'OPNSENSE_API_SECRET=<OPNSENSE_API_SECRET>' -e 'OPNSENSE_VERIFY_SSL=<OPNSENSE_VERIFY_SSL>' -- npx -y @itunified.io/mcp-opnsense@2026.4.10-4
{
"mcpServers": {
"opnsense-mcp-server": {
"command": "npx",
"args": [
"-y",
"@itunified.io/mcp-opnsense@2026.4.10-4"
],
"env": {
"OPNSENSE_URL": "<OPNSENSE_URL>",
"OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
"OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
"OPNSENSE_VERIFY_SSL": "<OPNSENSE_VERIFY_SSL>"
}
}
}
}
Environment variables
OPNSENSE_URLOPNsense base URL (e.g. https://192.168.1.1)OPNSENSE_API_KEYOPNsense API key for authenticationOPNSENSE_API_SECRETOPNsense API secret for authenticationOPNSENSE_VERIFY_SSLSet to false for self-signed certificates (default: true)
Frequently asked questions
What is OPNsense MCP Server?
OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more
How do I install OPNsense MCP Server?
It runs on your machine. In Claude Code: claude mcp add opnsense-mcp-server -e 'OPNSENSE_URL=<OPNSENSE_URL>' -e 'OPNSENSE_API_KEY=<OPNSENSE_API_KEY>' -e 'OPNSENSE_API_SECRET=<OPNSENSE_API_SECRET>' -e 'OPNSENSE_VERIFY_SSL=<OPNSENSE_VERIFY_SSL>' -- npx -y @itunified.io/mcp-opnsense@2026.4.10-4. For other clients, paste the JSON configuration from this page into their MCP settings.
Does OPNsense MCP Server need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is OPNsense MCP Server open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains OPNsense MCP Server?
It is published by itunified-io. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.