Skip to main content
Glama
packetracer

Palo Alto Networks MCP Server Suite

by packetracer

view_config_node_values

Retrieve configuration values from Palo Alto firewalls using XPath queries to inspect and manage security policies, network objects, and system settings.

Instructions

View configuration node values for XPath on the Palo Alto firewall

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xpathYesXPath to the configuration node

Implementation Reference

  • Handler that fetches and returns the configuration node values for the given XPath using the Palo Alto firewall API.
    case 'view_config_node_values': { const { xpath } = request.params.arguments as { xpath: string }; const response = await this.axiosInstance.get('/config/xpath', { params: { xpath } }); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; }
  • src/index.ts:159-172 (registration)
    Registers the 'view_config_node_values' tool including its name, description, and input schema in the list_tools response.
    { name: 'view_config_node_values', description: 'View configuration node values for XPath on the Palo Alto firewall', inputSchema: { type: 'object', properties: { xpath: { type: 'string', description: 'XPath to the configuration node' } }, required: ['xpath'] } },
  • Defines the input schema for the tool, requiring a single 'xpath' string parameter.
    type: 'object', properties: { xpath: { type: 'string', description: 'XPath to the configuration node' } }, required: ['xpath'] }

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/packetracer/mcpserver'

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