File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ dependencies = [
20
20
" efel" ,
21
21
" fastapi" ,
22
22
" matplotlib" ,
23
+ " mcp" ,
23
24
" neurom" ,
24
25
" numpy<2" ,
25
26
" obp-accounting-sdk" ,
Original file line number Diff line number Diff line change 1
1
"""Configuration."""
2
2
3
3
import os
4
+ from pathlib import Path
4
5
from typing import Any , Literal , Optional
5
6
6
7
from dotenv import dotenv_values
@@ -240,6 +241,12 @@ def disable_if_no_url(cls, data: Any) -> Any:
240
241
return data
241
242
242
243
244
+ class SettingsMCP (BaseModel ):
245
+ """Settings for the MCP."""
246
+
247
+ config_path : Path | None = None
248
+
249
+
243
250
class Settings (BaseSettings ):
244
251
"""All settings."""
245
252
@@ -254,6 +261,7 @@ class Settings(BaseSettings):
254
261
storage : SettingsStorage = SettingsStorage () # has no required
255
262
rate_limiter : SettingsRateLimiter = SettingsRateLimiter () # has no required
256
263
accounting : SettingsAccounting = SettingsAccounting () # has no required
264
+ mcp : SettingsMCP = SettingsMCP () # has no required
257
265
258
266
model_config = SettingsConfigDict (
259
267
env_file = ".env" ,
You can’t perform that action at this time.
0 commit comments