Skip to main content
Glama
by DemoDaygit
.env.exampleβ€’4.14 kB
# MCP Business AI Transformation - Environment Configuration # Copy this file to .env and fill in your values # ============================================================================= # API Keys (Required for LLM Integration) # ============================================================================= # Cloud.ru Evolution Foundation Model API Key EVOLUTION_API_KEY=your_evolution_api_key_here # OpenAI API Key (optional, for OpenAI-compatible models) OPENAI_API_KEY=your_openai_api_key_here # HuggingFace API Key (optional, for HuggingFace models) HUGGINGFACE_API_KEY=your_huggingface_api_key_here # ============================================================================= # Security (Required for Production) # ============================================================================= # Secret key for JWT token generation (CHANGE THIS IN PRODUCTION!) SECRET_KEY=your-super-secret-key-change-in-production # ============================================================================= # Database Configuration # ============================================================================= # PostgreSQL connection URL DATABASE_URL=postgresql+asyncpg://postgres:password@localhost:5432/mcp_db # PostgreSQL credentials (used by docker-compose) POSTGRES_USER=postgres POSTGRES_PASSWORD=password POSTGRES_DB=mcp_db # ============================================================================= # Redis Configuration # ============================================================================= # Redis connection URL REDIS_URL=redis://localhost:6379 # ============================================================================= # Application Settings # ============================================================================= # Debug mode (set to false in production) DEBUG=true # Node environment NODE_ENV=development # Application host and port HOST=0.0.0.0 PORT=8000 # ============================================================================= # MCP Server Configuration # ============================================================================= # MCP Server URL (for agent system to connect) MCP_SERVER_URL=http://localhost:8000 # Maximum concurrent agents MAX_AGENTS=10 # Agent heartbeat interval (seconds) HEARTBEAT_INTERVAL=30 # Task timeout (seconds) TASK_TIMEOUT=300 # ============================================================================= # Monitoring Configuration # ============================================================================= # Enable Prometheus metrics ENABLE_METRICS=true # Metrics port METRICS_PORT=9090 # Jaeger tracing endpoint (optional) JAEGER_ENDPOINT=http://localhost:14268/api/traces # ============================================================================= # LLM Configuration # ============================================================================= # Default LLM provider (evolution, openai) DEFAULT_LLM_PROVIDER=evolution # Maximum tokens for LLM responses MAX_TOKENS=4000 # Default temperature for LLM TEMPERATURE=0.7 # ============================================================================= # Rate Limiting # ============================================================================= # Maximum requests per window RATE_LIMIT_REQUESTS=100 # Rate limit window (seconds) RATE_LIMIT_WINDOW=60 # ============================================================================= # Circuit Breaker # ============================================================================= # Failure threshold before opening circuit CIRCUIT_BREAKER_FAILURE_THRESHOLD=5 # Recovery timeout (seconds) CIRCUIT_BREAKER_RECOVERY_TIMEOUT=30 # ============================================================================= # RabbitMQ Configuration (Message Queue) # ============================================================================= RABBITMQ_DEFAULT_USER=admin RABBITMQ_DEFAULT_PASS=password # ============================================================================= # Grafana Configuration # ============================================================================= GF_SECURITY_ADMIN_PASSWORD=admin

Latest Blog Posts

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/DemoDaygit/mcp-biz'

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