Safety-first OPNsense firewall MCP: read-only by default, planned and auto-reverting writes.
Connect Runs on your machine
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> -e OPNSENSE_CA_BUNDLE=<OPNSENSE_CA_BUNDLE> -- uvx opnsense-guard-mcp==0.1.1
{
"mcpServers": {
"opnsense-guard-mcp": {
"command": "uvx",
"args": [
"opnsense-guard-mcp==0.1.1"
],
"env": {
"OPNSENSE_URL": "<OPNSENSE_URL>",
"OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
"OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
"OPNSENSE_CA_BUNDLE": "<OPNSENSE_CA_BUNDLE>"
}
}
}
}
{
"mcpServers": {
"opnsense-guard-mcp": {
"command": "uvx",
"args": [
"opnsense-guard-mcp==0.1.1"
],
"env": {
"OPNSENSE_URL": "<OPNSENSE_URL>",
"OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
"OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
"OPNSENSE_CA_BUNDLE": "<OPNSENSE_CA_BUNDLE>"
}
}
}
}
{
"servers": {
"opnsense-guard-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"opnsense-guard-mcp==0.1.1"
],
"env": {
"OPNSENSE_URL": "<OPNSENSE_URL>",
"OPNSENSE_API_KEY": "<OPNSENSE_API_KEY>",
"OPNSENSE_API_SECRET": "<OPNSENSE_API_SECRET>",
"OPNSENSE_CA_BUNDLE": "<OPNSENSE_CA_BUNDLE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OPNSENSE_URLRequired | Firewall base URL, e.g. https://firewall.example.internal |
OPNSENSE_API_KEYRequired, secret | API key of a least-privilege read user |
OPNSENSE_API_SECRETRequired, secret | API secret of the read user |
OPNSENSE_CA_BUNDLEOptional | CA file for a self-signed firewall certificate |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 27 Oct 2026 |
| Last updated | 27 Oct 2026 |
| Registry name | io.github.d3ltasecurity/opnsense-guard-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
