[project] name = "njupt-mcp" version = "0.1.0" description = "南京邮电大学 (NJUPT) MCP 服务器 - 为 LLM 提供南邮相关功能" readme = "README.md" requires-python = ">=3.11" license = { text = "MIT" } authors = [ { name = "Your Name", email = "your.email@example.com" } ] keywords = ["mcp", "njupt", "llm", "tools", "南邮"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ "beautifulsoup4>=4.14.3", "fastapi>=0.135.2", "httpx>=0.27.0", "mcp[cli]>=1.7.0", "pydantic>=2.0", "python-dotenv>=1.2.2", "uvicorn>=0.42.0", ] [project.optional-dependencies] dev = [ "pytest>=8.0", "ruff>=0.6.0", ] [project.scripts] njupt-mcp = "njupt_mcp.server:main" [tool.ruff] target-version = "py311" line-length = 100 [tool.ruff.lint] select = ["E", "F", "I", "W", "UP", "B", "C4", "SIM"] ignore = ["E501"] [tool.ruff.format] quote-style = "double" indent-style = "space" [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] asyncio_mode = "auto" [dependency-groups] dev = [ "pytest-asyncio>=1.3.0", ]