
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-12-18 00:42:59 +01:00
2025-12-19 13:57:33 +01:00
2025-12-19 13:57:33 +01:00
2025-12-18 00:44:58 +01:00
2025-11-13 21:57:14 +01:00
2025-11-22 16:58:35 +01:00
2025-11-22 19:47:43 +01:00
2025-12-18 00:01:29 +01:00
2025-12-18 00:44:58 +01:00
2025-12-08 01:09:02 +01:00
2025-12-18 00:44:58 +01:00
2025-12-18 00:44:58 +01:00
2025-10-25 19:52:45 +02:00
2025-12-18 00:44:58 +01:00
2025-05-04 23:24:55 +02:00
2025-12-20 20:49:28 +01:00
2025-12-18 00:02:09 +01:00
2025-12-20 20:49:28 +01:00
2025-12-20 20:49:28 +01:00
2025-11-22 18:22:55 +01:00
2025-12-18 00:42:59 +01:00
2025-11-22 17:30:42 +01:00