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
Implement Health as single source of truth for server state by adding
two new action types that detect and surface configuration issues:
- set_secret: Shown when a server references an unresolved secret
(e.g., ${env:MISSING_TOKEN}). Detail field contains the secret name.
- configure: Shown when OAuth configuration has parameter errors
(e.g., missing RFC 8707 resource parameter).
Changes:
- Add ActionSetSecret/ActionConfigure constants and extraction helpers
- Extend HealthCalculatorInput with MissingSecret/OAuthConfigErr fields
- Add detection logic in CalculateHealth() with unit tests
- Refactor Doctor() to aggregate diagnostics from Health.Action
- Add action buttons in ServerCard.vue and Dashboard.vue
- Update CLI hints in upstream_cmd.go for new actions
- Update TypeScript types and swagger.yaml documentation
This ensures CLI (mcpproxy doctor), Web UI, and MCP tools all show
consistent health information derived from the same source.
0 commit comments