Skip to main content
Glama

CodeGraph CLI MCP Server

by Jakedismo
.env.example1.28 kB
# CodeGraph Security Configuration # Copy this file to .env and update the values for your environment # JWT Authentication JWT_SECRET=replace_with_secure_random_secret_minimum_32_characters_long JWT_EXPIRY_HOURS=24 # API Key Configuration API_KEY_PREFIX=cgk # Server Configuration HOST=127.0.0.1 PORT=8080 ENVIRONMENT=development # TLS/HTTPS Configuration (for production) # TLS_CERT_PATH=/path/to/certificate.pem # TLS_KEY_PATH=/path/to/private-key.pem # REQUIRE_TLS=true # Database Configuration # DATABASE_URL=postgresql://user:password@localhost/codegraph # REDIS_URL=redis://localhost:6379 # Rate Limiting RATE_LIMIT_ANONYMOUS=60 RATE_LIMIT_USER=1000 RATE_LIMIT_PREMIUM=5000 RATE_LIMIT_ADMIN=10000 # Security Settings MAX_REQUEST_SIZE=10485760 # 10MB SESSION_TIMEOUT_HOURS=24 PASSWORD_MIN_LENGTH=12 # Logging LOG_LEVEL=info SECURITY_LOG_LEVEL=warn LOG_FORMAT=json # Monitoring METRICS_ENABLED=true PROMETHEUS_PORT=9090 # OpenAI API (if using external AI services) # OPENAI_API_KEY=your_openai_api_key_here # OPENAI_ORG_ID=your_org_id_here # External Services # SENTRY_DSN=https://your-sentry-dsn # ANALYTICS_KEY=your_analytics_key # Development/Testing Only DEV_MODE=true DISABLE_AUTH=false # Never set to true in production! ENABLE_DEBUG_ENDPOINTS=false

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/Jakedismo/codegraph-rust'

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