Skip to content
MCP server

OPNsense MCP Server

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
2026.4.10
Listing updated
5 days ago

About OPNsense MCP Server

OPNsense MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add opnsense -- npx -y @itunified.io/mcp-opnsense

Add to claude_desktop_config.json

{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "opnsense": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "opnsense": {
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-opnsense"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • OPNSENSE_URLOPNsense base URL (e.g. https://192.168.1.1)
  • OPNSENSE_API_KEYOPNsense API key for authentication
  • OPNSENSE_API_SECRETOPNsense API secret for authentication
  • OPNSENSE_VERIFY_SSLSet to false for self-signed certificates (default: true)

Pricing

Open source

OPNsense MCP Server FAQ

Is OPNsense MCP Server free?

Yes. OPNsense MCP Server is open source, so you can use and self-host it for free.

How do I add OPNsense MCP Server to Claude Code?

Run this command in your terminal: claude mcp add opnsense -- npx -y @itunified.io/mcp-opnsense

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers