diff --git a/README.md b/README.md index d2a46c4..576fe87 100644 --- a/README.md +++ b/README.md @@ -27,14 +27,14 @@ Currently, none. ## 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`) -- `MCP_CORDRA_USERNAME` - Username for authentication (optional) -- `MCP_CORDRA_PASSWORD` - Password for authentication (optional) -- `MCP_CORDRA_VERIFY_SSL` - SSL certificate verification (default: `true`) -- `MCP_CORDRA_TIMEOUT` - Request timeout in seconds (default: `30`) -- `MCP_CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`) +- `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`) +- `CORDRA_MAX_SEARCH_RESULTS` - Maximum search results (default: `1000`) ## Usage diff --git a/src/cordra_mcp/config.py b/src/cordra_mcp/config.py index 843130d..ee65b50 100644 --- a/src/cordra_mcp/config.py +++ b/src/cordra_mcp/config.py @@ -8,7 +8,7 @@ class CordraConfig(BaseSettings): """Configuration for connecting to a Cordra repository.""" model_config = SettingsConfigDict( - env_prefix="MCP_CORDRA_", + env_prefix="CORDRA_", case_sensitive=False, )