Skip to main content
Glama

MCP Codebase Index

by NgoTaiCo
.env.example•1.8 kB
# ============================================ # MCP Codebase Index - Required Configuration # ============================================ # 1. REPO_PATH (Required) # Absolute path to your project directory REPO_PATH=/Users/you/Projects/your-project # 2. GEMINI_API_KEY (Required) # Get free at: https://aistudio.google.com/app/apikey GEMINI_API_KEY=AIzaSyC... # 3. QDRANT_URL (Required) # Your Qdrant Cloud cluster URL # Format: https://cluster-id.region.gcp.cloud.qdrant.io:6333 # Example: https://88ff41e9-133e-4a78-a664-274a90eebd58.us-east4-0.gcp.cloud.qdrant.io:6333 QDRANT_URL=https://your-cluster.gcp.cloud.qdrant.io:6333 # 4. QDRANT_API_KEY (Required) # Your Qdrant Cloud API key (JWT token) # Format: eyJhbGci... # Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3MiOiJtIn0.ajP06MkSp4hThyqkzyfRaZUisw2zyCesBZMhasm_qLw QDRANT_API_KEY=eyJhbGci... # ============================================ # Optional Configuration # ============================================ # Collection name in Qdrant (default: codebase) QDRANT_COLLECTION=codebase # Enable file watching (default: true) WATCH_MODE=true # Embedding batch size (default: 50) # Reduce if hitting rate limits BATCH_SIZE=50 # ============================================ # Setup Instructions # ============================================ # # 1. Get Gemini API Key: # - Go to https://aistudio.google.com/app/apikey # - Click "Create API Key" # - Copy the key # # 2. Create Qdrant Cloud Account: # - Sign up at https://cloud.qdrant.io # - Create a new cluster (free tier available) # - Copy cluster URL from dashboard # - Create API key in "API Keys" section # # 3. Copy this file to .env: # cp .env.example .env # # 4. Fill in your values above # # šŸ“– Detailed guide: QDRANT_CLOUD_SETUP.md

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/NgoTaiCo/mcp-codebase-index'

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