PAN-OS MCP Server
About
An MCP server for managing Palo Alto Networks firewalls via the XML API. It lets Claude or other compatible tools interact with PAN-OS devices using natural language commands.
Details
- Author
- edoscars
- GitHub stars
- 1
- Downloads
- 466
- Categories
- Productivity
Jump to
- Authenticate with a PAN-OS/Panorama device using an API key
- Retrieve system information from the firewall
- Execute operational commands via XML
- Commit candidate configurations
- Perform configuration actions (set, edit, delete, rename)
- Push policy from Panorama to managed devices
Clone the repository, install dependencies with pip install -r requirements.txt, add the server to your Claude Desktop configuration, and edit pan-os.py to set your firewall host and API key. Once configured, tools such as get_system_info, op_command, commit_config, commit_all_shared_policy, and config_action become available.
PAN-OS MCP Server
This project provides a Model Control Protocol (MCP) server for interacting with Palo Alto Networks firewalls using the XML API. It allows you to use Claude or other compatible tools to manage and configure your PAN-OS devices through natural language.
Features
- Authenticate with a PAN-OS/Panorama device using API key
- Retrieve system information
- Execute operational commands
- Commit configurations
- Perform configuration actions (set, edit, delete, rename, etc.)
- Push policy from Panorama to managed devices
Requirements
- Python 3.13+
- Palo Alto Networks firewall
- API access to your PAN-OS device
Installation
1. Clone the repository:
git clone https://github.com/edoscars/pan-os-mcp.git
2. Install the dependencies:
pip install -r requirements.txt
3. Add to your Claude Desktop configuration (add the correct path in the args):
{
"mcpServers": {
"pan-os":{
"command": "uv",
"args":[
"--directory",
"C:\\Users\\USER\\pan-os",
"run",
"pan-os.py"
]
}
}
}
4. Edit the pan-os.py file to configure your PAN-OS device:
```python
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



