Skip to main content
Glama
.env.example•2.17 kB
# ========================================== # MCP Server Configuration # Copy this file to .env and fill in your values # ========================================== # ========================================== # LangGraph Agent Configuration # ========================================== LANGGRAPH_BASE_URL=http://localhost:2024 # ========================================== # MCP Server Configuration # ========================================== MCP_HOST=0.0.0.0 MCP_PORT=8000 MCP_TRANSPORT=sse MCP_LOG_LEVEL=INFO # ========================================== # OAuth 2.0 Configuration (Optional) # ========================================== # Enable OAuth authentication (set to 'true' to enable) OAUTH_ENABLED=false # OAuth Provider: 'google' or 'okta' OAUTH_PROVIDER=google # Google OAuth Credentials # Get these from: https://console.cloud.google.com/apis/credentials GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com GOOGLE_CLIENT_SECRET=your-google-client-secret # Okta OAuth Credentials # Get these from: https://your-domain.okta.com/admin/apps OKTA_DOMAIN=your-domain.okta.com OKTA_CLIENT_ID=your-okta-client-id OKTA_CLIENT_SECRET=your-okta-client-secret # OAuth Redirect URI (must match provider configuration) # For Google: Set in Google Cloud Console # For Okta: Set in Okta Application settings OAUTH_REDIRECT_URI=http://localhost:8000/auth/callback # Secret key for session management (generate a random string) # You can generate one with: python -c "import secrets; print(secrets.token_urlsafe(32))" SECRET_KEY=your-secret-key-here # ========================================== # API Key Authentication (Optional) # ========================================== # Comma-separated list of valid API keys # Example: API_KEYS=key1,key2,key3 # Generate keys with: python -c "import secrets; print(secrets.token_urlsafe(32))" API_KEYS= # ========================================== # Production Settings (for deployment) # ========================================== # Set to 'true' in production PRODUCTION=false # SSL/TLS Certificates (required for production with HTTPS) SSL_CERTFILE=/path/to/cert.pem SSL_KEYFILE=/path/to/key.pem

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/bmaranan75/mcp-shopping-assistant-py'

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