File tree Expand file tree Collapse file tree 3 files changed +133
-108
lines changed Expand file tree Collapse file tree 3 files changed +133
-108
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,14 @@ class Settings(BaseSettings):
49
49
"""MCP Gateway configuration settings."""
50
50
51
51
# Basic Settings
52
- app_name : str = Field ( "MCP_Gateway" , env = "APP_NAME" )
53
- host : str = Field ( "127.0.0.1" , env = "HOST" )
54
- port : int = Field ( 4444 , env = "PORT" )
52
+ app_name : str = "MCP_Gateway"
53
+ host : str = "127.0.0.1"
54
+ port : int = 4444
55
55
database_url : str = "sqlite:///./mcp.db"
56
56
templates_dir : Path = Path ("mcpgateway/templates" )
57
57
# Absolute paths resolved at import-time (still override-able via env vars)
58
- templates_dir : Path = Field (
59
- default = files ("mcpgateway" ) / "templates" ,
60
- env = "TEMPLATES_DIR" ,
61
- )
62
- static_dir : Path = Field (
63
- default = files ("mcpgateway" ) / "static" ,
64
- env = "STATIC_DIR" ,
65
- )
58
+ templates_dir : Path = files ("mcpgateway" ) / "templates"
59
+ static_dir : Path = files ("mcpgateway" ) / "static"
66
60
app_root_path : str = ""
67
61
68
62
# Protocol
You can’t perform that action at this time.
0 commit comments