
Chris CoutinhoandClaude Sonnet 4.5
4507359760
refactor(config): centralize configuration validation and simplify startup
Implement centralized configuration validation (ADR-020) to simplify
deployment mode detection and improve error messages.
Changes:
- Create ADR-020 documenting 5 deployment modes with required/optional config
- Add config_validators.py with validate_configuration() and mode detection
- Simplify app.py startup with single validation point at get_app()
- Remove duplicate is_oauth_mode() function (43 lines)
- Fix DeploymentMode mapping (only SELF_HOSTED and SMITHERY_STATELESS exist)
- Add comprehensive unit tests (41 tests covering all modes and edge cases)
- Add enable_multi_user_basic_auth to Settings and BasicAuthMiddleware
Docker Compose:
- Remove conflicting ENABLE_MULTI_USER_BASIC_AUTH from mcp-oauth service
- Add dedicated mcp-multi-user-basic service on port 8003
Test Results:
- 237/237 integration tests PASSED
- All deployment modes verified: single-user BasicAuth, multi-user BasicAuth,
OAuth single-audience, OAuth token exchange (Keycloak), Smithery stateless
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-20 20:49:28 +01:00
..
2025-11-11 20:35:08 +01:00
2025-12-13 15:47:27 +01:00
2025-10-17 04:30:03 +02:00
2025-12-13 23:51:18 +01:00
2025-11-11 20:01:49 +01:00
2025-11-03 02:18:30 +01:00
2025-11-23 00:33:32 +01:00
2025-12-18 00:02:08 +01:00
2025-10-24 04:38:49 +02:00
2025-12-20 20:49:28 +01:00
2025-10-24 01:04:30 +02:00
2025-11-23 04:02:30 +01:00
2025-11-11 23:42:00 +01:00
2025-10-14 01:23:39 +02:00