OPNsense MCP Server for VS Code
io.github.itunified-io/opnsense
OPNsense MCP Server — 72 tools for DNS, Firewall, DHCP, ACME, Routing, VLANs & more
client:VS Code
transport:stdio
runtime:npm
Install OPNsense MCP Server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "opnsense-url",
"description": "OPNSENSE_URL",
"password": true
},
{
"type": "promptString",
"id": "opnsense-api-key",
"description": "OPNSENSE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "opnsense-api-secret",
"description": "OPNSENSE_API_SECRET",
"password": true
},
{
"type": "promptString",
"id": "opnsense-verify-ssl",
"description": "OPNSENSE_VERIFY_SSL",
"password": true
}
],
"servers": {
"opnsense": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@itunified.io/mcp-opnsense"
],
"env": {
"OPNSENSE_URL": "${input:opnsense-url}",
"OPNSENSE_API_KEY": "${input:opnsense-api-key}",
"OPNSENSE_API_SECRET": "${input:opnsense-api-secret}",
"OPNSENSE_VERIFY_SSL": "${input:opnsense-verify-ssl}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs