feat: add log level configuration and validation

This commit is contained in:
Daniel Bauer
2025-12-02 13:26:20 +01:00
parent c75629e3ff
commit 9c9594367c
3 changed files with 22 additions and 2 deletions

View File

@@ -37,13 +37,14 @@ ensuring safe exploration without risk of data modification or corruption.
## Configuration
The MCP server can be configured using environment variables with the `CORDRA_` prefix:
The MCP server can be configured using environment variables:
- `CORDRA_BASE_URL` - Cordra server URL (default: `https://localhost:8443`)
- `CORDRA_USERNAME` - Username for authentication (optional)
- `CORDRA_PASSWORD` - Password for authentication (optional)
- `CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`)
- `CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`)
- `LOGLEVEL` - Logging level (default: `INFO`, options: `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`)
## Usage