Skip to main content
Glama
cNelson016

pfSense MCP Server

by cNelson016

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address for HTTP mode127.0.0.1
MCP_PORTNoPort for HTTP mode3000
LOG_LEVELNoLog level: DEBUG, INFO, WARNING, ERRORINFO
VERIFY_SSLNoSet to false to disable certificate checking entirely — prefer PFSENSE_CA_FILE. Boolean settings accept true/false, 1/0, yes/no or on/off.true
API_TIMEOUTNoRequest timeout in seconds30
AUTH_METHODNoAuthentication method: api_key, basic, or jwtapi_key
MCP_API_KEYNoBearer token for HTTP transport (required when MCP_TRANSPORT=streamable-http). The server refuses to start with an empty, placeholder or short token.
PFSENSE_URLYespfSense URL (e.g., https://192.168.1.1)
MCP_AUDIT_LOGNoPath to audit log file (JSON lines)
MCP_BIND_ADDRNoDocker Compose only: host address the published port binds to127.0.0.1
MCP_READ_ONLYNoSet to true to only expose read-only tools. Boolean settings accept true/false, 1/0, yes/no or on/off.false
MCP_TRANSPORTNoTransport mode: stdio or streamable-httpstdio
ENABLE_HATEOASNoEnable HATEOAS links in API responses. Boolean settings accept true/false, 1/0, yes/no or on/off.false
PFSENSE_API_KEYNoREST API key (required when AUTH_METHOD=api_key)
PFSENSE_CA_FILENoPEM file for pfSense's private/self-signed CA, so verification stays on
PFSENSE_VERSIONNopfSense version. Current: CE_2_8_1, CE_2_9_0, PLUS_25_11_1, PLUS_26_03, PLUS_26_03_1, PLUS_26_07. Legacy (still accepted): CE_2_8_0, PLUS_24_11, PLUS_25_11, CE_26_03CE_2_8_1
RESPONSE_FORMATNoSet to gcf to re-encode tool results as Graph Compact Format for fewer tokens (requires the gcf extra). Default is json.json
PFSENSE_PASSWORDNopfSense password (for basic/jwt authentication)
PFSENSE_USERNAMENopfSense username (for basic/jwt authentication)
MCP_ALLOWED_TOOLSNoComma-separated allowlist of write tools. Read tools are always available; get_log_file is controlled by MCP_ENABLE_LOG_FILES. Default is all.
MCP_ALLOWED_ORIGINSNoComma-separated allowed originslocalhost
MCP_ROLLBACK_BUFFERNoRollback entries kept in memory50
MCP_ENABLE_LOG_FILESNoSet to false to remove get_log_file (raw /var/log/* reads via command sink). Boolean settings accept true/false, 1/0, yes/no or on/off.true
MCP_RATE_LIMIT_CREATENoMax creates per 60 seconds20
MCP_RATE_LIMIT_DELETENoMax deletes per 60 seconds10
MCP_RATE_LIMIT_UPDATENoMax settings changes (update_*, apply_*, enable_*/disable_*) per 60 seconds30
MCP_RATE_LIMIT_CRITICALNoMax critical ops per 300 seconds2

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources