Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaloAltoNetworks/pan-mcp-relay
/ types & classes
Types & classes
45 in github.com/PaloAltoNetworks/pan-mcp-relay
⨍
Functions
304
◇
Types & classes
45
↳
Endpoints
28
↓ 56 callers
Class
InternalTool
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 callers
Class
ToolRegistry
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 callers
Class
SecurityScanner
src/pan_mcp_relay/security_scanner.py:75
↓ 8 callers
Class
McpRelayConfigurationError
Exception for invalid configuration errors.
src/pan_mcp_relay/exceptions.py:46
↓ 7 callers
Class
Config
Configuration for the MCP Relay.
src/pan_mcp_relay/configuration.py:314
↓ 6 callers
Class
McpRelayConfig
Configuration for the MCP Relay.
src/pan_mcp_relay/configuration.py:223
↓ 5 callers
Class
PanSecurityRelay
Main relay server class that orchestrates tool execution and security scanning.
src/pan_mcp_relay/pan_security_relay.py:86
↓ 4 callers
Class
McpRelayConfigurationErrorGroup
Use to raise multiple configuration errors simultainuously.
src/pan_mcp_relay/exceptions.py:66
↓ 4 callers
Class
McpRelayInternalError
Exception for internal errors.
src/pan_mcp_relay/exceptions.py:39
↓ 3 callers
Class
McpRelayBaseError
Base exception class for mcp-relay-related exceptions.
src/pan_mcp_relay/exceptions.py:20
↓ 3 callers
Class
McpRelaySecurityBlockError
Exception for security block errors.
src/pan_mcp_relay/exceptions.py:112
↓ 3 callers
Class
UnexpandedVariableError
Exception for unexpanded environment variable errors.
src/pan_mcp_relay/exceptions.py:62
↓ 2 callers
Class
HttpMcpServer
Streamable HTTP MCP Server
src/pan_mcp_relay/configuration.py:213
↓ 2 callers
Class
McpRelayScanError
Exception for scan failure errors.
src/pan_mcp_relay/exceptions.py:100
↓ 2 callers
Class
SseMcpServer
SSE MCP Server
src/pan_mcp_relay/configuration.py:207
↓ 1 callers
Class
APIAuth
src/pan_mcp_relay/security_scanner.py:49
↓ 1 callers
Class
AiProfileError
Exception for invalid AI profile errors.
src/pan_mcp_relay/exceptions.py:58
↓ 1 callers
Class
ApiEndpointError
Exception for invalid API endpoint errors.
src/pan_mcp_relay/exceptions.py:54
↓ 1 callers
Class
ApiKeyError
Exception for invalid API key errors.
src/pan_mcp_relay/exceptions.py:50
↓ 1 callers
Class
CustomAliasGenerator
src/pan_mcp_relay/configuration.py:57
↓ 1 callers
Class
InputObject
tests/test_downstream_mcp_client.py:630
↓ 1 callers
Class
McpRelayServerNotFoundError
Exception for server not found errors.
src/pan_mcp_relay/exceptions.py:85
↓ 1 callers
Class
McpRelayToolExecutionError
Exception for tool execution errors.
src/pan_mcp_relay/exceptions.py:77
↓ 1 callers
Class
McpRelayToolNotFoundError
Exception for tool not found errors.
src/pan_mcp_relay/exceptions.py:81
↓ 1 callers
Class
McpRelayToolRegistryError
Exception for tool registry errors.
src/pan_mcp_relay/exceptions.py:93
↓ 1 callers
Class
PanSecurityRelayStdioClient
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 callers
Class
RelayClient
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 callers
Class
RelaySessionGroup
src/pan_mcp_relay/client/session_group.py:43
↓ 1 callers
Class
ResponseObject
tests/test_downstream_mcp_client.py:615
↓ 1 callers
Class
ScanApiAuthenticationError
Exception for Scan API Authentication Failures (HTTP 4xx)
src/pan_mcp_relay/exceptions.py:104
↓ 1 callers
Class
ScanApiInternalError
Exception for Scan API Failures (HTTP 5xx)
src/pan_mcp_relay/exceptions.py:108
↓ 1 callers
Class
StdioMcpServer
Stdio MCP Server
src/pan_mcp_relay/configuration.py:132
Class
BaseMcpServer
Base Class for all MCP Servers
src/pan_mcp_relay/configuration.py:125
Class
HttpMcpServerBase
Base class for HTTP MCP Servers (SSE, Streamable HTTP)
src/pan_mcp_relay/configuration.py:155
Class
InteractiveCommand
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
Class
McpRelayValidationError
Exception for validation errors.
src/pan_mcp_relay/exceptions.py:89
Class
McpServerInitializationError
Exception for Failed MCP Server initialization.
src/pan_mcp_relay/exceptions.py:73
Class
ScanSource
src/pan_mcp_relay/security_scanner.py:64
Class
ScanType
src/pan_mcp_relay/security_scanner.py:69
Class
TestConfig
Tests for the main Config Pydantic model.
tests/test_configuration.py:253
Class
TestMcpRelayConfig
Tests for the McpRelayConfig Pydantic model.
tests/test_configuration.py:65
Class
TestMcpServerTypes
Tests for the various McpServer Pydantic models.
tests/test_configuration.py:185
Class
TestPanSecurityRelay
Test suite for PanSecurityRelay.
tests/test_pan_security_relay.py:62
Class
ToolState
Tool state enumeration.
src/pan_mcp_relay/tool.py:38
Class
TransportType
Enumeration of supported transport types for MCP communication. Attributes: stdio: Standard input/output transport using subprocess
src/pan_mcp_relay/constants.py:88