| 12345678910111213141516171819202122232425 |
- # 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
- # Optional: Restrict access to a specific repository (format: owner/repo)
- # When set, only this repository can be accessed and repo parameters become optional
- # Example: GOGS_REPO=myuser/myproject
- # GOGS_REPO=
- # 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
|