-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
58 lines (43 loc) · 1.77 KB
/
.env.example
File metadata and controls
58 lines (43 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Redfish MCP Server Configuration
# Copy this file to .env and modify the values as needed
# All configuration is validated on startup - see README.md for details
# Python path for the project
PYTHONPATH=src
# MCP Transport configuration
# Supported values: stdio, sse, streamable-http
MCP_TRANSPORT=stdio
# Redfish API endpoints configuration
# JSON array of endpoint objects - each endpoint must have an "address" field
# Additional fields per endpoint: port, username, password, auth_method, tls_server_ca_cert
# Example with multiple endpoints:
# REDFISH_HOSTS=[{"address": "192.168.1.100", "username": "admin1", "password": "secret1"}, {"address": "192.168.1.101", "port": 8443}]
REDFISH_HOSTS=[{"address": "192.168.1.100"}]
# Default Redfish API port
REDFISH_PORT=443
# Authentication method
# Supported values: basic, session
REDFISH_AUTH_METHOD=session
# Redfish credentials
REDFISH_USERNAME=admin
REDFISH_PASSWORD=your_password_here
# TLS Server CA certificate path (optional)
# REDFISH_SERVER_CA_CERT=/path/to/ca-cert.pem
# SSDP Discovery settings (optional)
# Enable automatic discovery of Redfish endpoints via SSDP
REDFISH_DISCOVERY_ENABLED=false
# Interval for SSDP discovery in seconds
REDFISH_DISCOVERY_INTERVAL=30
# Logging configuration
# Log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
MCP_REDFISH_LOG_LEVEL=INFO
# Retry configuration for Redfish operations
# Maximum number of retry attempts for failed requests
REDFISH_MAX_RETRIES=3
# Initial delay between retries in seconds
REDFISH_INITIAL_DELAY=1.0
# Maximum delay between retries in seconds
REDFISH_MAX_DELAY=60.0
# Backoff factor for exponential backoff (each retry delay = previous_delay * factor)
REDFISH_BACKOFF_FACTOR=2.0
# Enable jitter to avoid thundering herd problems (true/false)
REDFISH_JITTER=true=true