mirror of
https://github.com/dnlbauer/cordra-mcp.git
synced 2026-09-10 13:45:30 +00:00
Revert "feat: change settings prefix to avoid clashes with projects using cordra"
This reverts commit 35d304a6c4.
This commit is contained in:
14
README.md
14
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
|
||||
|
||||
|
||||
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user