NP

night4me/pfsense-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 2 forks 质量 68 趋势 26MIT

A security-first MCP server for pfSense — READ-only today by design; WRITE is staged behind explicit safety architecture, not a feature flag.

概览

MCP server that gives an AI assistant strongly typed, read-only visibility into one pfSense appliance — system, network, firewall, DHCP, DNS, VPN, certificates, and diagnostics — without raw shell access, an unaudited scripting surface, or any way to change the appliance by accident. I built this because I wanted AI assistance for pfSense without giving an LLM the ability to accidentally disconnect my own network — a firewall deserves a higher safety standard than "the model probably won't make a bad change." See Why this project exists for the full reasoning. - Covers roughly 90% of pfSense's useful REST API READ surface. Every tool is strongly typed (Pydantic) — no untyped JSON passthrough. - A fully built, twice live-verified protected-change path exists but requires an explicit opt-in — see Safety levels below. - "List my VLANs and which interface each one rides on," "Is my WAN gateway up right now?", "Which certificates expire soon?", "What DHCP leases are active on the LAN?

README

以下为原文 README 节选,完整内容请查看原文。

pfsense-mcp-server

Safe, least-privilege pfSense access for AI assistants. MCP server that gives an AI assistant strongly typed, read-only visibility into one pfSense appliance — system, network, firewall, DHCP, DNS, VPN, certificates, and diagnostics — without raw shell access, an unaudited scripting surface, or any way to change the appliance by accident.

I built this because I wanted AI assistance for pfSense without giving an LLM the ability to accidentally disconnect my own network — a firewall deserves a higher safety standard than “the model probably won’t make a bad change.” See Why this project exists for the full reasoning.

What it does

  • 97 tools: 95 pfSense READ tools + 2 documentation guidance tools. Covers roughly 90% of pfSense’s useful REST API READ surface. Every tool is strongly typed (Pydantic) — no untyped JSON passthrough.
  • 0 WRITE tools by default. A fully built, twice live-verified protected-change path exists but requires an explicit opt-in — see Safety levels below.
  • Ask it things like: “List my VLANs and which interface each one rides on,” “Is my WAN gateway up right now?”, “Which certificates expire soon?”, “What DHCP leases are active on the LAN?” — every
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →