You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(config): make OAuth callback port configurable (#39) (#48)
Port 8000 conflicts with common dev servers (Next.js, etc). Add a minimal
config.json with oauth_port setting, change the default to 8100, and
improve the port-conflict error message.
- Add Config struct, LoadConfig/WriteDefaultConfig to internal/config
- Extract resolveOAuthPort() with resolution order: env var → config.json → default
- Validate port range 1-65535 for both env var and config paths
- `gsuite-mcp init` now creates config.json with defaults
- `gsuite-mcp check` shows resolved OAuth port (with env override note)
- `gsuite-mcp help` shows config.json path and GSUITE_MCP_OAUTH_PORT env var
- Update README, INSTALLATION.md, and AGENTS.md documentation
0 commit comments