feat: update config & deps

This commit is contained in:
Sun-ZhenXing
2025-07-14 15:14:38 +08:00
parent 7d9b5e0679
commit 43c7a970dd
10 changed files with 277 additions and 93 deletions

View File

@@ -0,0 +1,24 @@
from pydantic_settings import BaseSettings
from .app.math import mcp as math
MCP_MAP = {
"math": math,
}
class Settings(BaseSettings):
"""
Configuration settings for the MCP template application.
"""
default_mcp: str = "math"
default_host: str = "127.0.0.1"
default_port: int = 3001
class Config:
env_file = ".env"
env_file_encoding = "utf-8"
settings = Settings()