# Proxmox MCP Server - Environment Variables # Copy this file to .env and fill in your values # --- Proxmox API Configuration --- # Base URL of your Proxmox VE instance (without https://) PROXMOX_URL=pve.local.example.io:8006 # Proxmox API User (e.g., "root@pam", "user@pve", "proxmox-mcp@pam") PROXMOX_USER=proxmox-mcp@pam # --- Token Authentication (Recommended) --- # IMPORTANT: Token ID is JUST the token name, NOT the full identifier! # If your full token is "proxmox-mcp@pam!mytoken", use only "mytoken" PROXMOX_TOKEN_ID=token # Token Secret Value (the long UUID-like string) PROXMOX_PASSWORD=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx # --- OR Password Authentication --- # If not using tokens, set PROXMOX_PASSWORD to the user's password # and leave PROXMOX_TOKEN_ID empty # --- SSL Verification --- # Set to 'true' in production, 'false' for self-signed certs in homelabs PROXMOX_VERIFY_SSL=false # --- MCP Transport Security --- # Comma-separated list of allowed Host header values (for reverse proxy access) # Supports wildcard ports with :* suffix (e.g., localhost:*) MCP_ALLOWED_HOSTS=hostname,localhost:*,127.0.0.1:*