.env.example 898 B

12345678910111213141516171819202122232425
  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. # Optional: Restrict access to a specific repository (format: owner/repo)
  8. # When set, only this repository can be accessed and repo parameters become optional
  9. # Example: GOGS_REPO=myuser/myproject
  10. # GOGS_REPO=
  11. # Transport mode: 'stdio' (default) or 'http'
  12. # - stdio: For use with MCP clients (Claude Desktop, etc.)
  13. # - http: For HTTP-based access with SSE
  14. TRANSPORT_MODE=stdio
  15. # HTTP server configuration (only used when TRANSPORT_MODE=http)
  16. HTTP_PORT=3000
  17. HTTP_HOST=0.0.0.0
  18. # Node environment (automatically set in Docker, but can override)
  19. # NODE_ENV=production