OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more
OPNsense Guard MCP Server
Published by d3ltasecuritySafety-first OPNsense firewall MCP: read-only by default, planned and auto-reverting writes.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.1
- SOURCE CHECKED
- Dec 2, 2026
Quick answers
How do I add OPNsense Guard MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'OPNSENSE_URL=<your-opnsense-url>' --env 'OPNSENSE_API_KEY=<your-opnsense-api-key>' --env 'OPNSENSE_API_SECRET=<your-opnsense-api-secret>' --transport stdio opnsense-guard -- uvx opnsense-guard-mcpReplace the <your-…> placeholder with your own OPNSENSE_URL and OPNSENSE_API_KEY and OPNSENSE_API_SECRET.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"opnsense-guard": {
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "<your-opnsense-url>",
"OPNSENSE_API_KEY": "<your-opnsense-api-key>",
"OPNSENSE_API_SECRET": "<your-opnsense-api-secret>"
}
}
}
}Replace the <your-…> placeholder with your own OPNSENSE_URL and OPNSENSE_API_KEY and OPNSENSE_API_SECRET.
CodexCommand
Run this in your terminal:
codex mcp add opnsense-guard --env 'OPNSENSE_URL=<your-opnsense-url>' --env 'OPNSENSE_API_KEY=<your-opnsense-api-key>' --env 'OPNSENSE_API_SECRET=<your-opnsense-api-secret>' -- uvx opnsense-guard-mcpReplace the <your-…> placeholder with your own OPNSENSE_URL and OPNSENSE_API_KEY and OPNSENSE_API_SECRET.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"opnsense-guard": {
"type": "stdio",
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "<your-opnsense-url>",
"OPNSENSE_API_KEY": "<your-opnsense-api-key>",
"OPNSENSE_API_SECRET": "<your-opnsense-api-secret>"
}
}
}
}Replace the <your-…> placeholder with your own OPNSENSE_URL and OPNSENSE_API_KEY and OPNSENSE_API_SECRET.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"opnsense-guard": {
"command": "uvx",
"args": [
"opnsense-guard-mcp"
],
"env": {
"OPNSENSE_URL": "<your-opnsense-url>",
"OPNSENSE_API_KEY": "<your-opnsense-api-key>",
"OPNSENSE_API_SECRET": "<your-opnsense-api-secret>"
}
}
}
}Replace the <your-…> placeholder with your own OPNSENSE_URL and OPNSENSE_API_KEY and OPNSENSE_API_SECRET.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use OPNsense Guard MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does OPNsense Guard MCP Server need an API key?
To run it on your computer, set OPNSENSE_URL, OPNSENSE_API_KEY and OPNSENSE_API_SECRET first, with values from the publisher.
Is OPNsense Guard MCP Server official?
It's published by d3ltasecurity. The Official MCP Registry accepts names under io.github.d3ltasecurity only from the GitHub account or organisation d3ltasecurity. We last checked its listing on Dec 2, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · opnsense-guard-mcp@0.1.1