[project]
name = "nytimes-mcp"
version = "0.1.0"
description = "A FastMCP server for The New York Times API."
readme = "README.md"
authors = [{ name = "Jeff Moore", email = "jeffreymm@protonmail.com" }]
requires-python = ">=3.13"
dependencies = [
"fastmcp>=2.0.0",
"httpx>=0.27.0",
"pydantic>=2.4.2,<3.0.0",
"pydantic-settings>=2.0.3",
"python-dotenv==1.0.0",
]
[project.scripts]
nytimes-mcp = "nytimes_mcp.server:main"
[build-system]
requires = ["uv_build>=0.9.17,<0.10.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"ipython>=9.8.0",
"prek>=0.2.22",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.14.9",
"ty>=0.0.1a34",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-v", "--strict-markers", "--strict-config", "--tb=short"]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ty.src]
include = ["src"]