-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
81 lines (60 loc) · 3.08 KB
/
env.example
File metadata and controls
81 lines (60 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# 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
# Required for: query_investment_pool_json tool
# Required: Pool key for investment pool JSON API authentication
BACKEND_POOL_KEY=your-pool-key-here
# 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
# Optional: Enable Bearer token authentication for SSE/Streamable HTTP
# When set, clients must send: Authorization: Bearer <token>
# MCP_AUTH_TOKEN=your-shared-token