.env.example•2 kB
# Firewalla MSP API Configuration
# Copy this file to .env and fill in your actual credentials
# Your Firewalla MSP API access token
# Get this from your MSP portal at https://yourdomain.firewalla.net
# Navigate to Account Settings > API Settings > Generate Personal Access Token
FIREWALLA_MSP_TOKEN=your_msp_access_token_here
# Your Firewalla MSP domain (e.g., yourdomain.firewalla.net)
# Format: yourdomain.firewalla.net (without https://)
FIREWALLA_MSP_ID=yourdomain.firewalla.net
# Optional: Your Firewalla Box Global ID (GID)
# This is optional - you can retrieve box IDs via the get_boxes tool
# If not provided, API calls will return data for all boxes you have access to
# Find this in the box details in your MSP portal
# Format: UUID like 1eb71e38-3a95-4371-8903-ace24c83ab49
# FIREWALLA_BOX_ID=your_box_gid_here
# Optional: Default Box ID for convenience tools
# Used as a default when box_id is not explicitly provided to tools
# FIREWALLA_DEFAULT_BOX_ID=your_default_box_gid_here
# Optional: API timeout in milliseconds (default: 30000)
FIREWALLA_API_TIMEOUT=30000
# Optional: Rate limit per minute (default: 100)
FIREWALLA_RATE_LIMIT=100
# Optional: Cache TTL in seconds (default: 300)
# Controls how long API responses are cached
FIREWALLA_CACHE_TTL=300
# Optional: Cache TTL environment variable alias (also accepts CACHE_TTL)
CACHE_TTL=300
# Optional: Transport configuration
# MCP_TRANSPORT: Transport type - 'stdio' for standard input/output (default) or 'http' for HTTP server
# Default: stdio
MCP_TRANSPORT=stdio
# MCP_HTTP_PORT: Port for HTTP server (only used when MCP_TRANSPORT=http)
# Default: 3000
MCP_HTTP_PORT=3000
# MCP_HTTP_PATH: Path for HTTP server endpoint (only used when MCP_TRANSPORT=http)
# Default: /mcp
MCP_HTTP_PATH=/mcp
# Optional: Debug settings
# Enable specific debug namespaces for troubleshooting
# DEBUG=firewalla:*
# DEBUG=cache,performance,api
# DEBUG=validation,error-handler
# DEBUG=query,optimization
# DEBUG=pipeline,data-processing