mcpbeat Sign in

OPNsense Guard MCP Server

by d3ltasecurity Your server? Claim it
local only

OPNsense Guard runs on your own machine — the client starts it, so there is no endpoint to ping. 174 installs a week from pypi. Last commit 27 Oct 2026.

Safety-first OPNsense firewall MCP: read-only by default, planned and auto-reverting writes.

Installs per day peak 328 · avg 32 · -78% w/w
a month agotoday
174
Installs / week
pypi · opnsense-guard-mcp
1
Stars
0 open issues
27 Oct 2026
Last commit
from GitHub
MIT
License
Python

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

            query = _SELECT + sql

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add opnsense-guard-mcp -e 'OPNSENSE_URL=<OPNSENSE_URL>' -e 'OPNSENSE_API_KEY=<OPNSENSE_API_KEY>' -e 'OPNSENSE_API_SECRET=<OPNSENSE_API_SECRET>' -- uvx opnsense-guard-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "opnsense-guard-mcp": {
      "command": "uvx",
      "args": [
        "opnsense-guard-mcp"
      ],
      "env": {
        "OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
        "OPNSENSE_URL": "<OPNSENSE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.opnsense-guard-mcp]
command = "uvx"
args = ["opnsense-guard-mcp"]
env = { OPNSENSE_URL = "<OPNSENSE_URL>", OPNSENSE_API_KEY = "<OPNSENSE_API_KEY>", OPNSENSE_API_SECRET = "<OPNSENSE_API_SECRET>" }
.cursor/mcp.json
{
  "mcpServers": {
    "opnsense-guard-mcp": {
      "command": "uvx",
      "args": [
        "opnsense-guard-mcp"
      ],
      "env": {
        "OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
        "OPNSENSE_URL": "<OPNSENSE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "opnsense-guard-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opnsense-guard-mcp"
      ],
      "env": {
        "OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
        "OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
        "OPNSENSE_URL": "<OPNSENSE_URL>"
      }
    }
  }
}

Put your own values in place of <OPNSENSE_URL> (Firewall base URL, e.g. https://firewall.example.internal), <OPNSENSE_API_KEY> (API key of a least-privilege read user), <OPNSENSE_API_SECRET> (API secret of the read user). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: OPNSENSE_CA_BUNDLE (CA file for a self-signed firewall certificate).

Alternatives to OPNsense Guard

same job, measured the same way
Database MCP Postgres
by arifulislamat

MCP server for PostgreSQL. Read-only by default, row caps, timeouts, secrets never logged.

139 installs/wk local only
Database MCP Mariadb
by arifulislamat

MCP server for MariaDB. Read-only by default, row caps, timeouts, secrets never logged.

151 installs/wk local only
PassTunnel
by passtunnel

macOS OpenVPN/FortiGate VPN status, logs and diagnosis; read-only by default, never returns secrets

local only
Secure Telegram
by antonorlov

Telegram MCP server: each AI client gets its own key, scoped to chosen chats. Read-only by default.

472 installs/wk local only
Database MCP Mysql
by arifulislamat

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

148 installs/wk local only
Codebase Doctor
by subhajitlucky

Read-only codebase audits for coding agents: secrets, RLS, deps, review verdicts. No writes.

105 installs/wk local only
XRPL Token Guard
by riehnbean

Read-only XRP Ledger token-risk, issuer-authenticity and wallet-security checks.

3 tools answering
Reversecore MCP
by sjkim1127

Security-first MCP server for reverse engineering, malware analysis, forensics, and SAST.

221 installs/wk local only

OPNsense Guard — questions

Answers built from our own checks of this server.

Why is there no uptime for OPNsense Guard?
OPNsense Guard runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package opnsense-guard-mcp was installed 174 times last week.
How do I connect OPNsense Guard?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls opnsense-guard-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use OPNsense Guard?
The pypi package opnsense-guard-mcp was installed 174 times in the last week. Week over week that is -78%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is OPNsense Guard open source?
Yes — it is published under the MIT licence, written in Python and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.