Skip to main content
Glama
DynamicEndpoints

Palo Alto Device Server

manage_certificates

Manage SSL/TLS certificates on Palo Alto firewalls to maintain secure network communications and authentication.

Instructions

Manage certificates on the Palo Alto firewall

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'manage_certificates' tool. Fetches certificates from the Palo Alto firewall using a GET request to /Device/Certificates and returns the JSON response.
    case 'manage_certificates': {
        try {
            const response = await axios.get(
                `${API_BASE_URL}/Device/Certificates`,
                {
                    headers: {
                        'X-PAN-KEY': API_KEY,
                        'Accept': 'application/json'
                    }
                }
            );
    
            return {
                content: [
                    {
                        type: 'text',
                        text: JSON.stringify(response.data, null, 2),
                    },
                ],
            };
        } catch (error) {
            const axiosError = error as AxiosError;
            throw new McpError(
                ErrorCode.InternalError,
                `Palo Alto API error: ${axiosError.message}`
            );
        }
    }
  • src/index.ts:66-73 (registration)
    Registers the 'manage_certificates' tool in the list of available tools, including its name, description, and empty input schema.
    {
        name: 'manage_certificates',
        description: 'Manage certificates on the Palo Alto firewall',
        inputSchema: {
            type: 'object',
            properties: {},
        },
    },

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/DynamicEndpoints/paloalto-device-server'

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