Skip to main content
Glama
env.templateβ€’3.47 kB
# ============================================================================= # GHL MCP Server Environment Configuration Template # ============================================================================= # SETUP INSTRUCTIONS: # 1. Copy this file to .env in your project root # 2. Fill in your actual values below # 3. DO NOT commit your .env file with real credentials! # ============================================================================= # πŸ” REQUIRED: GoHighLevel API Configuration # ============================================================================= # Your GoHighLevel API base URL (usually doesn't need to change) GHL_API_BASE_URL=https://rest.gohighlevel.com/v1 # Your GoHighLevel API key (REQUIRED) # πŸ“ Find this at: GHL β†’ Settings β†’ API Keys (create or use existing) GHL_API_KEY=sk_your_primary_api_key_here # Your GoHighLevel sub-account ID (REQUIRED) # πŸ“ Find this: URL bar while inside the sub-account dashboard GHL_SUB_ACCOUNT_ID=abc123456789 # ============================================================================= # 🌐 Server Configuration # ============================================================================= # CORS allowed origins (use * for development, specific domains for production) ALLOWED_ORIGINS=* # MCP Server port (default: 8000) MCP_SERVER_PORT=8000 # MCP Server host (default: 0.0.0.0 for all interfaces) MCP_SERVER_HOST=0.0.0.0 # ============================================================================= # πŸ€– OPTIONAL: AI Integration # ============================================================================= # Anthropic API key for LangGraph agent examples # πŸ“ Get this from: https://console.anthropic.com/ ANTHROPIC_API_KEY=your_anthropic_api_key_here # ============================================================================= # πŸš€ OPTIONAL: Production Deployment # ============================================================================= # Ngrok authentication token (for tunneling during development) # NGROK_AUTHTOKEN=your_ngrok_token_here # Azure App Service URL (if deploying to Azure) # AZURE_APP_SERVICE_URL=https://your-app.azurewebsites.net # ============================================================================= # πŸ“‹ REFERENCE: GHL Scavenger Hunt Checklist # ============================================================================= # # To complete your setup, collect these from GoHighLevel: # # βœ… GHL_API_KEY β†’ GHL β†’ Settings β†’ API Keys # βœ… GHL_SUB_ACCOUNT_ID β†’ URL bar in sub-account dashboard # πŸ“‹ Webhook URLs β†’ Automations β†’ Webhook β†’ Copy URL # πŸ“‹ Pipeline/Funnel IDs β†’ Funnels β†’ Click β†’ Copy from URL # πŸ“‹ Contact IDs (testing) β†’ Contacts β†’ Click any β†’ Copy ID from URL # # ============================================================================= # ============================================================================= # πŸš€ QUICK START COMMANDS # ============================================================================= # # After setting up your .env file: # # 1. Install dependencies: # pip install -r requirements.txt # # 2. Start the MCP server: # python scripts/start_server.py # # 3. Test the server: # python examples/simple_client.py # # 4. Interactive testing: # python examples/simple_client.py interactive # # =============================================================================

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/JewelreyBoxAI/MCP-GHL'

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