MCPcopy Create free account

hub / github.com/PaloAltoNetworks/pan-mcp-relay / types & classes

Types & classes45 in github.com/PaloAltoNetworks/pan-mcp-relay

↓ 56 callersClassInternalTool
Base tool class with server info and state. Extends MCP Tool with server name and state tracking.
src/pan_mcp_relay/tool.py:48
↓ 39 callersClassToolRegistry
A registry for managing and caching internal tools with expiration-based refresh logic. The ToolRegistry maintains collections of tools, provides
src/pan_mcp_relay/tool_registry.py:44
↓ 10 callersClassSecurityScanner
src/pan_mcp_relay/security_scanner.py:75
↓ 8 callersClassMcpRelayConfigurationError
Exception for invalid configuration errors.
src/pan_mcp_relay/exceptions.py:46
↓ 7 callersClassConfig
Configuration for the MCP Relay.
src/pan_mcp_relay/configuration.py:314
↓ 6 callersClassMcpRelayConfig
Configuration for the MCP Relay.
src/pan_mcp_relay/configuration.py:223
↓ 5 callersClassPanSecurityRelay
Main relay server class that orchestrates tool execution and security scanning.
src/pan_mcp_relay/pan_security_relay.py:86
↓ 4 callersClassMcpRelayConfigurationErrorGroup
Use to raise multiple configuration errors simultainuously.
src/pan_mcp_relay/exceptions.py:66
↓ 4 callersClassMcpRelayInternalError
Exception for internal errors.
src/pan_mcp_relay/exceptions.py:39
↓ 3 callersClassMcpRelayBaseError
Base exception class for mcp-relay-related exceptions.
src/pan_mcp_relay/exceptions.py:20
↓ 3 callersClassMcpRelaySecurityBlockError
Exception for security block errors.
src/pan_mcp_relay/exceptions.py:112
↓ 3 callersClassUnexpandedVariableError
Exception for unexpanded environment variable errors.
src/pan_mcp_relay/exceptions.py:62
↓ 2 callersClassHttpMcpServer
Streamable HTTP MCP Server
src/pan_mcp_relay/configuration.py:213
↓ 2 callersClassMcpRelayScanError
Exception for scan failure errors.
src/pan_mcp_relay/exceptions.py:100
↓ 2 callersClassSseMcpServer
SSE MCP Server
src/pan_mcp_relay/configuration.py:207
↓ 1 callersClassAPIAuth
src/pan_mcp_relay/security_scanner.py:49
↓ 1 callersClassAiProfileError
Exception for invalid AI profile errors.
src/pan_mcp_relay/exceptions.py:58
↓ 1 callersClassApiEndpointError
Exception for invalid API endpoint errors.
src/pan_mcp_relay/exceptions.py:54
↓ 1 callersClassApiKeyError
Exception for invalid API key errors.
src/pan_mcp_relay/exceptions.py:50
↓ 1 callersClassCustomAliasGenerator
src/pan_mcp_relay/configuration.py:57
↓ 1 callersClassInputObject
tests/test_downstream_mcp_client.py:630
↓ 1 callersClassMcpRelayServerNotFoundError
Exception for server not found errors.
src/pan_mcp_relay/exceptions.py:85
↓ 1 callersClassMcpRelayToolExecutionError
Exception for tool execution errors.
src/pan_mcp_relay/exceptions.py:77
↓ 1 callersClassMcpRelayToolNotFoundError
Exception for tool not found errors.
src/pan_mcp_relay/exceptions.py:81
↓ 1 callersClassMcpRelayToolRegistryError
Exception for tool registry errors.
src/pan_mcp_relay/exceptions.py:93
↓ 1 callersClassPanSecurityRelayStdioClient
Client to interact with the Pan Security Relay server over stdio transport. This client handles connection management, tool listing, tool in
examples/clients/stdio/pan_security_relay_stdio_client.py:78
↓ 1 callersClassRelayClient
Manages MCP server connections and tool execution. Handles initialization, tool listing, and execution for a single downstream MCP serve
src/pan_mcp_relay/client/client.py:37
↓ 1 callersClassRelaySessionGroup
src/pan_mcp_relay/client/session_group.py:43
↓ 1 callersClassResponseObject
tests/test_downstream_mcp_client.py:615
↓ 1 callersClassScanApiAuthenticationError
Exception for Scan API Authentication Failures (HTTP 4xx)
src/pan_mcp_relay/exceptions.py:104
↓ 1 callersClassScanApiInternalError
Exception for Scan API Failures (HTTP 5xx)
src/pan_mcp_relay/exceptions.py:108
↓ 1 callersClassStdioMcpServer
Stdio MCP Server
src/pan_mcp_relay/configuration.py:132
ClassBaseMcpServer
Base Class for all MCP Servers
src/pan_mcp_relay/configuration.py:125
ClassHttpMcpServerBase
Base class for HTTP MCP Servers (SSE, Streamable HTTP)
src/pan_mcp_relay/configuration.py:155
ClassInteractiveCommand
Enumeration of supported interactive commands used in the interactive_mode. These commands allow users to explore the available tools, execu
examples/clients/stdio/pan_security_relay_stdio_client.py:34
ClassMcpRelayValidationError
Exception for validation errors.
src/pan_mcp_relay/exceptions.py:89
ClassMcpServerInitializationError
Exception for Failed MCP Server initialization.
src/pan_mcp_relay/exceptions.py:73
ClassScanSource
src/pan_mcp_relay/security_scanner.py:64
ClassScanType
src/pan_mcp_relay/security_scanner.py:69
ClassTestConfig
Tests for the main Config Pydantic model.
tests/test_configuration.py:253
ClassTestMcpRelayConfig
Tests for the McpRelayConfig Pydantic model.
tests/test_configuration.py:65
ClassTestMcpServerTypes
Tests for the various McpServer Pydantic models.
tests/test_configuration.py:185
ClassTestPanSecurityRelay
Test suite for PanSecurityRelay.
tests/test_pan_security_relay.py:62
ClassToolState
Tool state enumeration.
src/pan_mcp_relay/tool.py:38
ClassTransportType
Enumeration of supported transport types for MCP communication. Attributes: stdio: Standard input/output transport using subprocess
src/pan_mcp_relay/constants.py:88