Skip to main content
Glama

Document Retrieval MCP Server

.env.exampleโ€ข2.06 kB
# ==================== # REQUIRED ENVIRONMENT VARIABLES FOR FLY.IO # ==================== # Database Configuration (REQUIRED) # Direct PostgreSQL connection string to your Supabase database # Format: postgresql://[user]:[password]@[host]:[port]/[database] DATABASE_URL=postgresql://postgres.your-project:your-password@aws-0-region.pooler.supabase.com:5432/postgres # OpenAI Configuration (REQUIRED) # Your OpenAI API key for generating query embeddings OPENAI_API_KEY=sk-your-openai-api-key # ==================== # OPTIONAL ENVIRONMENT VARIABLES # ==================== # Supabase Configuration (OPTIONAL - use if you prefer Supabase client over direct DB) # Your Supabase project URL SUPABASE_URL=https://your-project.supabase.co # Your Supabase service role key (for admin operations) SUPABASE_API_KEY=your-service-role-key # Embedding Model Configuration # Model used for generating embeddings (must match your existing embeddings) EMBEDDING_MODEL=text-embedding-3-small # Dimension of the embeddings (1536 for text-embedding-3-small) VECTOR_DIMENSIONS=1536 # Connection Pool Settings # Minimum number of connections in the pool DB_POOL_MIN_SIZE=5 # Maximum number of connections in the pool DB_POOL_MAX_SIZE=20 # Query Settings # Maximum number of results to return per query MAX_RESULTS_LIMIT=20 # Minimum similarity score for results (0.0 to 1.0) DEFAULT_SIMILARITY_THRESHOLD=0.7 # Cache Settings # Time-to-live for cached metadata in seconds CACHE_TTL=300 # 5 minutes # Maximum number of items to cache CACHE_MAX_SIZE=1000 # Logging Configuration # Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL LOG_LEVEL=INFO # ==================== # FLY.IO DEPLOYMENT NOTES # ==================== # 1. Use 'flyctl secrets set' to configure environment variables # 2. Example: flyctl secrets set DATABASE_URL="..." --app presentation-retrieval-mcp # 3. Or use the provided deployment/secrets_setup.sh script # 4. Never commit actual values to Git - use Fly.io secrets management # 5. View current secrets: flyctl secrets list --app presentation-retrieval-mcp

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/Pramod-Potti-Krishnan/retriever_mcp'

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