[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jana-mcp-server"
version = "0.1.0"
description = "MCP Server for Jana Environmental Data Platform"
readme = "README.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "Jana Team" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Atmospheric Science",
]
keywords = ["mcp", "environmental-data", "air-quality", "emissions"]
dependencies = [
"mcp>=1.0.0",
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"httpx>=0.26.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"sse-starlette>=2.0.0",
"python-dotenv>=1.0.0",
"slowapi>=0.1.9",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"ruff>=0.1.0",
"mypy>=1.8.0",
"httpx>=0.26.0",
]
[project.scripts]
jana-mcp = "jana_mcp.__main__:main"
[project.urls]
Homepage = "https://github.com/jana/jana-mcp-server"
Documentation = "https://github.com/jana/jana-mcp-server#readme"
Repository = "https://github.com/jana/jana-mcp-server"
[tool.hatch.build.targets.wheel]
packages = ["src/jana_mcp"]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"TRY", # tryceratops (exception handling)
"G", # flake8-logging-format
"ANN", # flake8-annotations
"BLE", # flake8-blind-except
"PLR", # pylint refactor
"SLF", # flake8-self
"SIM", # flake8-simplify
"RUF", # ruff-specific
]
ignore = [
"E501", # line too long (handled by formatter)
"ANN401", # Any types allowed for dynamic dicts
"COM812", # Trailing comma
"ISC001", # Implicit string concatenation
]
[tool.ruff.lint.isort]
known-first-party = ["jana_mcp"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_ignores = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "-v --tb=short"