PluginBench
MCP Server

OPNsense MCP Server MCP Server

io.github.itunified-io/opnsense

What is the OPNsense MCP Server MCP server?

OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more

How to install OPNsense MCP Server

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • 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)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ],
      "env": {
        "OPNSENSE_URL": "<YOUR_OPNSENSE_URL>",
        "OPNSENSE_API_KEY": "<YOUR_OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<YOUR_OPNSENSE_API_SECRET>",
        "OPNSENSE_VERIFY_SSL": "<YOUR_OPNSENSE_VERIFY_SSL>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ],
      "env": {
        "OPNSENSE_URL": "<YOUR_OPNSENSE_URL>",
        "OPNSENSE_API_KEY": "<YOUR_OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<YOUR_OPNSENSE_API_SECRET>",
        "OPNSENSE_VERIFY_SSL": "<YOUR_OPNSENSE_VERIFY_SSL>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ],
      "env": {
        "OPNSENSE_URL": "<YOUR_OPNSENSE_URL>",
        "OPNSENSE_API_KEY": "<YOUR_OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<YOUR_OPNSENSE_API_SECRET>",
        "OPNSENSE_VERIFY_SSL": "<YOUR_OPNSENSE_VERIFY_SSL>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "opnsense": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ],
      "env": {
        "OPNSENSE_URL": "<YOUR_OPNSENSE_URL>",
        "OPNSENSE_API_KEY": "<YOUR_OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<YOUR_OPNSENSE_API_SECRET>",
        "OPNSENSE_VERIFY_SSL": "<YOUR_OPNSENSE_VERIFY_SSL>"
      }
    }
  }
}
Claude Code
claude mcp add opnsense --env OPNSENSE_URL=<YOUR_OPNSENSE_URL> --env OPNSENSE_API_KEY=<YOUR_OPNSENSE_API_KEY> --env OPNSENSE_API_SECRET=<YOUR_OPNSENSE_API_SECRET> --env OPNSENSE_VERIFY_SSL=<YOUR_OPNSENSE_VERIFY_SSL> -- npx -y @itunified.io/mcp-opnsense

Related MCP servers

Cloudflare MCP Server — 84 tools for DNS, Tunnels, WAF, Zero Trust, R2, KV & Workers

View repository →

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

View repository →

Secure MCP access for private infrastructure over Tailscale — 48 tools across 9 domains

View repository →