npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/apius-tech-panos-mcp

v1.3.15

Published

MCP server for Palo Alto Networks PanOS firewalls

Readme

PanOS MCP Server

Warning: This server gives an AI model direct access to your firewall configuration via the PanOS API. AI models can make mistakes, misinterpret instructions, or take unintended actions that may disrupt network traffic, modify security policies, or cause outages. Use at your own risk. Always review AI-proposed changes before committing, use a read-only API key where possible, and never run against production firewalls without understanding the consequences.

An MCP (Model Context Protocol) server for interacting with Palo Alto Networks PanOS firewalls and Panorama. Provides 116 tools across 16 modules for firewall management, monitoring, and configuration.

Features

  • Read-only inspection of firewall state, policies, objects, logs, and more
  • Configuration management via XPath-based set/delete with staged commits
  • Panorama support for centralized management of device groups, templates, and shared objects
  • Input validation with Zod schemas for early error detection
  • Safety labels on every tool: [READ-ONLY], [MODIFIES CONFIG], or [ADVANCED]

Prerequisites

  • Node.js 18+
  • A PanOS firewall or Panorama appliance with API access enabled
  • A PanOS API key (how to generate)

Quick Start

Claude Desktop — Desktop Extension (recommended)

  1. Download the latest panos-mcp.mcpb from Releases
  2. Double-click the file — Claude Desktop opens an install dialog
  3. Enter your Firewall Host and API Key when prompted

The API key is stored securely in your OS keychain, not in plaintext config files.

Claude Desktop — npx

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "panos": {
      "command": "npx",
      "args": ["-y", "github:apius-tech/Palo-MCP"],
      "env": {
        "PANOS_HOST": "your-firewall-or-panorama",
        "PANOS_API_KEY": "your-api-key"
      }
    }
  }
}

Config file location: macOS ~/Library/Application Support/Claude/claude_desktop_config.json · Windows %APPDATA%\Claude\claude_desktop_config.json

Cursor

Open Cursor Settings (Ctrl+Shift+J) → MCP → Add new MCP server, or add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "panos": {
      "command": "npx",
      "args": ["-y", "github:apius-tech/Palo-MCP"],
      "env": {
        "PANOS_HOST": "your-firewall-or-panorama",
        "PANOS_API_KEY": "your-api-key"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "panos": {
      "command": "npx",
      "args": ["-y", "github:apius-tech/Palo-MCP"],
      "env": {
        "PANOS_HOST": "your-firewall-or-panorama",
        "PANOS_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add panos -- npx -y github:apius-tech/Palo-MCP \
  --env PANOS_HOST=your-firewall-or-panorama \
  --env PANOS_API_KEY=your-api-key

Replace your-firewall-or-panorama with your firewall/Panorama IP or hostname, and your-api-key with your PanOS API key.

Tool Categories

| Category | Tools | Description | |----------|-------|-------------| | System | 4 | Firewall info, HA status, sessions, resources | | Network | 10 | Interfaces, zones, routing, ARP, VLANs, DHCP, DNS proxy, static routes (get, add, delete) | | Security | 14 | Security rules CRUD, profiles, profile groups, PBF rules CRUD, DoS, QoS rules CRUD | | Objects | 16 | Address/service objects and groups (get, add, delete), application filters, tags (get, add, delete) | | NAT | 5 | NAT rules (get, add, move, delete, enable/disable) | | User-ID | 3 | User-IP mappings, groups, config | | Admin | 3 | Admins, roles, auth profiles | | VPN | 3 | IPSec tunnels, GlobalProtect users and config | | Panorama | 29 | Device groups, templates, shared objects, pre/post rules CRUD, DG NAT rules CRUD, push status, HA | | Logs | 4 | Traffic, threat, system, and config logs | | Threat | 4 | WildFire, antivirus, content versions, URL categories | | Certificates | 7 | Certificates, decryption rules (get, add, move, delete, enable/disable) and profiles | | Licenses | 2 | License info and usage | | Config | 5 | Set/delete config, commit, Panorama commit, Panorama push | | Utility | 2 | Arbitrary op commands, XPath config reads | | Firewalls | 1 | List configured firewall targets |

Safety Labels

Every tool is labeled to indicate its impact:

  • [READ-ONLY] — Only reads data; no changes to the firewall
  • [MODIFIES CONFIG] — Stages or commits configuration changes that affect live traffic
  • [ADVANCED] — Accepts arbitrary commands; impact depends on the input

API Key

Generate a PanOS API key from the firewall web UI or CLI:

Web UI: Device → Administrators → your admin user → Generate API Key

CLI:

curl -k 'https://YOUR-FIREWALL/api/?type=keygen&user=admin&password=YOUR-PASSWORD'

See PanOS documentation for details.

Development

git clone https://github.com/apius-tech/Palo-MCP.git
cd Palo-MCP
npm install
cp .env.example .env   # fill in PANOS_HOST and PANOS_API_KEY
npm run build           # compile TypeScript
npm run dev             # watch mode (rebuild on changes)
npm test                # run tests
npm run start           # run the server
npm run pack:extension  # build Desktop Extension (.mcpb)

Examples

"Show me the firewall system info"

Uses get_firewall_info to retrieve hostname, model, serial number, and software version.

"List all security rules on the firewall"

Uses get_security_rules to retrieve the full security policy rulebase.

"Create an address object for the 10.0.1.0/24 subnet called lab-network, then commit"

Uses set_config to create the address object in the candidate configuration, then commit to activate the change on the running firewall.

Privacy

  • No data collection — This extension does not collect, store, or transmit any data to third parties.
  • Direct communication only — All API calls go directly from your machine to your PanOS firewall or Panorama. No traffic is routed through intermediary servers.
  • Local credential storage — API keys are stored in your OS keychain (Desktop Extension) or in local environment variables. They are never sent anywhere other than your firewall.
  • No telemetry or analytics — This extension contains no tracking, telemetry, or analytics of any kind.

Disclaimer

This software is provided "as is", without warranty of any kind. This tool connects an AI model to live network infrastructure. AI models can hallucinate, misunderstand context, and execute unintended changes. The authors are not responsible for any damage, data loss, outages, or security incidents caused by the use of this software. You are solely responsible for any actions taken by the AI model through this server.

Recommendations:

  • Test in a lab environment before using in production
  • Use a read-only API key for inspection tasks
  • Always review and confirm changes before committing
  • Monitor firewall logs for unexpected configuration changes

License

ISC