Skip to main content
Glama
.env.exampleβ€’1.48 kB
# MCPM Environment Variables # Copy this file to .env and fill in your actual values # NEVER commit the .env file to git! # ============================================ # LLM API KEYS # ============================================ # X.AI Grok API Key (required for GROK LLM) # Get yours at: https://console.x.ai/ XAI_API_KEY=your_xai_api_key_here # OpenAI API Key (optional, for GPT models) # Get yours at: https://platform.openai.com/api-keys OPENAI_API_KEY=your_openai_api_key_here # Anthropic API Key (optional, for Claude models) # Get yours at: https://console.anthropic.com/ ANTHROPIC_API_KEY=your_anthropic_api_key_here # ============================================ # GITHUB CONFIGURATION (optional) # ============================================ # GitHub Personal Access Token (optional, for GitHub API features) # Create at: https://github.com/settings/tokens # Scopes needed: repo, read:org # NOTE: For git push/pull, use git credential helper instead! GITHUB_TOKEN=your_github_token_here # ============================================ # API SERVER CONFIGURATION # ============================================ # FastAPI Server Host (default: 0.0.0.0) API_HOST=0.0.0.0 # FastAPI Server Port (default: 8456) API_PORT=8456 # Enable auto-reload in development (default: false) API_RELOAD=false # CORS allowed origins (default: *) # For production, restrict to specific domains: # CORS_ORIGINS=https://yourdomain.com,https://app.yourdomain.com CORS_ORIGINS=*

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/mikeychann-hash/MCPM'

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