# Gogs MCP Server Configuration # Required: URL of your Gogs server instance GOGS_SERVER_URL=https://your-gogs-server.com # Optional but recommended: Gogs access token for authenticated operations # Generate this from your Gogs instance: Settings → Applications → Generate New Token GOGS_ACCESS_TOKEN=your-access-token-here # Transport mode: 'stdio' (default) or 'http' # - stdio: For use with MCP clients (Claude Desktop, etc.) # - http: For HTTP-based access with SSE TRANSPORT_MODE=stdio # HTTP server configuration (only used when TRANSPORT_MODE=http) HTTP_PORT=3000 HTTP_HOST=0.0.0.0 # Node environment (automatically set in Docker, but can override) # NODE_ENV=production