.env.example•2.69 kB
# Scraper MCP Environment Configuration
# Copy this file to .env and configure as needed
# ============================================================================
# Proxy Configuration (Optional)
# ============================================================================
# Configure HTTP/HTTPS proxy for all outbound requests
# Uncomment and set these variables if you need to route traffic through a proxy
# HTTP proxy for non-SSL requests
# HTTP_PROXY=http://proxy.example.com:8080
# http_proxy=http://proxy.example.com:8080
# HTTPS proxy for SSL requests
# HTTPS_PROXY=http://proxy.example.com:8080
# https_proxy=http://proxy.example.com:8080
# Proxy with authentication (if required)
# HTTP_PROXY=http://username:password@proxy.example.com:8080
# HTTPS_PROXY=http://username:password@proxy.example.com:8080
# Bypass proxy for specific hosts (comma-separated)
# NO_PROXY=localhost,127.0.0.1,.local
# no_proxy=localhost,127.0.0.1,.local
# ============================================================================
# ScrapeOps Proxy Configuration (Optional)
# ============================================================================
# ScrapeOps provides advanced proxy services with JavaScript rendering,
# residential proxies, and anti-bot bypass. Automatically enabled when API key is set.
# Get your API key at: https://scrapeops.io/
# ScrapeOps API key (required to enable ScrapeOps)
# SCRAPEOPS_API_KEY=your_api_key_here
# Enable JavaScript rendering (default: false)
# Useful for SPAs and sites that load content dynamically
# SCRAPEOPS_RENDER_JS=true
# Use residential proxies instead of datacenter (default: false)
# Residential proxies are less likely to be blocked but slower
# SCRAPEOPS_RESIDENTIAL=true
# Target country for geo-located requests (optional)
# Examples: us, gb, de, fr, jp, au
# SCRAPEOPS_COUNTRY=us
# Keep original request headers (default: false)
# If false, ScrapeOps will optimize headers for better success rate
# SCRAPEOPS_KEEP_HEADERS=true
# Device type for user agent rotation (default: desktop)
# Options: desktop, mobile, tablet
# SCRAPEOPS_DEVICE=mobile
# ============================================================================
# Server Configuration (Optional)
# ============================================================================
# These can be overridden if needed, but defaults work for most use cases
# Transport type: streamable-http or sse
# TRANSPORT=streamable-http
# Host to bind to (0.0.0.0 for all interfaces)
# HOST=0.0.0.0
# Port to listen on
# PORT=8000
# Cache directory path (inside container)
# CACHE_DIR=/app/cache
# Enable cache management tools (default: false)
# ENABLE_CACHE_TOOLS=true