MCP server · Audited from source
OPNSense MCP server
by vespo92/opnsensemcpMIT licenceAudited 7 Oct 2026 · source 0a1353a0df07
Is it safe? No — BLOCK, grade D (69/100). It exposes 205 tools: 109 read, 73 write and 23 destructive. The audit recorded 24 findings (0 critical, 2 high, 2 medium, 20 low). Maintainer's description: MCP Server for OPNSense to act as IaC proxy
Cite
Cite this page
ModelsAtlas. “OPNSense MCP server (vespo92/opnsensemcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/vespo92/opnsense-1
Why this is BLOCK. The audit found 0 critical and 2 high findings; the most severe is Filesystem / path at scripts/fixes/ssh-dmz-fix.ts:19. Each finding is listed below with its file and line.
Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.
2 MCP servers are called OPNsense. You are viewing vespo92/opnsensemcp. Compare all 2 →
- pixelworlds/opnsense-mcp-server★ 89!CAUTION
- vespo92/opnsensemcp★ 88✕BLOCK
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
24 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared8 observations
- NetworkDeclared11 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
Findings (24)
Sorted by severity
HIGHFilesystem / pathfs.credential_store · scripts/fixes/ssh-dmz-fix.ts:19
console.log('OPNSENSE_SSH_KEY_PATH=~/.ssh/id_rsa');- Why
- touches a credential store
- Fix
- —
HIGHFilesystem / pathfs.credential_store · src/resources/ssh/executor.ts:156
privateKeyPath: process.env.OPNSENSE_SSH_KEY_PATH || join(homedir(), '.ssh', 'id_rsa'),
- Why
- touches a credential store
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · .env.iac-example:5
OPNSENSE_HOST=https://192.168.1.1
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
acme_delete_action, acme_revoke_certificate, applyResource, cert_delete, delete_firewall_rule, delete_vlan, firewall_delete_rule, haproxy_acl_delete, haproxy_action_delete, haproxy_backend_delete, hap
- Why
- 23 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · src/db/network-query/processor.ts:157
.createHash('md5')- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/debug/debug-persistence.ts:8
import { OPNSenseAPIClient } from '../../src/api/client.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/debug/debug-persistence.ts:9
import { FirewallRuleResource, FirewallRule } from '../../src/resources/firewall/rule.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/debug/diagnose-routing.ts:1
import { OPNSenseAPIClient } from '../../src/api/client.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/debug/discover-api.ts:2
import { OPNSenseAPIClient } from '../../src/api/client.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · scripts/debug/discover-interfaces.ts:1
import { OPNSenseAPIClient } from '../../src/api/client.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:27
"OPNSENSE_HOST": "https://192.168.1.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:47
"OPNSENSE_HOST": "https://192.168.1.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:88
| `OPNSENSE_HOST` | Full URL to OPNsense | `https://192.168.1.1` |
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · CONFIGURATION.md:130
"OPNSENSE_HOST": "https://192.168.1.1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · dashboard/package.json
react, react-dom, react-router-dom, @tanstack/react-query, recharts, lucide-react, clsx, date-fns
- Why
- 21 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @types/cors, @types/express, @types/uuid, @types/xml2js, axios, cors, dotenv
- Why
- 30 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.authority_framing · docs/troubleshooting/common-issues.md:63
- Add "GUI - All pages" for full access
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.authority_framing · test-suite/README.md:81
4. Verify API user has full permissions
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWPrompt injectionprompt.credential_read · .archive/implementation-plan/ACTION-PLAN-24H.md:125
- Generates access credentials
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · CONFIGURATION.md:221
6. **Use read-only API keys** when possible
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/features/safety-modes.md:11
Both variables are read once from `process.env` and applied *after* any
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · docs/operations/DEPLOYMENT-GUIDE.md:25
- **API Access**: Enabled with valid credentials
- Why
- asks the agent to read credentials
- Fix
- —
LOWSupply chainprompt.pipe_to_shell · README.md:121
curl -fsSL https://bun.sh/install | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
205 declared in source · 23 destructive
23 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | What it does | Risk |
|---|---|---|
acme_delete_action | Delete an ACME automation action | destructive |
acme_revoke_certificate | Revoke a certificate | destructive |
applyResource | Apply a single resource (create, update, or delete) | destructive |
cert_delete | Delete a certificate | destructive |
delete_firewall_rule | Delete a firewall rule | destructive |
delete_vlan | Delete a VLAN | destructive |
firewall_delete_rule | Delete a firewall rule | destructive |
haproxy_acl_delete | Delete an HAProxy ACL | destructive |
haproxy_action_delete | Delete an HAProxy action | destructive |
haproxy_backend_delete | Delete an HAProxy backend | destructive |
haproxy_frontend_delete | Delete an HAProxy frontend | destructive |
haproxy_server_delete | Delete an HAProxy server | destructive |
iac_destroy_deployment | Destroy deployed resources | destructive |
macro_delete | Delete a saved macro | destructive |
monit_delete_alert | Delete a Monit alert recipient | destructive |
monit_delete_service | Delete a Monit monitored service | destructive |
monit_delete_test | Delete a Monit test | destructive |
nat_cleanup_dmz_fix | Remove all MCP-created NAT fix rules | destructive |
nat_delete_outbound_rule | Delete an outbound NAT rule by description (SSH mode) or UUID (API mode) | destructive |
nat_delete_port_forward | Delete a port forward rule | destructive |
remove_dnsbl_subscription | Remove a DNSBL subscription list. Deletes the entry if no lists remain. | destructive |
traffic_delete_pipe | Delete a traffic shaper pipe | destructive |
acme_add_action | Create a new ACME automation action (restart HAProxy, restart web UI, SFTP upload, SSH command, etc.) | write |
acme_renew_certificate | Trigger manual renewal of a specific certificate | write |
acme_update_certificate | Update certificate settings (renewal interval, restart actions, enable/disable, description) | write |
add_dnsbl_subscription | Add a DNSBL subscription list (e.g. OISD, Hagezi, Abuse.ch ThreatFox) | write |
apply_blocklist_category | Apply a predefined category of domain blocks | write |
block_domain | Add a domain to the DNS blocklist | write |
cert_import | Import a certificate | write |
cli_apply_changes | Apply all configuration changes via CLI | write |
cli_execute | Execute a CLI command on OPNsense for advanced configuration | write |
create_backup | Create a configuration backup | write |
create_firewall_preset | Create a firewall rule from a preset | write |
create_firewall_rule | Create a new firewall rule | write |
create_vlan | Create a new VLAN | write |
firewall_apply_changes | Apply pending firewall changes | write |
firewall_create_rule | Create a new firewall rule | write |
firewall_update_rule | Update an existing firewall rule | write |
haproxy_acl_create | Create an ACL for HAProxy frontend. Supports all OPNsense HAProxy ACL expression types including SNI matching for TCP/SSL passthrough. | write |
haproxy_acl_update | Update an existing HAProxy ACL | write |
haproxy_action_create | Create an action for HAProxy frontend. Supports all OPNsense HAProxy action types including tcp-request for SNI routing. | write |
haproxy_action_update | Update an existing HAProxy action | write |
haproxy_backend_create | Create a new HAProxy backend | write |
haproxy_backend_update | Update an existing HAProxy backend configuration | write |
haproxy_certificate_create | Create a certificate for HAProxy | write |
haproxy_frontend_create | Create a new HAProxy frontend | write |
haproxy_frontend_update | Update an existing HAProxy frontend configuration | write |
haproxy_server_add | Add a server to an HAProxy backend | write |
haproxy_server_update | Update an existing HAProxy server | write |
haproxy_service_control | Control HAProxy service (start, stop, restart, reload) | write |
iac_apply_deployment | Apply a deployment plan | write |
ids_disable_rule_set | Disable a rule set | write |
ids_enable_rule_set | Enable a rule set | write |
ids_restart | Restart IDS/IPS service | write |
ids_start | Start IDS/IPS service | write |
ids_stop | Stop IDS/IPS service | write |
ids_update_rules | Update IDS/IPS rule sets | write |
interface_enable_intervlan_all | Enable inter-VLAN routing on all interfaces | write |
interface_enable_intervlan_routing | Enable inter-VLAN routing on a specific interface | write |
interface_update_config | Update interface configuration | write |
macro_import | Import macros from a file | write |
macro_start_recording | Start recording API calls to create a macro | write |
macro_stop_recording | Stop recording and save the macro | write |
monit_add_alert | Add a new Monit alert recipient (email address for notifications) | write |
monit_add_service | Add a new Monit monitored service (process, host, custom script, filesystem, network, etc.) | write |
monit_add_test | Add a new Monit test condition (CPU, memory, disk, custom, etc.) | write |
monit_update_alert | Update an existing Monit alert recipient | write |
monit_update_service | Update an existing Monit service | write |
monit_update_test | Update an existing Monit test | write |
nat_apply_changes | Apply NAT configuration changes | write |
nat_create_outbound_rule | Create an outbound NAT rule | write |
nat_create_port_forward | Create a port forward rule | write |
nat_set_mode | Set NAT mode (automatic, hybrid, manual, disabled) | write |
openvpn_create_server | Create a new OpenVPN server instance | write |
routing_create_intervlan_rules | Create firewall rules for inter-VLAN routing | write |
routing_diagnostics | Run comprehensive inter-VLAN routing diagnostics | write |
ssh_batch_execute | Execute multiple commands in sequence via SSH | write |
ssh_enable_intervlan_routing | Enable inter-VLAN routing via SSH | write |
ssh_execute | Execute arbitrary command via SSH on OPNsense (full CLI access) | write |
ssh_fix_dmz_routing | Apply comprehensive DMZ routing fix via SSH | write |
ssh_quick_dmz_fix | Apply quick DMZ fix (streamlined version) | write |
sync_network_data | Sync network data from OPNsense | write |
system_enable_intervlan_routing | Enable inter-VLAN routing at the system level | write |
system_update_firewall_settings | Update system firewall settings | write |
toggle_blocklist_entry | Enable/disable a DNS blocklist entry | write |
toggle_firewall_rule_log | Toggle logging on/off for a firewall rule, or set it explicitly with the | write |
traffic_apply_changes | Apply traffic shaper changes | write |
traffic_create_pipe | Create a traffic shaper pipe | write |
traffic_create_queue | Create a traffic shaper queue | write |
traffic_create_rule | Create a traffic shaper rule | write |
traffic_update_pipe | Update a traffic shaper pipe | write |
Certificates | All installed certificates | read |
Deployments | Current infrastructure deployments | read |
RootFs | Root filesystem | read |
TestAccount | Test | read |
VLANs | List of all configured VLANs | read |
acme_get_settings | Get full ACME/Let\ | read |
acme_sign_certificate | Issue/sign a certificate (initial creation or re-issue) | read |
block_multiple_domains | Block multiple domains at once | read |
cert_check_expiry | Check certificate expiration status | read |
cert_generate_csr | Generate a Certificate Signing Request | read |
cert_get | Get certificate details | read |
cert_letsencrypt_renew | Renew a Let\ | read |
cert_letsencrypt_request | Request a Let\ | read |
cert_list | List all certificates | read |
cli_check_nfs | Check NFS connectivity from DMZ | read |
cli_fix_dmz_routing | Comprehensive DMZ routing fix via CLI | read |
cli_fix_interface_blocking | Fix interface blocking settings via CLI (for DMZ routing issues) | read |
cli_reload_firewall | Reload firewall rules via CLI | read |
cli_show_routing | Show routing table via CLI | read |
configure | Configure OPNsense connection | read |
find_arp_by_hostname | Find ARP entries by hostname pattern | read |
find_arp_by_interface | Find ARP entries on specific interface | read |
find_arp_by_ip | Find ARP entries by IP address or subnet | read |
find_arp_by_mac | Find ARP entries by MAC address | read |
find_device_by_mac | Find device by MAC address | read |
find_device_by_name | Find devices by hostname pattern | read |
find_devices_on_vlan | Find devices on specific VLAN | read |
find_firewall_rules | Find firewall rules by description | read |
firewall_audit | Audit firewall rules for security issues | read |
firewall_get_rule | Get a specific firewall rule by UUID | read |
firewall_list_rules | List all firewall rules | read |
firewall_toggle_rule | Toggle a firewall rule enabled/disabled | read |
get_arp_stats | Get ARP table statistics | read |
get_devices_by_interface | Group devices by network interface | read |
get_firewall_rule | Get firewall rule details | read |
get_guest_devices | Get all devices on guest network (VLAN 4) | read |
get_interfaces | List available network interfaces | read |
get_vlan | Get VLAN details | read |
group_devices | Group devices together (e.g., all devices belonging to one person) | read |
haproxy_backend_get | Get detailed information about a specific HAProxy backend by UUID | read |
haproxy_backend_health | Get health status of a specific backend | read |
haproxy_backend_list | List all HAProxy backends | read |
haproxy_certificate_list | List available certificates for HAProxy | read |
haproxy_frontend_get | Get detailed information about a specific HAProxy frontend by UUID | read |
haproxy_frontend_list | List all HAProxy frontends | read |
haproxy_stats | Get HAProxy statistics | read |
iac_list_resource_types | List available resource types | read |
iac_plan_deployment | Plan infrastructure deployment changes | read |
ids_analyze_alerts | Analyze recent IDS alerts for patterns | read |
ids_block_ip | Block an IP address detected by IDS | read |
ids_get_alert | Get detailed alert information | read |
ids_get_statistics | Get IDS/IPS statistics | read |
ids_get_status | Get IDS/IPS service status | read |
ids_list_alerts | List recent IDS alerts | read |
ids_list_rule_sets | List available rule sets | read |
interface_configure_dmz | Configure DMZ interface for inter-VLAN routing | read |
interface_get_config | Get detailed configuration for a specific interface | read |
interface_list_overview | List all network interfaces with their overview | read |
list_arp_entries | List all ARP table entries | read |
list_available_dnsbl | List all available DNSBL subscription lists (e.g. OISD, Hagezi, Abuse.ch) | read |
list_backups | List available backups | read |
list_dhcp_leases | List all DHCP leases | read |
list_dns_blocklist | List all DNS blocklist entries | read |
list_firewall_rules | List all firewall rules | read |
list_vlans | List all VLANs | read |
macro_analyze | Analyze a macro to detect patterns and parameters | read |
macro_export | Export all macros to a file | read |
macro_generate_tool | Generate an MCP tool definition from a macro | read |
macro_list | List all saved macros | read |
macro_play | Play a saved macro | read |
monit_get_settings | Get full Monit configuration (general settings, services, tests, alerts) | read |
monit_status | Get Monit live status — shows if Monit is running and the state of all monitored services | read |
monitoring_get_cpu_usage | Get CPU usage statistics | read |
monitoring_get_disk_usage | Get disk usage statistics | read |
monitoring_get_memory_usage | Get memory usage statistics | read |
monitoring_get_metrics | Get current system metrics | read |
monitoring_get_network_stats | Get network interface statistics | read |
nat_analyze_config | Analyze NAT configuration for issues | read |
nat_fix_dmz | Fix DMZ NAT issue - adds no-NAT rules for inter-VLAN traffic | read |
nat_get_mode | Get current NAT mode (automatic, hybrid, manual, disabled) | read |
nat_list_outbound | List all outbound NAT rules | read |
nat_list_port_forwards | List all port forward rules | read |
nat_quick_fix_dmz | Quick fix for DMZ NAT issue with minimal configuration | read |
network_query | Query network devices using natural language | read |
openvpn_disconnect_client | Disconnect a specific VPN client | read |
openvpn_get_connections | Get active OpenVPN connections | read |
openvpn_list_clients | List all OpenVPN client configurations | read |
openvpn_list_servers | List all OpenVPN server instances | read |
restore_backup | Restore a configuration backup | read |
routing_fix_all | Automatically fix all detected inter-VLAN routing issues | read |
routing_fix_dmz | Quick fix for DMZ to LAN routing (includes NFS rules) | read |
search_dns_blocklist | Search DNS blocklist entries | read |
ssh_backup_config | Backup OPNsense configuration via SSH | read |
ssh_check_nfs_connectivity | Check NFS connectivity from OPNsense | read |
ssh_fix_interface_blocking | Fix interface blocking settings via SSH (resolves DMZ routing issues) | read |
ssh_reload_firewall | Reload firewall rules via SSH | read |
ssh_restore_config | Restore OPNsense configuration via SSH | read |
ssh_show_pf_rules | Show packet filter rules via SSH | read |
ssh_show_routing | Show routing table via SSH | read |
ssh_system_status | Get comprehensive system status via SSH | read |
ssh_test_vlan_connectivity | Test connectivity between VLANs | read |
system_get_settings | Get system-level firewall and routing settings | read |
test_connection | Test API connection and authentication | read |
test_tool | A test tool | read |
toggle_firewall_rule | Toggle firewall rule enabled/disabled | read |
traffic_get_statistics | Get traffic shaper statistics | read |
traffic_list_pipes | List traffic shaper pipes (bandwidth limiters) | read |
traffic_list_queues | List traffic shaper queues | read |
traffic_list_rules | List traffic shaper rules | read |
Safer alternatives
We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.
Audit history
- ✕BLOCK D 69 / 100
First audit ·
0a1353a0df07
Questions about OPNSense MCP server
What is the OPNSense MCP server?
What tools does OPNSense expose?
Is OPNSense safe to connect to an agent?
What credentials does OPNSense need?
How does OPNSense run?
How current is this page?
Which OPNsense MCP server is the right one?
I already installed OPNSense. What should I do?
Can the verdict change?
Sources
- vespo92/opnsensemcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — BLOCK verdict for commit 0a1353a0df07Observed · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the OPNSense MCP server?
- What tools does OPNSense expose?
- Is OPNSense safe to connect to an agent?