validate_environment_config
Validates environment configuration for correctness and security, checking required fields, authentication, policies, and secrets. Returns errors and warnings for each environment.
Instructions
Validates the environments.json configuration file for correctness and security best practices.
Checks include:
Required fields (name, server, database for database-level; name, server for server-level)
Valid authentication mode configuration
Policy consistency (e.g., readonly + allowedTools including write tools)
Secret placeholder syntax
Access level configuration validity
Tier designation consistency
Returns validation results for each environment with errors and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | No | Specific environment name to validate. If omitted, validates all environments. |