mirror of
https://github.com/dnlbauer/cordra-mcp.git
synced 2026-09-10 21:55:30 +00:00
feat: remove .env parsing du to clashes with projects using .env
This commit is contained in:
@@ -27,7 +27,7 @@ Currently, none.
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
The MCP server can be configured using environment variables with the `MCP_CORDRA_` prefix or a `.env` file:
|
The MCP server can be configured using environment variables with the `MCP_CORDRA_` prefix:
|
||||||
|
|
||||||
- `MCP_CORDRA_BASE_URL` - Cordra server URL (default: `https://localhost:8443`)
|
- `MCP_CORDRA_BASE_URL` - Cordra server URL (default: `https://localhost:8443`)
|
||||||
- `MCP_CORDRA_USERNAME` - Username for authentication (optional)
|
- `MCP_CORDRA_USERNAME` - Username for authentication (optional)
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ class CordraConfig(BaseSettings):
|
|||||||
|
|
||||||
model_config = SettingsConfigDict(
|
model_config = SettingsConfigDict(
|
||||||
env_prefix="MCP_CORDRA_",
|
env_prefix="MCP_CORDRA_",
|
||||||
env_file=".env",
|
|
||||||
env_file_encoding="utf-8",
|
|
||||||
case_sensitive=False,
|
case_sensitive=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user