Skip to main content
Glama

CodeCompass MCP

MIT License
2
  • Linux
  • Apple
.env.example2.29 kB
# GitHub API Configuration # Required for repository analysis # Get your token from: https://github.com/settings/tokens GITHUB_TOKEN=your_github_token_here # Alternative GitHub API key (if different from token) GITHUB_API_KEY=your_github_api_key_here # OpenAI API Configuration (Optional) # Required for AI-powered features like chat, explanations, and suggestions # Get your key from: https://platform.openai.com/api-keys OPENAI_API_KEY=your_openai_api_key_here # OpenRouter API Configuration (Alternative to OpenAI) # Provides access to multiple AI models # Get your key from: https://openrouter.ai/keys OPENROUTER_API_KEY=your_openrouter_api_key_here # AI Model Configuration # Default model to use for AI features # Options: anthropic/claude-3.5-sonnet, openai/gpt-4o, etc. AI_MODEL=anthropic/claude-3.5-sonnet # Server Configuration # Port for the MCP server (if running in standalone mode) MCP_PORT=3001 # Debug Configuration # Enable debug logging DEBUG=codecompass:* # Cache Configuration # Cache duration in milliseconds CACHE_DURATION=3600000 # Rate Limiting # Maximum requests per minute RATE_LIMIT=100 # Security Configuration # Maximum file size for analysis (in bytes) MAX_FILE_SIZE=10485760 # Maximum total analysis size (in bytes) MAX_ANALYSIS_SIZE=524288000 # Enable/disable security checks ENABLE_SECURITY_CHECKS=true # Performance Configuration # Maximum concurrent GitHub API requests MAX_CONCURRENT_REQUESTS=10 # Request timeout in milliseconds REQUEST_TIMEOUT=30000 # Memory limits # Maximum memory usage for analysis MAX_MEMORY_USAGE=2048 # Logging Configuration # Log level: error, warn, info, debug, trace LOG_LEVEL=info # Log file path (optional) LOG_FILE=./logs/codecompass.log # Feature Flags # Enable/disable specific features ENABLE_AI_FEATURES=true ENABLE_REFACTORING=true ENABLE_TEMPLATE_GENERATION=true ENABLE_COMPONENT_EXTRACTION=true # Advanced Configuration # Custom user agent for GitHub API requests USER_AGENT=CodeCompass-MCP/1.0.0 # Custom base URL for GitHub API (for GitHub Enterprise) GITHUB_API_BASE_URL=https://api.github.com # Webhook configuration (if using webhooks for updates) WEBHOOK_SECRET=your_webhook_secret_here # Analytics configuration (optional) ANALYTICS_ENABLED=false ANALYTICS_API_KEY=your_analytics_key_here

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/TheAlchemist6/codecompass-mcp'

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