1. Conduid
  2. Security
  3. Pfsense MCP Server
MCP server · Security

Pfsense MCP Server

Model Context Protocol (MCP) server for pfSense firewall management. Control firewall rules, VPNs, DNS, DHCP and diagnostics in natural language from Claude Desktop, Claude Code or any MCP client — 333 wire-format-verified tools for the pfSense REST API, with safety guardrails, config backup and rollback on every change.

Unclaimed MIT security
64Good

Scored 3 hours ago · breakdown

About Pfsense MCP Server

Pfsense MCP Server is an MCP server published by gensecaihq in the Security category: model Context Protocol (MCP) server for pfSense firewall management. Control firewall rules, VPNs, DNS, DHCP and diagnostics in natural language from Claude Desktop, Claude Code or any MCP client — 333 wire-format-verified tools for the pfSense REST API, with safety guardrails, config backup and rollback on every change. Conduid read 332 tools from its source: analyze_blocked_traffic, apply_dhcp_changes, apply_dns_forwarder_changes, apply_dns_resolver_changes, apply_firewall_changes, apply_haproxy_changes and 326 more. No package is published for it, so it installs from a source checkout.

The repository has 125 stars and 28 forks, is licensed MIT, and its last commit was on 9 Oct 2026. The latest release is v1.1.0 (23 Sep 2026): Overview pfSense MCP Server v1.1.0 is a correctness and safety release. The release before it was v1.0.0 (26 Mar 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include security.

Install

From source
git clone https://github.com/gensecaihq/pfsense-mcp-server

Tools (332)

analyze_blocked_trafficAnalyze blocked traffic patterns from firewall logs.
apply_dhcp_changesApply pending DHCP server changes
apply_dns_forwarder_changesApply pending DNS Forwarder changes
apply_dns_resolver_changesApply pending DNS Resolver configuration changes
apply_firewall_changesForce apply pending firewall changes and recompile the pf ruleset.
apply_haproxy_changesApply pending HAProxy configuration changes
apply_interface_changesApply pending interface changes
apply_ipsec_changesApply pending IPsec configuration changes to the live system.
apply_nat_changesApply pending NAT changes (outbound mappings, mode changes)
apply_nat_onetoone_changesApply pending 1:1 NAT changes
apply_routing_changesApply pending routing changes (gateways, static routes, gateway groups)
apply_virtual_ip_changesApply pending virtual IP changes
apply_wireguard_changesApply pending WireGuard configuration changes
bulk_block_ipsBlock multiple IP addresses on the live pfSense firewall. WARNING: Creates block rules.
check_tool_riskCheck the risk classification and guardrail requirements for a tool.
compare_config_revisionsCompare two configuration revisions to see what changed.
control_serviceStart, stop, or restart a service on the live pfSense appliance.
create_acme_account_keyCreate an ACME account key for Let's Encrypt
create_acme_certificateCreate an ACME certificate entry
create_aliasCreate a new firewall alias
create_auth_serverCreate a new authentication server (LDAP or RADIUS)
create_bind_zoneCreate a BIND DNS zone
create_certificateCreate or import a certificate on pfSense
create_certificate_authorityCreate or import a Certificate Authority on pfSense
create_crlCreate a Certificate Revocation List (CRL) on pfSense
create_cron_jobCreate a cron job
create_dhcp_address_poolCreate a DHCP address pool for an interface
create_dhcp_custom_optionCreate a DHCP custom option
create_dhcp_static_mappingCreate a DHCP static mapping (reservation)
create_dns_access_listCreate a DNS Resolver access list entry
create_dns_domain_overrideCreate a DNS domain override entry
create_dns_forwarder_host_overrideCreate a DNS Forwarder host override entry
create_dns_host_overrideCreate a DNS host override entry
create_firewall_rule_advancedCreate a firewall rule on the live pfSense appliance.
create_firewall_scheduleCreate a firewall schedule with an initial time range.
create_freeradius_clientCreate a FreeRADIUS client (NAS device)
create_freeradius_userCreate a FreeRADIUS user
create_gatewayCreate a routing gateway
create_gateway_groupCreate a gateway group for multi-WAN failover or load balancing
create_groupCreate a new pfSense user group
create_haproxy_backendCreate an HAProxy backend pool
create_haproxy_frontendCreate an HAProxy frontend listener
create_interfaceCreate (assign) a network interface
create_interface_bridgeCreate an interface bridge
create_interface_groupCreate an interface group
create_ipsec_phase1Create an IPsec Phase 1 (IKE) entry
create_ipsec_phase1_encryptionCreate an IPsec Phase 1 encryption algorithm entry
create_ipsec_phase2Create an IPsec Phase 2 (Child SA / tunnel) entry
create_ipsec_phase2_encryptionCreate an IPsec Phase 2 encryption entry
create_nat_onetoone_mappingCreate a 1:1 NAT mapping
create_nat_outbound_mappingCreate an outbound NAT mapping
create_nat_port_forwardCreate a NAT port forwarding rule
create_openvpn_clientCreate an OpenVPN client instance on pfSense.
create_openvpn_serverCreate an OpenVPN server instance on pfSense.
create_schedule_time_rangeCreate a time range within a firewall schedule
create_shaper_queueCreate a traffic shaper queue
create_static_routeCreate a static route
create_system_tunableCreate a system tunable (sysctl value)
create_traffic_limiterCreate a traffic limiter (dummynet pipe)
create_traffic_shaperCreate a traffic shaper on an interface
create_userCreate a new pfSense local user
create_virtual_ipCreate a virtual IP address
create_vlanCreate a VLAN
create_wireguard_peerCreate a new WireGuard peer on a tunnel
create_wireguard_tunnelCreate a new WireGuard tunnel
delete_acme_certificateDelete an ACME certificate entry by ID. WARNING: This is irreversible.
delete_aliasDelete an alias by ID. WARNING: This is irreversible.
delete_auth_serverDelete a pfSense authentication server by ID. WARNING: This is irreversible.
delete_bind_zoneDelete a BIND DNS zone by ID. WARNING: This is irreversible.
delete_certificateDelete a certificate by ID. WARNING: This is irreversible.
delete_certificate_authorityDelete a Certificate Authority by ID. WARNING: This is irreversible.
delete_config_revisionDelete a configuration history revision by ID. WARNING: This is irreversible.
delete_crlDelete a Certificate Revocation List (CRL) by ID. WARNING: This is irreversible.
delete_cron_jobDelete a cron job by ID. WARNING: This is irreversible.
delete_dhcp_address_poolDelete a DHCP address pool by ID. WARNING: This is irreversible.
delete_dhcp_custom_optionDelete a DHCP custom option by ID. WARNING: This is irreversible.
delete_dhcp_static_mappingDelete a DHCP static mapping by ID. WARNING: This is irreversible.
delete_dns_access_listDelete a DNS Resolver access list. WARNING: This is irreversible.
delete_dns_domain_overrideDelete a DNS domain override by ID. WARNING: This is irreversible.
delete_dns_forwarder_host_overrideDelete a DNS Forwarder host override by ID. WARNING: This is irreversible.
delete_dns_host_overrideDelete a DNS host override by ID. WARNING: This is irreversible.
delete_firewall_ruleDelete a firewall rule from the live pfSense appliance. WARNING: This is irreversible.
delete_firewall_scheduleDelete a firewall schedule by ID. WARNING: This is irreversible.
delete_firewall_stateDelete a specific firewall state (active connection) by ID. WARNING: This is irreversible.
delete_freeradius_clientDelete a FreeRADIUS client by ID. WARNING: This is irreversible.
delete_freeradius_userDelete a FreeRADIUS user by ID. WARNING: This is irreversible.
delete_gatewayDelete a routing gateway by ID. WARNING: This is irreversible.
delete_gateway_groupDelete a gateway group by ID. WARNING: This is irreversible.
delete_groupDelete a pfSense user group by ID. WARNING: This is irreversible.
delete_haproxy_backendDelete an HAProxy backend by ID. WARNING: This is irreversible.
delete_haproxy_frontendDelete an HAProxy frontend by ID. WARNING: This is irreversible.
delete_interfaceDelete (unassign) an interface by ID. WARNING: This is irreversible.
delete_ipsec_phase1Delete an IPsec Phase 1 (IKE) entry by ID. WARNING: This is irreversible and will also remove associated Phase 2 entries.
delete_ipsec_phase1_encryptionDelete an IPsec Phase 1 encryption algorithm entry by ID. WARNING: This is irreversible.
delete_ipsec_phase2Delete an IPsec Phase 2 (Child SA / tunnel) entry by ID. WARNING: This is irreversible.
delete_ipsec_phase2_encryptionDelete an IPsec Phase 2 encryption entry by ID. WARNING: This is irreversible.
delete_nat_onetoone_mappingDelete a 1:1 NAT mapping by ID. WARNING: This is irreversible.
delete_nat_outbound_mappingDelete an outbound NAT mapping by ID. WARNING: This is irreversible.
delete_nat_port_forwardDelete a NAT port forwarding rule by ID. WARNING: This is irreversible.
delete_openvpn_clientDelete an OpenVPN client instance by ID. WARNING: This is irreversible.
delete_openvpn_serverDelete an OpenVPN server instance by ID. WARNING: This is irreversible.
delete_schedule_time_rangeDelete a time range from a firewall schedule by ID. WARNING: This is irreversible.
delete_shaper_queueDelete a shaper queue by ID. WARNING: This is irreversible.
delete_static_routeDelete a static route by ID. WARNING: This is irreversible.
delete_system_tunableDelete a system tunable by ID. WARNING: This is irreversible.
delete_traffic_limiterDelete a traffic limiter by ID. WARNING: This is irreversible.
delete_traffic_shaperDelete a traffic shaper by ID. WARNING: This is irreversible.
delete_userDelete a pfSense local user by ID. WARNING: This is irreversible.
delete_virtual_ipDelete a virtual IP by ID. WARNING: This is irreversible.
delete_vlanDelete a VLAN by ID. WARNING: This is irreversible.
delete_wireguard_peerDelete a WireGuard peer by ID. WARNING: This is irreversible.
delete_wireguard_tunnelDelete a WireGuard tunnel by ID. WARNING: This is irreversible.
diagnose_blocked_trafficComprehensive analysis of why traffic might be blocked.
diagnose_connectivityTest connectivity to a host from the pfSense appliance.
diagnose_dhcp_issuesAnalyze DHCP service health on an interface.
diagnose_dns_resolutionCheck DNS resolver health.
diagnose_high_availabilityCheck CARP/HA status if configured.
diagnose_interface_issuesAnalyze an interface for problems.
diagnose_service_healthComprehensive service health check.
diagnose_vpn_statusComprehensive VPN health check across all VPN types.
disable_hateoasDisable HATEOAS links in API responses on the pfSense server.
disconnect_openvpn_clientDisconnect an active OpenVPN client connection. WARNING: This will terminate the client session.
enable_hateoasEnable HATEOAS links in API responses on the pfSense server.
export_certificate_pkcs12Export a certificate in PKCS#12 format
export_openvpn_client_configExport an OpenVPN client configuration file or installer package.
find_blocked_rulesFind all firewall rules that block or reject traffic
find_interfaces_by_statusFind interfaces by their current status
find_object_by_fieldFind an object by a specific field value (safer than using IDs).
follow_api_linkFollow a HATEOAS link from a previous API response
generate_certificateGenerate a new certificate signed by an existing CA on pfSense
get_acme_settingsGet the current ACME package settings
get_api_capabilitiesGet comprehensive API capabilities and configuration
get_arp_tableGet the ARP table to discover devices on the network.
get_available_interfacesGet a list of available (unassigned) network interfaces
get_bind_settingsGet the current BIND DNS server settings
get_carp_statusGet the current CARP (Common Address Redundancy Protocol) status
get_config_historyGet configuration history revisions with pagination
get_config_revisionGet a specific configuration history revision by ID
get_default_gatewayGet the current default gateway settings (IPv4 and IPv6)
get_dhcp_relay_settingsGet the DHCP relay settings
get_dhcp_server_configGet DHCP server configuration including pool ranges, lease times, etc.
get_dns_resolver_settingsGet the current DNS Resolver (Unbound) settings
get_email_notification_settingsGet the email notification settings
get_firewall_advanced_settingsGet firewall advanced settings
get_firewall_logGet firewall log entries with optional filtering
get_firewall_state_sizeGet the current firewall state table size and limits
get_gateway_statusGet real-time gateway status including latency, packet loss, and online/offline state
get_guardrail_statusGet the current guardrail configuration and recent action history.
get_haproxy_settingsGet the current HAProxy service settings
get_ipsec_child_sa_statusGet IPsec Child Security Associations status showing active tunnel details.
get_ipsec_statusGet IPsec Security Associations (SAs) status showing active tunnels and their state.
get_log_fileRead the newest lines from a pfSense log file (dhcpd, filter, resolver, system, auth).
get_log_settingsGet the system log settings
get_nat_outbound_modeGet the current outbound NAT mode (automatic, hybrid, advanced, or disabled)
get_ntp_settingsGet the NTP service settings
get_openvpn_client_statusGet the status of all OpenVPN clients
get_openvpn_server_statusGet the status of all OpenVPN servers
get_openvpn_statusGet the runtime status of all OpenVPN server and client instances.
get_pf_rulesRead the compiled pf ruleset (/tmp/rules.debug) to verify what pf is
get_pf_tableGet the contents of a specific pf firewall table
get_ssh_settingsGet the SSH service settings
get_system_consoleGet the system console settings
get_system_dnsGet the current system DNS server configuration
get_system_health_reportFull system health dashboard — combines all diagnostics into one report.
get_system_hostnameGet the current system hostname and domain
get_system_timezoneGet the current system timezone setting
get_system_versionGet the pfSense system version information
get_webgui_settingsGet the WebGUI settings (protocol, port, certificates, etc.)
get_wireguard_settingsGet the current WireGuard service settings
halt_systemHalt (shut down) the pfSense system. WARNING: This will power off the system.
issue_acme_certificateIssue (obtain) an ACME certificate from Let's Encrypt
manage_acme_certificate_domainAdd or remove a domain (SAN) validation entry on an ACME certificate
manage_alias_addressesAdd or remove addresses from an existing alias
manage_bind_access_listCreate or delete a BIND access control list
manage_bind_zone_recordCreate or delete a DNS record within a BIND zone
manage_dns_forwarder_host_override_aliasAdd or remove an alias for a DNS Forwarder host override
manage_haproxy_backend_serverAdd or remove a server from an HAProxy backend
manage_haproxy_fileCreate or delete an HAProxy file (certificate, error page, Lua script, etc.)
manage_haproxy_frontend_addressAdd or remove a bind address from an HAProxy frontend
manage_haproxy_frontend_certificateAdd or remove an additional SNI SSL certificate on an HAProxy frontend
manage_ntp_time_serverAdd or remove an NTP time server
manage_openvpn_csoCreate, update, or delete an OpenVPN Client Specific Override (CSO).
manage_service_watchdogAdd or remove a service watchdog entry
manage_wireguard_peer_allowed_ipAdd or remove an allowed IP for a WireGuard peer
manage_wireguard_tunnel_addressAdd or remove an address for a WireGuard tunnel
move_firewall_ruleMove a firewall rule to a new position in the rule order
reboot_systemReboot the pfSense system. WARNING: This will cause a service interruption.
refresh_object_idsRefresh object IDs by re-querying an endpoint (handles ID changes after deletions).
register_acme_account_keyRegister an ACME account key with the ACME server (Let's Encrypt)
renew_acme_certificateRenew an existing ACME certificate
renew_certificateRenew an existing certificate by ID
run_ping_diagnosticRun a ping diagnostic from the pfSense firewall
search_acme_account_keysSearch ACME account keys with filtering and pagination
search_acme_certificate_domainsList the domain (SAN) validation entries configured on an ACME certificate
search_acme_certificatesSearch ACME (Let's Encrypt) certificates with filtering and pagination
search_aliasesSearch aliases with advanced filtering options
search_audit_trailSearch the guardrail audit log for recent destructive actions taken.
search_auth_serversSearch pfSense authentication servers (LDAP, RADIUS) with optional filtering
search_bind_access_listsSearch BIND access control lists
search_bind_zone_recordsSearch DNS records within a BIND zone

The first 200 of 332 tools, in name order.

Security checks

  • ✓README presentThe repository's README runs to about 3.5K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 44 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.1.0pfSense MCP Server v1.1.0 · 23 Sep 2026Overview pfSense MCP Server v1.1.0 is a correctness and safety release. It is the first release since v1.0.0 and includes 89 merged pull requests. v1.0.0 exposed a broad tool surface, but many tools sent field names or types that the…
v1.0.0v1.0.0 — Production-Ready pfSense MCP Server · 26 Mar 2026pfSense MCP Server v1.0.0 Production-ready Model Context Protocol server for managing pfSense firewalls through Claude Desktop, Claude Code, and other MCP-compatible AI clients. Highlights 327 MCP tools across 34 modules covering firewall,…

README

The repository's README runs to about 3.5K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Pfsense MCP Server

How do I install Pfsense MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Pfsense MCP Server safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Pfsense MCP Server still maintained?

Yes — the latest release is v1.1.0 (23 Sep 2026), and the last commit was a month ago. The repository has 125 stars and 4 open issues.

What tools does Pfsense MCP Server provide?

Conduid read 332 tools from the source: analyze_blocked_traffic, apply_dhcp_changes, apply_dns_forwarder_changes, apply_dns_resolver_changes, apply_firewall_changes, apply_haproxy_changes, apply_interface_changes, apply_ipsec_changes and 324 more.

What license is Pfsense MCP Server released under?

The repository declares the MIT license. That applies to the latest release, v1.1.0, as well.