You're viewing a demo portfolio

Join the waitlist
PRSM

add_firewall_rule

Active

Tool of BorealHost

declared in 1.27.0

Add an IP firewall rule (allow or deny) and reload Nginx. Supports IPv4, IPv6, and CIDR notation. Max 100 rules per site. If a rule already exists for the IP, the action is updated. Requires: API key with write scope. Args: slug: Site identifier ip: IP address or CIDR (e.g. "1.2.3.4", "10.0.0.0/8", "2001:db8::/32") action: "deny" (block) or "allow" (whitelist). Default: "deny" Returns: {"added": true, "ip": "1.2.3.4", "action": "deny"}

Parameters schema

{
  "type": "object",
  "title": "add_firewall_ruleArguments",
  "required": [
    "slug",
    "ip"
  ],
  "properties": {
    "ip": {
      "type": "string",
      "title": "Ip"
    },
    "slug": {
      "type": "string",
      "title": "Slug"
    },
    "action": {
      "type": "string",
      "title": "Action",
      "default": "deny"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

BorealHost

https://github.com/alainsvrd/borealhost-mcp

1/7 registries
View full server →
add_firewall_rule — BorealHost — PRSM MCP