技能潮 SkillTide 提交收录
官方说明10 个来源MCP 服务8 天前
vespo92/OPNSenseMCP

vespo92/OPNSenseMCP

📇 🏠 - Manage and interact with the OPNsense open source firewall in natural language
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add opnsensemcp -- npx -y opnsensemcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
90 ★ · vespo92/OPNSenseMCP · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 90 ★ · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 vespo92/OPNSenseMCP;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

OPNsense MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) server for comprehensive OPNsense firewall management. This server enables AI assistants like Claude to directly manage firewall configurations, diagnose network issues, and automate complex networking tasks.
Features
🔥 Firewall Management
- Complete CRUD operations for firewall rules
- Proper handling of API-created "automation rules"
- Inter-VLAN routing configuration
- Batch rule creation and management
- Enhanced persistence with multiple fallback methods
🌐 NAT Configuration (SSH-based)
- Outbound NAT rule management
- NAT mode control (automatic/hybrid/manual/disabled)
- No-NAT exception rules for inter-VLAN traffic
- Automated DMZ NAT issue resolution
- Direct XML configuration manipulation
🔍 Network Diagnostics
- Comprehensive routing analysis
- ARP table inspection with vendor identification
- Interface configuration management
- Network connectivity troubleshooting
- Auto-fix capabilities for common issues
🖥️ SSH/CLI Execution
- Direct command execution on OPNsense
- Configuration file manipulation
- System-level operations not available via API
- Service management and restarts
📊 Additional Capabilities
- VLAN management
- DHCP lease viewing and management
- DNS blocklist configuration
- HAProxy load balancer support
- Configuration backup and restore
- Infrastructure as Code support
Installation
Prerequisites
- Node.js 18+ to run the server (Bun 1.1.39+ to develop on it)
- OPNsense firewall (v24.7+ recommended)
- API credentials for OPNsense
- SSH access (optional, for advanced features)
Quick Start with npm
1. Install the package:
2. Create a .env file with your credentials:
3. Start the MCP server:
⚠️ Safety Modes (read this before pointing at a production router)
By default this server can make live, immediate changes to your firewall —
add/delete rules, change NAT, restart services, run whitelisted shell
commands over SSH. Two environment variables (operator-only — a tool call
can never set or override them) add a safety net:
| Variable | Effect |
|----------|--------|
| OPNSENSE_READ_ONLY=true | Every mutating API call and every non-read-only SSH command is rejected before it's sent. Write-capable tools are also hidden from the tool list, so the model never sees them as an option. |
| OPNSENSE_DRY_RUN=true | Mutating calls are simulated instead of sent — you get a log line and a synthetic success response describing what *would* have happened, with no request reaching the router. |
Both are enforced at the two lowest-level chokepoints this server uses to
reach the router — the API client and the SSH executor — so they apply
uniformly across all 140+ tools, not on a per-tool basis. If both are set,
OPNSENSE_READ_ONLY wins.
See CONFIGURATION.md for the config
reference, or docs/features/safety-modes.md
for how it works under the hood.
Quick Start with Bun (Faster)
Bun provides significantly faster startup times and better performance.
1. Install Bun (if not already installed):
2. Clone and install:
3. Create your .env file (same as npm version above)
4. Run with Bun:
Using Bun with Claude Desktop
Usage with Claude Desktop (npm)
Add to your Claude Desktop configuration (claude_desktop_config.json):
来源
awesome · https://github.com/vespo92/OPNSenseMCP
按领域浏览
MCP 服务
Traction
90 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引