Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaloAltoNetworks/pan-mcp-relay
/ endpoints
Endpoints
28 in github.com/PaloAltoNetworks/pan-mcp-relay
⨍
Functions
304
◇
Types & classes
45
↳
Endpoints
28
Route
cli
click.option( "api_key", "-k", "--api-key", envvar=ENV_API_KEY, help=format_env_help("Pris
src/pan_mcp_relay/main.py:None
Route
json_schema
click.option( "output", "-o", "--output", default=None, type=click.Path(dir_okay=False, wr
src/pan_mcp_relay/main.py:None
Route
relay
patch("pan_mcp_relay.pan_security_relay.RelaySessionGroup", new_callable=MagicMock)
tests/test_pan_security_relay.py:None
Route
show_config
click.option("include_api_key", "--include-api-key", is_flag=True, help="Include API key in output")
src/pan_mcp_relay/main.py:None
Route
test_api_rate_limit_error
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_cleanup_server_with_exception
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_clear_registry_logging
patch("pan_mcp_relay.tool_registry.logger")
tests/test_tool_registry.py:None
Route
test_downstream_mcp_client_initialization_logging
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_execute_tool_echo_success
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_execute_tool_fixed_response_success
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_execute_tool_server_error_with_retry
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_execute_tool_slow_response_success
patch("pan_mcp_relay.downstream_mcp_client.log", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_init
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_initialize_echo_server_success
patch("pan_mcp_relay.downstream_mcp_client.stdio_client", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_initialize_server_environment_variables
patch("pan_mcp_relay.downstream_mcp_client.stdio_client", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_initialize_sse_server_failure
patch("pan_mcp_relay.downstream_mcp_client.sse_client")
tests/test_downstream_mcp_client.py:None
Route
test_initialize_sse_server_success
patch("pan_mcp_relay.downstream_mcp_client.sse_client", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_initialize_stdio_server_failure
patch("pan_mcp_relay.downstream_mcp_client.stdio_client", autospec=True)
tests/test_downstream_mcp_client.py:None
Route
test_invalid_api_key_error
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_mcp_relay_config__with_invalid_data__raises_validation_error
pytest.mark.parametrize( "field, value, error_message", [ ("api_endpoint", "not-a-
tests/test_configuration.py:None
Route
test_perform_scan_error_empty_content_list
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_perform_scan_error_initialize_raises_exception
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_perform_scan_error_scan_result_is_error
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_perform_scan_success_allow
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_perform_scan_success_block
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=AsyncMock, )
tests/test_security_scanner.py:None
Route
test_should_block
patch( "pan_mcp_relay.downstream_mcp_client.DownstreamMcpClient", new_callable=Mock, )
tests/test_security_scanner.py:None
Route
test_tool_registry_initialization_logging
patch("pan_mcp_relay.tool_registry.logger")
tests/test_tool_registry.py:None
Route
test_update_registry_logging
patch("pan_mcp_relay.tool_registry.logger")
tests/test_tool_registry.py:None