OPNsense MCP Server

Official registry Search and web

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).

NPM package @itunified.io/mcp-opnsense
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
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "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_URL OPNsense base URL (e.g. https://192.168.1.1)
  • OPNSENSE_API_KEY OPNsense API key for authentication
  • OPNSENSE_API_SECRET OPNsense API secret for authentication
  • OPNSENSE_VERIFY_SSL Set 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.