.env.example 687 B

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