Gluo
Free agent tools, no sign-in: browser flows, test inboxes, web extract, site and security scans.
Descripción del creador (original en inglés)
Safety-first OPNsense firewall MCP: read-only by default, planned and auto-reverting writes.
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
OPNSENSE_URL, OPNSENSE_API_KEY, OPNSENSE_API_SECRET, OPNSENSE_CA_BUNDLELos valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.
Necesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"opnsense-guard": {
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "your-value",
"OPNSENSE_API_KEY": "your-value",
"OPNSENSE_API_SECRET": "your-value",
"OPNSENSE_CA_BUNDLE": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add opnsense-guard --env OPNSENSE_URL=your-value --env OPNSENSE_API_KEY=your-value --env OPNSENSE_API_SECRET=your-value --env OPNSENSE_CA_BUNDLE=your-value -- uvx opnsense-guard-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"opnsense-guard": {
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "your-value",
"OPNSENSE_API_KEY": "your-value",
"OPNSENSE_API_SECRET": "your-value",
"OPNSENSE_CA_BUNDLE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"opnsense-guard": {
"type": "stdio",
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "your-value",
"OPNSENSE_API_KEY": "your-value",
"OPNSENSE_API_SECRET": "your-value",
"OPNSENSE_CA_BUNDLE": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
OPNSENSE_CA_BUNDLE envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 8 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub d3ltasecurity, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
Debes completar: OPNSENSE_URL, OPNSENSE_API_KEY, OPNSENSE_API_SECRET
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.1.1) llegó al registro hace 12 días.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: Gluo, Seal Security, Zeqqat
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:↓ Descargas por semanai★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Free agent tools, no sign-in: browser flows, test inboxes, web extract, site and security scans.
Vulnerability management: scan projects, search sealed packages, manage sealing rules and reports.
Open source MCP gateway: agents call your APIs without holding keys or seeing secrets.
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
A safety-first MCP server for OPNsense 26.7+.
**Read-only by default. Every write is planned, policy-checked, logged, and
auto-reverted unless you confirm it.**
Status: alpha. Tested against a live OPNsense 26.7.4 with least-privilege API users: read tools, policy file, change planning with diffs, applying changes with verification and automatic revert, crash recovery, and a hash-chained audit log, over stdio or authenticated HTTPS. See DESIGN.md.
Not affiliated with Deciso B.V. "OPNsense" is a trademark of Deciso B.V.
| opnsense-guard-mcp | |
|---|---|
| Default mode | read-only |
| Read path | GET, plus POST to exactly two search endpoints (states, rules) with a fixed three-field body; path allowlist, verb denylist, traversal/encoding rejected, redirects not followed |
| Writes | separate API user, exact endpoint allowlist, plan → policy check → human approval → apply → verify → auto-revert unless confirmed |
| Rollback on 26.7+ | own object-level snapshots + revert (the savepoint API is gone in 26.7); survives restarts |
| Guardrails | allowlist policy file: interfaces, networks, rule limits, anti-lockout |
| Audit | hash-chained JSONL (audit verify detects edits); syslog planned |
| Transport | stdio, or Streamable HTTP that always needs a bearer token; optional TLS / mTLS |
| Dangerous tools | none exist: no reboot, firmware, service control, SSH or XML edits |
admins) and these privileges, then create an API key for it. Skip any that aren't installed; the matching tool just reports "forbidden".| Privilege | Used by |
|---|---|
| Firewall: Rules [new] | firewall_rules, firewall_rule_get, planning |
| Firewall: Aliases (view-only) | firewall_aliases, planning |
| Status: Interfaces | interfaces |
| Status: Services | service_list |
| Diagnostics: ARP Table | arp_table |
| Diagnostics: Routing tables | routing_table |
| Diagnostics: Show States | firewall_states |
| Diagnostics: Logs: Firewall: Live View | firewall_log |
| Diagnostics: Logs: System | system_log |
| Lobby: Dashboard | system_information, system_resources, health probe |
| Services: Intrusion Detection | suricata_* |
| Services: DHCP: Kea(v4) / Services: Dnsmasq DNS/DHCP: Settings / Status: DHCP leases (ISC) | dhcp_leases: only the one you use |
| System: Firmware *(optional)* | system_status. It also allows installing updates, so leave it out unless you need it. |
Most OPNsense privileges are not view-only (*Firewall: Aliases* is an exception): several of these also allow edits through the API. The server only sends GET requests with this key, except a search POST to two exact endpoints (diagnostics/firewall/query_states, firewall/filter/searchRule) with a body it builds itself (current, rowCount, searchPhrase); OPNsense answers those lists properly only over POST. Still keep the list short: the privileges are what OPNsense itself enforces.
pipx install opnsense-guard-mcp
.env.example to .env, or set env vars): OPNSENSE_URL=https://firewall.example.internal
OPNSENSE_API_KEY=... OPNSENSE_API_SECRET=... OPNSENSE_CA_BUNDLE=/path/to/firewall-ca.pem # or OPNSENSE_VERIFY_SSL=false
opnsense-guard-mcp --check
claude mcp add opnsense -- opnsense-guard-mcp --env-file /path/to/.env
HTTP never runs without authentication. The server refuses to start if:
MCP_ALLOW_PLAINTEXT=true only behind a TLS proxy). opnsense-guard-mcp token new --name laptop --scope read
token list shows names and scopes; token revoke --name laptop takes effect on the next request, no restart needed.
MCP_TRANSPORT=http MCP_HOST=0.0.0.0 MCP_PORT=8848 \
MCP_TLS_CERT=server.pem MCP_TLS_KEY=server.key \ opnsense-guard-mcp
https:// :8848/mcp with header Authorization: Bearer .| Variable | Default | Purpose |
|---|---|---|
MCP_HOST / MCP_PORT | 127.0.0.1 / 8848 | listen address |
OPNSENSE_GUARD_TOKENS_FILE | ./tokens.json | token hashes |
MCP_TLS_CERT / MCP_TLS_KEY | – | serve HTTPS |
MCP_TLS_CLIENT_CA | – | require client certificates (mTLS) |
MCP_ALLOWED_HOSTS | localhost/127.0.0.1/MCP_HOST on the port | accepted Host headers (DNS-rebinding guard) |
MCP_ALLOWED_ORIGINS | none | browser origins allowed; any other Origin is refused |
MCP_RATE_LIMIT_PER_MIN | 120 | requests per token per minute |
MCP_ALLOW_PLAINTEXT | false | allow plain HTTP on a non-loopback address |
Repeated failed logins from one IP (10 a minute) are throttled with HTTP 429.
Claude Code and a private CA: Claude Code (Node) ignores the Windows/macOS certificate store for MCP servers. Point NODE_EXTRA_CA_CERTS at your CA file in the env block of ~/.claude/settings.json, then fully quit and reopen Claude, or the connection fails with UNABLE_TO_VERIFY_LEAF_SIGNATURE.
The image runs as a non-root user and keeps its audit log, change journal and tokens in /data.
docker build -t opnsense-guard-mcp .
docker run -i --rm --env-file .env -v guard-data:/data opnsense-guard-mcp
docker run --rm -v guard-data:/data opnsense-guard-mcp token new --name laptop --scope read docker run -d --name opnsense-guard --env-file .env -v guard-data:/data -p 8848:8848 \ -e MCP_TRANSPORT=http -e MCP_HOST=0.0.0.0 -e MCP_ALLOWED_HOSTS=mcp.example.internal:8848 \ -e MCP_TLS_CERT=/data/tls/server.pem -e MCP_TLS_KEY=/data/tls/server.key \ opnsense-guard-mcp
Mount a policy file and set OPNSENSE_GUARD_POLICY to enable writes. Stop the container with docker stop (not kill) so unconfirmed changes are reverted.
Without a policy.yaml the server is read-only. To enable planning, copy policy.example.yaml to policy.yaml (or point OPNSENSE_GUARD_POLICY at it) and edit it. Unknown keys are an error.
Planning tools (rule_plan, alias_plan) read the current state, apply every policy check, and return a diff plus the reasons for any refusal. They never change the firewall. Example result for a refused rule:
+ [wan] pass in inet any from any to any '[mcp]'
interface 'wan' is not in the allowed interfaces any -> any pass rules are forbidden inbound pass rules on WAN are forbidden every rule written by this server must have logging on
Built-in guardrails: only listed interfaces/actions/directions; every IP inside allow_networks; no any→any pass, WAN inbound pass, floating rules or rules without logging; edit only rules tagged [mcp] (unless only_modify_own: false); anti-lockout (no block rule that matches this server's own IP, and only new pass rules on the interface it reaches the API through). A new block or reject rule there is allowed when the same plan adds a pass rule with a lower sequence that provably lets every MCP host reach the API (source covers the host IP, destination any/(self)/the API IP, TCP, port covers the API port); both rules need a sequence.
Change tools appear only when both the policy is in write mode and a second, write-capable API user is configured:
OPNSENSE_WRITE_API_KEY=... # a different OPNsense user than the read one
OPNSENSE_WRITE_API_SECRET=...
Give that user exactly two privileges: Firewall: Rules [new] and Firewall: Alias: Edit, no group. (Plain *Firewall: Aliases* is view-only: it allows search/get but not addItem/setItem/delItem/reconfigure.) Over HTTP, the change tools need a token with --scope write.
The flow:
rule_plan / alias_plan → diff + plan_id (changes nothing).change_apply(plan_id) → asks the human to approve the diff (MCP elicitation where the client supports it; otherwise the tool returns the diff and must be called again with user_confirmed=true). Then it re-reads the firewall (refuses if anything drifted since planning), stores the before-state, writes, applies, reads everything back to verify, and checks the API is still reachable. Any failure → everything is reverted.confirm_timeout_s (default 60 s) unless change_confirm is called.change_rollback undoes a pending or confirmed change. A revert never overwrites an object someone else edited meanwhile (status conflict).Unconfirmed changes are also reverted when the server stops and, after a crash, when it starts again. Only one change can be open at a time, and max_changes_per_hour is enforced.
Limits, stated plainly
user_confirmed=true is the model's word that the user agreed. The audit log records which method was used.Every plan (allowed or refused) and server start is written to $OPNSENSE_GUARD_DATA_DIR/audit.jsonl (default ./data). Each line holds the hash of the previous one, so edits, deletions and reordering are detectable:
opnsense-guard-mcp audit verify
opnsense-guard-mcp audit tail -n 20
Credentials are never written to it.
system_status, system_information, system_resources, service_list, posture_check, suricata_status, suricata_settings, suricata_alert_status, firewall_rules, firewall_rule_get, firewall_aliases, firewall_log, firewall_states, system_log, interfaces, arp_table, routing_table, dhcp_leases, raw_get, policy_show, security_audit.
In write mode also: rule_plan, alias_plan, plan_get, audit_tail. With write credentials also: change_apply, change_confirm, change_rollback, change_list, change_get.
firewall_rules returns one line per rule (50 by default) so a full ruleset fits in a chat; pass detail=true for the raw OPNsense rows, or use firewall_rule_get for one rule.
Over HTTP, a read token still sees the change tools in the tool list, but calling one is refused (needs a token with scope 'write').
python -m venv .venv && . .venv/bin/activate
pip install -e ".[dev]" ruff check . && mypy && pytest
See SECURITY.md. Please report vulnerabilities privately.
MIT. See LICENSE.