.env.example•1.64 kB
# GitHub MCP Server - Environment Configuration
# ==================================
#
# This file contains all environment variables used by the GitHub MCP Server
# Copy this file to '.env' and fill in the values
# ----------------------
# Required Configuration
# ----------------------
# GitHub Personal Access Token (required)
# Must be a valid GitHub token with appropriate permissions:
# - For public repositories: public_repo scope
# - For private repositories: repo scope
# - For organization management: admin:org scope
# You can create a token at: https://github.com/settings/tokens
GITHUB_TOKEN=ghp_your_github_personal_access_token_here
# ----------------------
# Optional Configuration
# ----------------------
# Logging Configuration
# Values: debug, info, warn, error, fatal
# Default: info
LOG_LEVEL=info
# Server Information
# These values are used in the MCP server metadata
SERVER_NAME=github-mcp-server
SERVER_VERSION=0.2.0
# API Configuration
# Timeout for GitHub API calls in milliseconds
# Default: 10000 (10 seconds)
API_TIMEOUT_MS=10000
# Rate Limiting Configuration
# GitHub API has rate limits that need to be respected
# Enable/disable rate limiting protection (true/false)
RATE_LIMIT_ENABLED=true
# Minimum remaining API calls before throttling
# Default: 50
MIN_RATE_LIMIT_REMAINING=50
# Buffer time in ms added to the rate limit reset time
# Default: 5000 (5 seconds)
RATE_LIMIT_RESET_BUFFER_MS=5000
# ----------------------
# Advanced Configuration
# ----------------------
# Additional configuration options may be added in future versions
# Check the documentation for the latest available settings