- Add portainer-environments server for environment/endpoint management - Add portainer-docker server for Docker and Swarm container operations - Add merged portainer server combining core + teams functionality - Fix JSON schema issues and API compatibility - Add comprehensive documentation for each server - Add .gitignore and .env.example for security 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
# Portainer Core MCP Server Configuration
|
|
|
|
# =============================================================================
|
|
# REQUIRED CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# Portainer instance URL (required)
|
|
# Examples:
|
|
# - https://portainer.example.com
|
|
# - https://portainer.company.com:9443
|
|
# - http://localhost:9000
|
|
PORTAINER_URL=https://your-portainer-instance.com
|
|
|
|
# Portainer API key for authentication (required)
|
|
# Generate this from Portainer UI: User settings > API tokens
|
|
# Example: ptr_XYZ123abc456def789
|
|
PORTAINER_API_KEY=your-api-key-here
|
|
|
|
# =============================================================================
|
|
# OPTIONAL CONFIGURATION
|
|
# =============================================================================
|
|
|
|
# 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
|
|
|
|
# MCP mode - disables stdout logging
|
|
MCP_MODE=true
|
|
|