Skip to main content
Glama

Path of Exile 2 Build Optimizer MCP

.env.example1.98 kB
# Server Configuration HOST=127.0.0.1 PORT=8080 DEBUG=true ENV=development # Database DATABASE_URL=sqlite:///data/poe2_optimizer.db DB_POOL_SIZE=10 DB_ECHO=false # Redis Cache (optional) REDIS_URL=redis://localhost:6379/0 REDIS_ENABLED=false # API Keys POE_CLIENT_ID=your_poe_oauth_client_id POE_CLIENT_SECRET=your_poe_oauth_client_secret # Trade API Authentication # AUTOMATED SETUP (Recommended): # Run: python scripts/setup_trade_auth.py # This will open a browser, let you log in, and automatically extract your cookie! # See TRADE_AUTH_SETUP_GUIDE.md for details. # # MANUAL SETUP (Fallback): # 1. Login to pathofexile.com in your browser # 2. Open DevTools (F12) -> Application/Storage -> Cookies # 3. Find cookie named "POESESSID" and copy its value # 4. Paste the value here (it's a 32-character hex string) POESESSID= # AI Configuration AI_PROVIDER=anthropic ANTHROPIC_API_KEY=your_anthropic_api_key_here OPENAI_API_KEY=your_openai_api_key_here # Optional alternative AI_MODEL=claude-sonnet-4-20250514 AI_MAX_TOKENS=4096 AI_TEMPERATURE=0.7 # Rate Limiting POE_API_RATE_LIMIT=10 # requests per minute POE2DB_RATE_LIMIT=30 ENABLE_CACHING=true CACHE_TTL=3600 # seconds # Feature Flags ENABLE_TRADE_INTEGRATION=true ENABLE_POB_EXPORT=true ENABLE_AI_INSIGHTS=true ENABLE_BUILD_SHARING=true # Web Interface WEB_PORT=3000 CORS_ORIGINS=http://localhost:3000,http://127.0.0.1:3000 MAX_SAVED_BUILDS_PER_USER=50 # Logging LOG_LEVEL=INFO LOG_FILE=logs/poe2_optimizer.log LOG_ROTATION=100 MB LOG_RETENTION=7 days # Security SECRET_KEY=your-secret-key-change-in-production ENCRYPTION_KEY=your-encryption-key-change-in-production SESSION_TIMEOUT=86400 # 24 hours # Performance MAX_WORKERS=4 REQUEST_TIMEOUT=30 CALCULATION_TIMEOUT=10 # Data Sources POE2DB_BASE_URL=https://poe2db.tw POE_NINJA_BASE_URL=https://poe.ninja POE_OFFICIAL_API=https://www.pathofexile.com/api # Monitoring (optional) SENTRY_DSN= PROMETHEUS_ENABLED=false PROMETHEUS_PORT=9090

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HivemindOverlord/poe2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server