This commit is contained in:
blazickjp
2024-12-03 19:49:11 -08:00
parent b8f0882a8e
commit d91584bea6
2 changed files with 5 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "arxiv-mcp-server"
version = "0.1.0"
version = "0.2.0"
description = "A flexible arXiv search and analysis service with MCP protocol support"
readme = "README.md"
requires-python = ">=3.11"

View File

@@ -3,14 +3,15 @@
from pathlib import Path
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
"""Server configuration settings."""
APP_NAME: str = "arxiv-mcp-server"
APP_VERSION: str = "0.1.0"
APP_VERSION: str = "0.2.0"
MAX_RESULTS: int = 50
BATCH_SIZE: int = 20
REQUEST_TIMEOUT: int = 30
STORAGE_PATH: str = str(Path.home() / ".arxiv-mcp-server" / "papers")
model_config = SettingsConfigDict(env_prefix="ARXIV_")
model_config = SettingsConfigDict(env_prefix="ARXIV_")