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 device settings and parameters.

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 for the 'view_config_node_values' tool. Extracts the 'xpath' from arguments, performs a GET request to the Palo Alto API endpoint '/config/xpath' with the xpath parameter, and returns the response data as a text content block.
    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)
    Registration of the 'view_config_node_values' tool in the ListTools response, including name, description, and input schema definition.
    { 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'] } },

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