-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy path.env.example
More file actions
22 lines (19 loc) · 1.14 KB
/
.env.example
File metadata and controls
22 lines (19 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Spark History Server MCP Configuration
# MCP Server Settings
SHS_MCP_PORT=18888 # Port for MCP server (default: 18888)
SHS_MCP_DEBUG=true # Enable debug mode (default: false)
SHS_MCP_ADDRESS=0.0.0.0 # Address for MCP server (default: localhost)
SHS_MCP_TRANSPORT=streamable-http
# Transport Security Settings (DNS rebinding protection)
# See: https://github.com/modelcontextprotocol/python-sdk/issues/1798
# SHS_MCP_TRANSPORT_SECURITY_ENABLE_DNS_REBINDING_PROTECTION=true
# SHS_MCP_TRANSPORT_SECURITY_ALLOWED_HOSTS=["localhost:*","127.0.0.1:*","your-gateway:*"]
# SHS_MCP_TRANSPORT_SECURITY_ALLOWED_ORIGINS=["http://localhost:*","http://127.0.0.1:*"]
# Spark History Server Settings
# SHS_SERVERS_*_URL - URL for a specific server
# SHS_SERVERS_*_AUTH_USERNAME - Username for a specific server
# SHS_SERVERS_*_AUTH_PASSWORD - Password for a specific server
# SHS_SERVERS_*_AUTH_TOKEN - Token for a specific server
# SHS_SERVERS_*_VERIFY_SSL - Whether to verify SSL for a specific server (true/false)
# SHS_SERVERS_*_TIMEOUT - HTTP request timeout in seconds for a specific server (default: 30)
# SHS_SERVERS_*_EMR_CLUSTER_ARN - EMR cluster ARN for a specific server