# Gitea MCP Remote - Docker Environment Configuration # # Copy this file to .env and fill in your values: # cp .env.example .env # ============================================================================= # Required Configuration # ============================================================================= # Gitea instance URL (e.g., https://gitea.example.com) GITEA_URL=https://gitea.example.com # Gitea API token for authentication # Generate at: Settings -> Applications -> Generate New Token GITEA_TOKEN=your_gitea_api_token_here # Default repository owner/organization GITEA_OWNER=your_username_or_org # ============================================================================= # Optional Configuration # ============================================================================= # Default repository name (optional - can be specified per-request) GITEA_REPO= # Bearer token for MCP endpoint authentication (optional) # If set, clients must include "Authorization: Bearer " header AUTH_TOKEN= # MCP authentication mode: 'required', 'optional', or 'none' MCP_AUTH_MODE=optional # Tool filtering (optional, comma-separated) # ENABLED_TOOLS=list_issues,create_issue,list_labels # DISABLED_TOOLS=delete_issue,delete_label ENABLED_TOOLS= DISABLED_TOOLS=