36 lines
762 B
Plaintext
36 lines
762 B
Plaintext
# Portainer Core MCP Server Configuration
|
|
|
|
# Portainer connection settings
|
|
PORTAINER_URL=https://your-portainer-instance.com
|
|
|
|
# Authentication settings (choose one method)
|
|
# Method 1: API Key authentication (recommended)
|
|
PORTAINER_API_KEY=your-api-key-here
|
|
|
|
# Method 2: Username/Password authentication
|
|
# PORTAINER_USERNAME=admin
|
|
# PORTAINER_PASSWORD=your-password-here
|
|
|
|
# HTTP client settings
|
|
HTTP_TIMEOUT=30
|
|
MAX_RETRIES=3
|
|
RETRY_DELAY=1.0
|
|
|
|
# Circuit breaker settings
|
|
CIRCUIT_BREAKER_FAILURE_THRESHOLD=5
|
|
CIRCUIT_BREAKER_RECOVERY_TIMEOUT=60
|
|
|
|
# Token management settings
|
|
TOKEN_CACHE_TTL=3600
|
|
TOKEN_REFRESH_THRESHOLD=300
|
|
|
|
# Logging settings
|
|
LOG_LEVEL=INFO
|
|
LOG_FORMAT=json
|
|
|
|
# Development settings
|
|
DEBUG=false
|
|
|
|
# Server settings
|
|
SERVER_HOST=localhost
|
|
SERVER_PORT=8000 |