Skip to main content
Glama
gensecaihq

pfSense MCP Server

by gensecaihq

create_openvpn_server

Provision a new OpenVPN server on pfSense with customizable protocol, device mode, interface, port, encryption, and network settings, then apply changes immediately for remote access.

Instructions

Create an OpenVPN server instance on pfSense.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caNoCertificate Authority reference/name
tlsNoTLS key for additional authentication (base64 or reference)
certNoServer certificate reference/name
modeYesServer mode (p2p_tls, server_tls, server_user, server_tls_user)
cryptoNoData encryption algorithm (e.g., AES-256-GCM)
digestNoAuth digest algorithm (e.g., SHA256)
dev_modeYesDevice mode (tun or tap)
disabledNoWhether the server starts disabled
protocolYesProtocol (UDP4, TCP4, UDP6, TCP6)
topologyNoTopology type (subnet or net30)
dh_lengthNoDiffie-Hellman parameter length (1024, 2048, 3072, 4096)
interfaceYesInterface to bind to (wan, lan, any, etc.)
dynamic_ipNoAllow dynamic IP addressing for clients
local_portYesLocal port number for the server to listen on
maxclientsNoMaximum number of concurrent clients
compressionNoCompression setting (omit, no, adaptive, lz4, lz4-v2, lzo, stub, stub-v2)
descriptionNoOptional description for the server instance
dns_server1NoDNS server 1 pushed to clients
dns_server2NoDNS server 2 pushed to clients
duplicate_cnNoAllow duplicate client certificates
local_networkNoLocal network(s) accessible to clients (e.g., 192.168.1.0/24)
custom_optionsNoCustom OpenVPN options (advanced)
remote_networkNoRemote network(s) accessible from server
tunnel_networkNoTunnel network CIDR (e.g., 10.0.8.0/24)
apply_immediatelyNoWhether to apply changes immediately

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint=false and destructiveHint=false, so the mutation nature is already known; the description adds no behavioral context like apply semantics, service restart, or dependency on existing certificates. For a config-heavy create operation, this lack of side-effect disclosure is a notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler or repetition. It could not be more concise, though the extreme brevity leaves little structural guidance for such a complex tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite rich schema and annotations, the description is too sparse for a 25-parameter creation tool. It omits high-level guidance about mode/protocol dependencies, certificate requirements, and what 'create' implies at runtime. The output schema and parameter descriptions mitigate some gaps, but the description alone is not a complete guide to invoking the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema fully documents all 25 parameters. The description itself adds no parameter-level meaning, but because the schema carries the burden, the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Create') paired with a concrete resource ('OpenVPN server instance') and platform ('pfSense'), making the operation unambiguous. It clearly distinguishes from sibling tools like update_openvpn_server, delete_openvpn_server, and search_openvpn_servers.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no guidance on when to use this tool, prerequisites (e.g., CA/certificate requirements), or how it relates to alternatives such as create_openvpn_client or search_openvpn_servers. The only implied context is the verb 'Create', which is not enough for an agent to decide between similar VPN operations.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gensecaihq/pfsense-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server