Revert "feat: change settings prefix to avoid clashes with projects using cordra"

This reverts commit 35d304a6c4.
This commit is contained in:
Daniel Bauer
2025-06-30 13:14:21 +02:00
parent 0fd86775ac
commit 744efc7e57
2 changed files with 8 additions and 8 deletions

View File

@@ -27,14 +27,14 @@ Currently, none.
## Configuration ## Configuration
The MCP server can be configured using environment variables with the `MCP_CORDRA_` prefix: The MCP server can be configured using environment variables with the `CORDRA_` prefix:
- `MCP_CORDRA_BASE_URL` - Cordra server URL (default: `https://localhost:8443`) - `CORDRA_BASE_URL` - Cordra server URL (default: `https://localhost:8443`)
- `MCP_CORDRA_USERNAME` - Username for authentication (optional) - `CORDRA_USERNAME` - Username for authentication (optional)
- `MCP_CORDRA_PASSWORD` - Password for authentication (optional) - `CORDRA_PASSWORD` - Password for authentication (optional)
- `MCP_CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`) - `CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`)
- `MCP_CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`) - `CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`)
- `MCP_CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`) - `CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`)
## Usage ## Usage

View File

@@ -8,7 +8,7 @@ class CordraConfig(BaseSettings):
"""Configuration for connecting to a Cordra repository.""" """Configuration for connecting to a Cordra repository."""
model_config = SettingsConfigDict( model_config = SettingsConfigDict(
env_prefix="MCP_CORDRA_", env_prefix="CORDRA_",
case_sensitive=False, case_sensitive=False,
) )