Skip to main content
Glama

OPNSense MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
REDIS_HOSTNoHostname of Redis server for caching
ENABLE_CACHENoEnable Redis caching for improved performancefalse
OPNSENSE_HOSTYesURL of your OPNSense firewall including protocol and port
POSTGRES_HOSTNoHostname of PostgreSQL server for audit trails
BACKUP_ENABLEDNoEnable automatic configuration backups before changesfalse
OPNSENSE_API_KEYYesYour OPNSense API key
OPNSENSE_API_SECRETYesYour OPNSense API secret
OPNSENSE_VERIFY_SSLNoWhether to verify SSL certificates when connecting to OPNSensetrue

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
VLANsList of all configured VLANs
Firewall RulesList of all firewall rules
Network InterfacesAvailable network interfaces
Connection StatusOPNsense connection status

Tools

Functions exposed to the LLM to take actions

NameDescription
configure

Configure OPNsense connection

list_vlans

List all VLANs

get_vlan

Get VLAN details

create_vlan

Create a new VLAN

delete_vlan

Delete a VLAN

update_vlan

Update VLAN description

list_firewall_rules

List all firewall rules

get_firewall_rule

Get firewall rule details

create_firewall_rule

Create a new firewall rule

create_firewall_preset

Create a firewall rule from a preset

update_firewall_rule

Update a firewall rule

delete_firewall_rule

Delete a firewall rule

toggle_firewall_rule

Toggle firewall rule enabled/disabled

find_firewall_rules

Find firewall rules by description

create_backup

Create a configuration backup

list_backups

List available backups

restore_backup

Restore a configuration backup

test_connection

Test API connection and authentication

get_interfaces

List available network interfaces

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vespo92/OPNSenseMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server