Skip to content
Cursor

OPNsense MCP Server for Cursor

io.github.itunified-io/opnsense

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

client:Cursor transport:stdio runtime:npm

Install OPNsense MCP Server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "opnsense": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ],
      "env": {
        "OPNSENSE_URL": "<OPNSENSE_URL>",
        "OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
        "OPNSENSE_VERIFY_SSL": "<OPNSENSE_VERIFY_SSL>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

OPNsense MCP Server in other clients