Skip to main content
Glama
packetracer

Palo Alto Networks MCP Server Suite

by packetracer

multi_move_clone_configuration

Move or clone multiple firewall configurations to new locations in Palo Alto Networks environments to manage security policies and system settings.

Instructions

Multi-Move or Multi-Clone the configuration of the Palo Alto firewall

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
config_pathsYesPaths to the configurations to move or clone
new_locationYesNew location for the configurations
actionYesAction to perform

Implementation Reference

  • The handler logic for the 'multi_move_clone_configuration' tool. It destructures the input arguments, constructs the appropriate Palo Alto API endpoint ('MultiMove' or 'MultiClone'), performs a POST request with the config_paths and new_location, and returns the response data as formatted text.
    case 'multi_move_clone_configuration': { const { config_paths, new_location, action } = request.params.arguments as { config_paths: string[], new_location: string, action: 'move' | 'clone' }; const endpoint = action === 'move' ? 'MultiMove' : 'MultiClone'; const response = await this.axiosInstance.post( `/Configuration/${endpoint}`, { config_paths, new_location } ); return { content: [ { type: 'text', text: JSON.stringify(response.data, null, 2), }, ], }; }
  • The input schema defining the parameters for the 'multi_move_clone_configuration' tool: config_paths (array of strings), new_location (string), and action (enum: 'move' or 'clone').
    inputSchema: { type: 'object', properties: { config_paths: { type: 'array', items: { type: 'string' }, description: 'Paths to the configurations to move or clone' }, new_location: { type: 'string', description: 'New location for the configurations' }, action: { type: 'string', enum: ['move', 'clone'], description: 'Action to perform' } }, required: ['config_paths', 'new_location', 'action'] }
  • src/index.ts:174-198 (registration)
    The tool registration entry in the ListTools response, including name, description, and input schema.
    name: 'multi_move_clone_configuration', description: 'Multi-Move or Multi-Clone the configuration of the Palo Alto firewall', inputSchema: { type: 'object', properties: { config_paths: { type: 'array', items: { type: 'string' }, description: 'Paths to the configurations to move or clone' }, new_location: { type: 'string', description: 'New location for the configurations' }, action: { type: 'string', enum: ['move', 'clone'], description: 'Action to perform' } }, required: ['config_paths', 'new_location', 'action'] } }

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