# Netmind Web3 MCP Server Environment Variables
# Copy this file to .env and fill in your actual values
# ============================================================================
# Backend Module Configuration
# ============================================================================
# Required for: query_token_addressList tool
#
# Required: The backend base URL (domain only, route path is appended in code)
BACKEND_BASE_URL=https://your-backend-api.com
# Optional: Backend API timeout in seconds (default: 10.0)
# BACKEND_TIMEOUT=10.0
# ============================================================================
# CoinGecko Module Configuration
# ============================================================================
# Required for: query_coingecko_market_data tool
#
# Required: CoinGecko Pro API Key (format: CG-xxxxx)
# Get your API key from: https://www.coingecko.com/en/api
COINGECKO_API_KEY=CG-your-api-key-here
# Optional: CoinGecko API timeout in seconds (default: 10.0)
# COINGECKO_TIMEOUT=10.0
# Optional: Maximum concurrent requests to CoinGecko API (default: 10)
# Lower this value if you encounter rate limiting issues
# COINGECKO_MAX_CONCURRENT=10
# Optional: Custom CoinGecko API base URL
# Only change this if using a custom CoinGecko API endpoint
# COINGECKO_BASE_URL=https://pro-api.coingecko.com/api/v3
# ============================================================================
# Sugar Module Configuration
# ============================================================================
# Required for: Sugar DeFi data query tools
#
# Required: Private key for the SUGAR service
SUGAR_PK=your-private-key-here
# Required: RPC URI for Base chain (required for blockchain interactions)
SUGAR_RPC_URI_8453=https://your-base-rpc-endpoint
# Optional: Skip cache initialization during development (default: false)
# SKIP_CACHE_INIT=false
# Optional: Cache duration in minutes (default: 30)
# SUGAR_CACHE_DURATION_MINUTES=30
# Optional: Comma-separated list of chain IDs to cache (default: 8453)
# Only cache Base chain to reduce memory usage
# SUGAR_CACHE_ENABLED_CHAINS=8453
# Optional: Filter out pools with invalid data (default: true)
# SUGAR_CACHE_FILTER_INVALID_POOLS=true
# ============================================================================
# Server Configuration
# ============================================================================
# Optional: MCP transport mode - "stdio" or "sse" (default: sse)
# - sse: Server-Sent Events (for remote connections, default)
# - stdio: Standard input/output (for local development)
# MCP_TRANSPORT=sse
# Optional: Server host (only used for SSE transport, default: 127.0.0.1)
# Use "0.0.0.0" to listen on all interfaces
# MCP_HOST=127.0.0.1
# Optional: Server port (only used for SSE transport, default: 8000)
# MCP_PORT=8000